Skip to main content
This endpoint is used to submit a loan payment against an active loan. It is typically invoked by the borrower or an authorized repayment agent to pay a scheduled installment or make a partial payment as per the loan agreement.

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: