OPay
CS Integration option
Payment
Info
This integration option supports only NGN currency.
Payment flow
- The customer initiates the Opay payment on the merchant's website.
- The merchant sends a payment request with
method.typeset toopay. - PaySage.io returns a URL for the Opay payment page.
- The merchant redirects the customer to the URL in
form.action. - The customer completes the payment and returns to the URL specified in
return_url. - PaySage.io sends a webhook notification when the payment is finalized. The merchant may also request the status using the status query.
Request
Send a payment request with the following parameters:
|
|||||||||||||||||||||||||||||
Request example
{
"request": {
"amount": 10000,
"currency": "NGN",
"description": "Order 1024",
"return_url": "https://merchant.example/return",
"method": {
"type": "opay"
},
"customer": {
"email": "customer@example.com",
"first_name": "Adaeze",
"last_name": "Okafor"
}
}
}
Response
Redirect the customer to the URL in form.action of the payment response.
Response example
{
"transaction": {
"uid": "9417e780-4aa8-408e-8122-9597fe0d9c73",
"type": "payment",
"status": "pending",
"amount": 10000,
"currency": "NGN",
"description": "Order 1024",
"created_at": "2026-11-03T15:43:29Z",
"updated_at": "2026-11-03T15:43:30Z",
"method_type": "opay",
"receipt_url": "https://backoffice.paysage.io/customer/transactions/9417e780-4aa8-408e-8122-9597fe0d9c73/56f2fe1c6210fd05cf3faafe89daf0d825ad9f44148da90e3f28838b295483c7",
"payment": {
"status": "pending",
"gateway_id": 7716,
"message": "Test Success"
},
"opay": {
"type": "opay",
"use_pending_page": true
},
"customer": {
"email": "customer@example.com",
"last_name": "Okafor",
"first_name": "Adaeze",
"ip": null
},
"manually_corrected_at": null,
"version": 1,
"message": "Test Success",
"test": false,
"billing_address": {
"email": "customer@example.com",
"last_name": "Okafor",
"first_name": "Adaeze"
},
"additional_data": {
"payment_method": {
"type": "alternative"
}
},
"smart_routing_verification": {
"status": "skipped"
},
"gateway": {
"iframe": false
},
"payment_method_type": "opay",
"form": {
"action": "link-to-payment-page",
"fields": [],
"method": "GET"
}
}
}