A repayment is a transaction posted against an active loan. The API exposes LMS’s transaction surface: regular repayments, interest waivers, recoveries, refunds, and adjustments or reversals of existing transactions. All repayment endpoints are nested under a loan:Documentation Index
Fetch the complete documentation index at: https://docs.api.bsa.ai/llms.txt
Use this file to discover all available pages before exploring further.
/v1/loans/{loan_id}/repayments/....
The repayment object
Unique transaction identifier.
The loan this transaction belongs to.
Transaction type label. Common values:
Repayment, Foreclosure,
Waive Interest, Recovery Repayment, Refund, Charge-off.ISO-8601
YYYY-MM-DD. Date the transaction was effective.Total transaction amount.
Portion of the amount applied to principal.
Portion applied to interest.
Portion applied to fees.
Portion applied to penalties.
Overpayment amount (if the transaction exceeded the outstanding balance).
Whether this transaction has been manually reversed.
Optional client-assigned correlation ID.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/loans/{loan_id}/repayments | Repay — installment or partial prepayment |
| POST | /v1/loans/{loan_id}/repayments/waive-interest | Waive interest currently due |
| POST | /v1/loans/{loan_id}/repayments/recover | Recover — recovery payment on a written-off loan |
| POST | /v1/loans/{loan_id}/repayments/refund | Refund — refund-by-cash |
| POST | /v1/loans/{loan_id}/repayments/charge-off | Charge off the loan |
| GET | /v1/loans/{loan_id}/repayments/{transaction_id} | Get a transaction |
| POST | /v1/loans/{loan_id}/repayments/{transaction_id}/adjust | Adjust an existing transaction |
| POST | /v1/loans/{loan_id}/repayments/{transaction_id}/reverse | Reverse a transaction |
Common request body
Endpoints that create a new transaction (repay, waive-interest, recover, refund, charge-off) share the same request body shape:ISO-8601
YYYY-MM-DD.Must be greater than 0.
Optional. LMS payment-type code (cash, bank transfer, etc.).
Optional free-text note.
Optional client-assigned correlation ID for idempotency.

