Check Transaction Status
This Operation allows merchant to check the status of a transaction.
This Operation allows you to check the status of a transaction via the status check api. This is done by making a Get request to the endpoint below with your payment reference.
curl -X GET \
https://seerbitapi.com/api/v3/payments/query/{paymentReference}
-H 'Authorization: Bearer {token}{
"status": "SUCCESS",
"data": {
"code": "00",
"message": "Successful",
"payments": {
"redirectLink": "https://checkout.seerbitapi.com/#/",
"amount": 10.15,
"fee": "0.15",
"mobilenumber": "404",
"publicKey": "MERCHANT_PUBLIC_KEY",
"paymentType": "CARD",
"productId": "",
"productDescription": "Goods and services",
"maskedPan": "4187-45XX-XXXX-3456",
"gatewayMessage": "Successful",
"gatewayCode": "00",
"gatewayref": "SEERBIT1303494716633",
"businessName": "Test Business",
"mode": "live",
"callbackurl": "https://seerbit.com",
"redirecturl": "https://checkout.seerbitapi.com/#/",
"channelType": "VISA",
"sourceIP": "",
"deviceType": "Desktop",
"cardBin": "418745",
"lastFourDigits": "3456",
"country": "NG",
"currency": "NGN",
"paymentReference": "TestReference",
"paymentBreakdown": {
"amount": 10.00,
"fee": 0.15,
"total": 10.15
},
"reason": "Successful",
"transactionProcessedTime": "2024-12-06 15:18:36.404709127"
},
"customers": {
"customerId": "SBTb77e16b073ea491",
"customerName": "John Doe",
"customerMobile": "404",
"customerEmail": "[email protected]",
"fee": "0.15"
}
}
}