OPay as a Service
Get an OPay payment request
Accepts the Atlas reference only. Scoped to the authenticated business and credential state. Confirm payment through the status endpoint or signed webhook; browser return is not proof of payment.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Path Parameters
reference*string
Atlas reference.
Response Body
application/json
curl -X GET "https://example.com/api/v1/opaas/string"{
"requestId": "string",
"requestTimestamp": "string",
"message": "string",
"statusCode": 0,
"data": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"businessState": "string",
"reference": "OPA_A1B2C3D4",
"sourceReference": "order-123",
"status": "provisioning",
"cashierUrl": "http://example.com",
"merchantRedirectUrl": "http://example.com",
"merchantCancelUrl": "http://example.com",
"feeBearer": "MERCHANT",
"opayOrderNo": "string",
"amount": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"fee": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"total": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"currency": "NGN",
"expiresAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"metadata": {},
"customer": {},
"transaction": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"type": "credit",
"sourceReference": "string",
"parentTransactionReference": "string",
"reference": "TRN_123",
"status": "successful",
"amount": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"balanceBefore": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"balanceAfter": {
"value": 1000,
"currency": "NGN",
"formatted": "NGN1000"
},
"createdAt": "22/10/2026 05:00pm",
"fee": [
{}
],
"customer": {},
"paymentLink": {}
}
}
}Empty
Empty
How is this guide?
Last updated on