To accept payment with Token without One Time Password (OTP) use this end point to make your request (same endpoint for normal purchase)
1 |
POST /api/v3/purchases |
Sample Request
To make payment with token, set up your payment request like this.
1 2 3 4 5 6 7 8 9 10 |
{ "customerId": "1407002510", // Email, mobile number, BVN etc to uniquely identify the customer. "amount": "100", // Amount in Naira. "transactionRef": "ESBDEV10001", // Unique transaction reference number. "currency":"NGN", // ISO Currency Code. "authData":"OcjtrW9m1NXZXSS17GVJeerPz2PAtDtJerTobtO6FuRf9gcfOWUzCvql5rJzpRQsjfOq0UbcwMAH92F/RdcGv0sxlfHQy3eA 2dhO6t7V79FtJ+E1pIbeKNjbH+NFSdXwx5BBKR33DPA+NI3m9fWNSYchpAPzeQ/QmqMuR1FPhf6fFQxLPj6oZnVIABbA0++s1hQsqc00bpW DpkyIjNCJPMfatVxELUH1G27g0HNJRGZSVZC8yS8qR9ewCnpPzU1ABc2pQSXTtECNqai/lXcQe3in7HnwRXmOUIMT+3F5cQwEnNcCGl90v2 6p9fhuzy0hBNzlsSr7c20xih935sAqMg==" // Authentication Data. } |