Calculate Repayment
Loans
Calculate Repayment
Preview the repayment breakdown for a given loan amount and tenure.
POST
Calculate Repayment
Overview
Returns a projected repayment schedule for a given loan amount, tenure, and state. Can be called at any point — no active application is required. Useful for showing customers a preview before they apply. All amounts are in kobo.Request
Method:POSTURL:
/v1/loans/calculate-repayment
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
x-carbon-key | Header | string | Yes | API key for authentication. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
loan_amount | number | Yes | Loan amount in kobo |
tenure | number | Yes | Repayment period in months (positive integer) |
state | string | Yes | Nigerian state name (affects rate) |
Response
200 OK
Error Responses
| Status | Message | Cause |
|---|---|---|
| 400 | loan_amount must be a number (in kobo) | Missing or invalid type |
| 400 | tenure must be a positive integer (months) | Invalid tenure |
| 400 | state is required | Missing state |
Authorizations
Provide your API key in the 'apikey' header.
Headers
Body
application/json
Provide the required values for the request body.
Response
200 - application/json
Successful response
The response is of type object.