Add Loan Repayment Data to a Client
Last updated
Last updated
PUT
/v1/api/clients/loans
This endpoint adds loan repayment data to a client
Headers
Name | Value |
---|---|
Body
Name | Type | Description |
---|---|---|
Response
Content-Type
application/json
x-api-key
Business Secret Key
clientId
String
The client ID (optional, required if externalClientId is not provided).
externalClientId
String
The external client ID (optional, required if clientId is not provided).
loanReferenceId
String
The loan reference ID (required).
applicationDate
String
The application date (format: YYYY-MM-DD, required).
dateLoanWasGranted
String
The date the loan was granted (format: YYYY-MM-DD, optional).
applicationStatus
String
The application status (valid values: "approved", "rejected", "pending", "in_review", required).
amount
Number
The loan amount (required).
currency
String
The currency (3-letter code, required).
tenure
Object
The loan tenure (required).
value
Number
The tenure value (required)
interval
String
The tenure interval (valid values: "days", "weeks", "months", required).
totalInstallments
Number
The total number of installments (required).
installmentRepayments
Object[]
The installment repayments array (required).
dueDate
String
The due date of the installment (format: YYYY-MM-DD, required).
datePaid
String
The date the installment was paid (format: YYYY-MM-DD, required).
amountDue
Object
The amount due for the installment (required).
amount
Number
The amount due (required).
currency
String
The currency of the amount due (3-letter code, required).
amountPaid
Object
The amount paid for the installment (required).
amount
Number
The amount paid (required).
currency
String
The currency of the amount paid (3-letter code, required).
status
String
The status of the installment repayment (valid values: "fully_paid", "not_paid", "incomplete_payment","paid_early", "paid_late", required).
loanRepaymentStatus
String
The loan repayment status (valid values: "settled", "not_settled", "in_progress","settled_early", "settled_late", required).
dateLastInstallmentIsDue
String
The date the last installment is due (format: YYYY-MM-DD, required).
dateLoanIsSettled
String
The date the loan is settled (format: YYYY-MM-DD, optional, can be null).