After the payment request has been sent, the expected successful payment response is similar to this.
Sample Response (success)
1 2 3 4 5 6 7 |
{ "paymentId": "66599", // Payment Identifier. "responseCode": "T0", // Response Code. "amount": "200.00", // Amount in Naira. "transactionRef": "ESBDEV10002", // Unique transaction reference number. "message": "Kindly enter the OTP sent to 234812***8436 and dadub************itch.com" // Response message. } |
Sample Response (Failure)
After the payment request has been sent, if there is any error during the request processing, expected failure response is similar to this.
1 2 3 4 5 6 7 8 9 |
{ "errors": [ { "code": "10409", // Error code. "message": "\"Payment already completed\"" // Error message. } ], "transactionRef": "ESBDEV10002" // A unique transaction reference number. } |
Sample Response (Requires OTP Enrollment)
After the payment request has been sent, but the card is not registered for otp, and otp auto-enrollment is supported, the response is similar to this.
1 2 3 4 5 6 |
{ "message": "Kindly enter the mobile no registered with your bank", // Response message. "responseCode": "M0", // Response Code for otp enrollment "paymentId": "3076959", // Payment Identifier. "transactionRef": "c470883b89dd433b998bed7aad63db9d" // Your transaction reference } |
However, kindly note this auto-enrollment has been triggered internally but failed. Kindly advise the cardholder to reach out to his/her bank for proper card profiling.