A loan is an extension of credit to a customer. Loans move through a strict lifecycle: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.
| Forward | Reversal |
|---|---|
| Submit | Reject / Withdraw |
| Approve | Undo approval |
| Disburse | Undo disbursal |
| (any) | Write off the outstanding balance |
The loan object
Unique loan identifier.
The customer this loan belongs to.
The product template this loan was created from. See
Loan products.
Lifecycle status. Common values:
Submitted and pending approval,
Approved, Active, Closed (obligations met),
Closed (written off).Requested principal amount.
Approved principal (may differ from requested). Present after approval.
ISO-4217 currency code, e.g.
TZS, USD.Loan term in units of frequency type.
How many installments the loan is scheduled across.
Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/loans | Submit a new application |
| GET | /v1/loans | List loans (paginated, filterable by customer) |
| GET | /v1/loans/{loan_id} | Get one |
| PUT | /v1/loans/{loan_id} | Update a pending application |
| DELETE | /v1/loans/{loan_id} | Delete (pending only) |
| POST | /v1/loans/{loan_id}/approve | Approve |
| POST | /v1/loans/{loan_id}/undo-approval | Undo approval |
| POST | /v1/loans/{loan_id}/reject | Reject |
| POST | /v1/loans/{loan_id}/withdraw | Withdraw by the applicant |
| POST | /v1/loans/{loan_id}/disburse | Disburse |
| POST | /v1/loans/{loan_id}/undo-disbursal | Undo disbursal |
| POST | /v1/loans/{loan_id}/writeoff | Write off |

