Calculate loan total
Calculate loan total
GET /selling/api/loans/{id}/total
Calculate the total amount for a specific loan, including adjusted loan amount plus accrued interest. Use this to preview the purchase amount before executing a purchase.
Path parameters
Parameter | Type | Required | Description |
|---|---|---|---|
id | UUID | Yes | The unique loan identifier |
Response
200 OK - Returns LoanInfo object with calculated total
Example request
GET /selling/api/loans/3fa85f64-5717-4562-b3fc-2c963f66afa6/total
Use cases
- Pre-purchase validation: Verify expected purchase amount
- Cash flow planning: Calculate funds needed for upcoming purchases
Interest accrual monitoring: Track daily interest accumulation