Check transaction status

This Operation allows merchant to check the status of a transaction.
Authentication
Response
Authentication
curl -X GET \
https://seerbitapi.com/api/v2/payments/query/{paymentReference}
-H 'Authorization: Bearer {token}
Response
{
"status": "SUCCESS",
"data": {
"code": "00",
"payments": {
"redirectLink": "http://checkout-seerbit.surge.sh",
"amount": "100.00",
"email": "johndoe@gmail.com",
"mobilenumber": "08033456599",
"publicKey": "merchant public key",
"paymentType": "CARD",
"productId": "Foods",
"productDescription": "RASPBERRY",
"maskedPan": "5123-45xx-xxxx-0008",
"gatewayMessage": " APPROVED",
"gatewayCode": "00",
"gatewayref": "F602334371587044536564",
"mode": "test",
"callbackurl": "http://checkout-seerbit.surge.sh",
"redirecturl": "http://checkout-seerbit.surge.sh",
"channelType": "Mastercard",
"sourceIP": "127.0.0.1:3456",
"deviceType": "Apple Laptop",
"cardBin": "512345",
"lastFourDigits": "0008",
"type": "3DSECURE",
"country": "NG",
"currency": "NGN",
"paymentReference": "2FURTHERTEST1235678129",
"processorCode": "00",
"processorMessage": "Successful",
"reason": "Successful"
},
"customers": {
"customerName": "John Doe",
"customerMobile": "08033456599",
"customerEmail": "johndoe@gmail.com",
"customerId":"SBT123456789009876",
"fee":"1.05"
},
"message": " APPROVED"
}
}

This operation is a GET request, no request body is required. Note: append the value of the Transaction reference to the endpoint to fetch status.