Get Token
Fetch details of transaction a transaction to get the authorizationCode for future charges
/payments/query/{{paymentReference}}
GET
https://seerbitapi.com/api/v3/payments/query/{{paymentReference}}
This endpoint allows you fetch transaction details to get authorizationCode
Path Parameters
Name
Type
Description
paymentReference*
String
This is the unique identifier for a transaction, to be generated by merchant.
Headers
Name
Type
Description
{
"status": "SUCCESS",
"data": {
"code": "00",
"message": "Successful",
"payments": {
"amount": 50,
"mobilenumber": "08387522256",
"publicKey": "{{publicKey}}",
"paymentType": "CARD",
"maskedPan": "5123-40xx-xxxx-0008",
"gatewayMessage": "Successful",
"gatewayCode": "00",
"gatewayref": "SEERBIT674774783883",
"businessName": "Green Technological Concepts",
"mode": "live",
"channelType": "MASTERCARD",
"cardBin": "5123",
"lastFourDigits": "0008",
"country": "NG",
"currency": "NGN",
"paymentReference": "{{paymentReference}}",
"transactionProcessTime": "2022-08-25 08:57:45.634",
"reason": "Successful",
"authorizationCode": "6636373737222"
},
"customers": {
"customerId": "SBT56736733yye663737",
"customerName": "Jane Smith",
"customerMobile": "08387522256",
"customerEmail": "[email protected]"
}
}
}
Last updated