Get Token

Fetch details of transaction a transaction to get the authorizationCode for future charges

/payments/query/{{paymentReference}}

GET https://seerbitapi.com/api/v2/payments/query/{{paymentReference}}

This endpoint allows you fetch transaction details to get authorizationCode

Path Parameters

Headers

{
    "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": "seerbit@emaildomain.com"
        }
    }
}

Last updated