Note
Payment with Card (No OTP) Response will not contain a payment token that can be used for later transactions. Purchase response will only contain a payment token when full authentication has been done on the card payment (with OTP).
Sample Response (success)
After the payment request has been sent, the expected successful payment response is similar to this.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
{ "transactionRef": "AVA-1607934648-NoOTP", // unique transaction reference number. "message": "Approved by Financial Institution", // Success response message. "transactionIdentifier": "IBTC|API|MX187|14-12-2020|949928|763511", // Transaction unique identifier. "amount": "333.22", // Amount in Naira. "responseCode": "00" // Response Code } |
Sample Responses (Failure)
1 2 3 4 5 6 7 8 9 |
{ "errors": [ { "code": "Z1", // Error code. "message": "Transaction Error" // Error message. } ], "transactionRef": "JB-1504003950-OTPPurchase" // A unique transaction transaction number } |
1 2 3 4 5 6 7 8 9 |
{ "errors": [ { "code": "51", // Error code. "message": "Insufficient Funds" // Error message. } ], "transactionRef": "JB-1504003902-OTPPurchase" // A unique transaction transaction number } |
1 2 3 4 5 6 7 8 9 |
{ "errors": [ { "code": "10409", // Error code. "message": "\"Payment already completed\"" // Error message. } ], "transactionRef": "ESBDEV10000" // A unique transaction reference number. } |