OtpRequired. A wrong OTP returns 400 code 26 and the charge stays OtpRequired. A charge that is already final returns its outcome instead of an error. A confirmed approval returns Successful and books the collection.| code | HTTP | message | when |
|---|---|---|---|
| 26 | 400 | OTP could not be validated | Wrong OTP. Collect it again or resend. |
| 70 | 400 | The processor’s decline message | Processor failed the charge. |
curl --location 'https://merchantapi-dev.vantpay.io/api/v1/cards/transactions//otp' \
--header 'X-Timestamp: {{timestamp}}' \
--header 'X-Signature-Version: 2' \
--header 'X-Signature: {{signature}}' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"otp": "123456"
}'{
"isSuccessful": true,
"code": "00",
"message": "Operation successful",
"data": {
"transactionReference": "ORDER-2026-11-08-0001",
"reference": "CT5A3B9C1D2E4F60718293",
"cardToken": "3f9a1c2e7b4d4e8f9a0b1c2d3e4f5a6b",
"maskedPan": "539983******1238",
"customerId": "CUSdaa52de",
"amount": 2500,
"fee": 37.5,
"status": "Successful",
"requiresOtp": false,
"message": "Approved",
"providerStatusCode": "00",
"narration": "Monthly subscription",
"createdAt": "2026-11-08T10:20:01",
"completedAt": "2026-11-08T10:20:03"
}
}