Transactions often require 2FA. To accept payment with a Card that requires One Time Password (OTP) use this endpoint to make your request.
1 |
POST /api/v3/purchases |
Sample Request
To make payment with One time password, set up your payment request like this (similar to normal purchase without OTP).
1 2 3 4 5 6 7 8 9 10 |
{ "customerId": "1407002510", // Email, mobile number, BVN etc to uniquely identify the customer. "amount": "200", // Amount in Naira. "transactionRef": "ESBDEV10002", // Unique transaction reference number. "currency":"NGN", // ISO Currency Code. "authData":"Lisy0gf1qwSgAOR4xNS5jkiLFSh0C6dYqyzQhxopAVHaG0DqTaB8yHYGPfYBAg2ZShyGp2YJRzLsxpquvRuUZe6IO7h V+DDG1fsfx6bzLL7i6c/UFcw/T+QrsNOUgLjSqqlRNkMFmn1XN3CT0PtYEMwExE38cFHjZN8dX2xZOKhwFJ9CJOs2VXeXCvfExxyZ5k 3q+8dSxyHjYKrP3qfrjxhw7NFgEIvuo2xDlUTP6DLe8C/Z7QrBO3ggF7fo7Uz8t/vTcY7HvWmfX2UfiT7T5rzbOw24ahPZ8/tQg1dvp siO81Qaw/lS+8P+GigkNO5+GeTpRjo+CO+n656zrwU8MQ==" // Authentication Data. } |