OPay as a Service
Get the OPay request and its transaction
Supply exactly one of reference and source_reference. Scoped to this business and credential state. Returns the OPay request with transaction set to null until a successful inflow has been resolved. A browser redirect is not proof of payment.
Authorization
BearerAuth AuthorizationBearer <token>
In: header
Query Parameters
reference?string
Atlas OPay reference. Supply this or source_reference.
Length
length <= 64source_reference?string
Merchant reference. Supply this or reference.
Length
length <= 250Response Body
application/json
curl -X GET "https://example.com/api/v1/opaas/status"{
"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
Empty
How is this guide?
Last updated on