API
  • Introduction
  • Authentication
  • Error Handling
  • API ENDPOINTS
    • Payment
    • Invoices
      • Create Invoice
      • Re-send Invoice
      • Get Invoice - customerEmail
      • Get Invoice - invoiceNo
      • Get Invoice - orderNo
    • Payment Link
      • Create Link
      • Get Link
      • Update Link
      • Delete Link
    • Charge Token
      • Create Token
      • Get Token
      • Charge Token
      • Bulk Charge
      • Query Bulk Charge with BacthId
    • Subscriptions
      • Create Subscription
      • Charge Subscription
      • Get Customer Subscription
      • Update Customer Subscription
      • Get Merchant Subscription
    • Virtual Account
      • Create Virtual Account
      • Get Virtual Account
      • Delete Virtual Account
      • Get Payment
    • Pay with Transfer
    • Pay with USSD
    • Mobile Money Payments
    • Bank Account Payments
    • Card Payment
      • Initializing a Card Payment
      • Scenario 1 (Verve Card Type)
      • Scenario 2 (Master Card and Visa Card Type)
      • Scenario 3
Powered by GitBook
On this page
  1. API ENDPOINTS
  2. Charge Token

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

Authorization*

String

{
    "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"
        }
    }
}
PreviousCreate TokenNextCharge Token

Last updated 9 months ago

Bearer Token