What it does
- Records a loan payment against the specified loan
- Reduces the outstanding principal and/or interest
- Logs the payment on-chain for transparency and audit purposes
When to use it
- On or before a scheduled installment due date
- For manual or automated loan payment processing
- When reconciling payments through third-party systems or channels
Request Body
The request body must include the following fields:-
loanId: The unique identifier of the loan being repaid. -
amount: The repayment amount. -
refId: A client-defined reference ID used for internal tracking, audit, or reconciliation.
Response
- Returns a success confirmation along with the blockchain transaction hash: