Configuring the Server
Creating a Payment
/payment/payments
Response handling
{
"paymentUrl": "https://<bank-url>/pay/b1fzc3ph9866zj4neyzrrq1f"
}
Node.js express
example
Setting Up a Webhook for Payment Response
/payment/webhook
{
"paymentId": "b1fzc3ph9866zj4neyzrrq1f",
"status": "SUCCESS",
"amount": 100000,
"reference": "example-ref",
"currency": "NGN",
"updatedAt": "2024-06-01T12:00:00Z"
}