latestOpenAPI 3.0.02026-08-133383136.3 KB

fc4f4dd68f9b

Payment

Make payment

post/v1/payments/loan/make-payment

Headers

accept-languagestring

Language of the response, supported languages: en-us, in

idempotency-keystring

Idempotency Key for retries

Request body

loanIdstring required

Loan Id, for which you want to make payment

paymentAmountnumber required

Payment Amount.

  • Support decimal values as well.
paymentTypeIdnumber required

We have 3 types of payments.

For payment via bank transfer: 1

For payment using UEN number: 2

For payment using QR code: 3

paymentReferenceNostring

Payment reference number.

Example request

{
  "loanId": "c3eb1619-ff24-4773-97d8-b05264621e60",
  "paymentAmount": 1000,
  "paymentTypeId": 1,
  "paymentReferenceNo": "asd123"
}

Response

Loan Payment done and verify Successfully

statusCodenumber required

The HTTP status code of the error

messagestring required

Human-readable message containing all available details about the operation

successboolean required

A boolean indicating whether this was a success response or an error response

Example response

{
  "data": {
    "paymentMethod": "Bank Transfer/UEN Payment/QR Code Payment"
  }
}