curl --location --globoff '{{system_user_url}}/payroll/loans/update/1' \
--header 'x-api-key: {{x-api-key}}' \
--header 'x-secret-key: {{x-secret-key}}' \
--header 'Authorization: Bearer <token>' \
--form 'user_id="15"' \
--form 'loan_type="personal_loan"' \
--form 'amount="10000"' \
--form 'monthly_deduction="1500"' \
--form 'total_installments="7"' \
--form 'start_date="2026-08-01"' \
--form 'end_date="2027-03-01"' \
--form 'reason="Updated repayment plan"' \
--form 'notes="Deduction increased"'