Record a repayment
Repayments
Record a repayment
Post a regular installment repayment.
POST
Record a repayment
Records a standard repayment against an active loan. The amount is allocated to interest then principal according to the loan’s processing rules. Two equivalent forms — prefer the externalId form for partner integrations.Documentation Index
Fetch the complete documentation index at: https://docs.lms.bsa.ai/llms.txt
Use this file to discover all available pages before exploring further.
Path parameters
The loan’s externalId. On the
/v1/loans/{loan_id}/repayments form,
this is the numeric LMS id instead.Request body
Must be greater than 0.
Examples
Response
200 OK returns the repayment object showing
how the amount was allocated.
Errors
| Code | When |
|---|---|
not_found | No loan with that id or externalId |
failed_precondition | Loan is not in an active state |
invalid_argument | Missing or non-positive transactionAmount |

