Skip to content

Confirm Payment ​

📌 Fields ​

FieldSample DataTypeRequiredDescription
transactionId9f877739-bc25-4f0f-a13f-ec485fd04250string✅ YesTransaction ID returned from the previous request
otp123456string✅ Yes6-digit OTP sent to the cardholder

🔑 Request ​

Endpoint details

Method: POST
URL: BASE_URL/merchant/confirmPayment/
Header:

http
Authorization: Bearer <ACCESS_TOKEN>

Request Body:

json
{
  "transactionId": "42de5cf4-c744-44c0-9153-3fbd769ec042",
  "otp": "568068"
}

📥 Response ​

json
{
  "result": {
    "status": "success",
    "transactionId": "42de5cf4-c744-44c0-9153-3fbd769ec042"
  },
  "error": null
}