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. Virtual Account

Get Payment

The code snippet below shows an example response to get payments

GET https://seerbitapi.com/api/v2/virtual-accounts/{{reference}}

curl --location 'https://seerbitapi.com/api/v2/virtual-accounts/YOUR_PUBLIC_KEKY/{{accountNumber}}' \
--header 'Authorization: Bearer YOUR_ENCRYPTION_KEY'
{
    "status": "SUCCESS",
    "data": {
        "code": "00",
        "payload": [
            {
                "id": 14705414,
                "fullName": "Customer Name",
                "publicKey": "YOUR_PUBLIC_KEY",
                "processor": "_9PAYMENT_SERVICE_BANK",
                "paymentType": "TRANSFER",
                "shopperReference": null,
                "amount": 100.0,
                "productId": null,
                "productDescription": null,
                "email": "customeremail@gmail.com",
                "quantity": null,
                "maskedPan": null,
                "gateway": "_9PAYMENT_SERVICE_BANK",
                "gatewayMessage": "Successful",
                "gatewayCode": "00",
                "transactionRef": "GT-01",
                "gatewayRef": "100004230627104826104793084015",
                "businessName": "Business Name",
                "fee": null,
                "mode": "LIVE",
                "callbackUrl": null,
                "redirectUrl": null,
                "channelType": "transfer",
                "paymentKey": null,
                "sourceIP": null,
                "deviceType": null,
                "clientAppCode": null,
                "cardBin": null,
                "lastFourDigits": null,
                "type": null,
                "linkingreference": null,
                "country": "NG",
                "currency": "NGN",
                "smsProvider": null,
                "customerId": null,
                "internalreference": "_SBT_N7N7EU523C",
                "accountNumber": "customer account number",
                "narration": null,
                "creditAccountName": "Seerbit(Tola Sambo)",
                "transferType": "RESERVE_ACCOUNT",
                "paymentReference": "GT-01_SBT_N7N7EU523C",
                "batchId": null,
                "sessionId": null,
                "bankName": "",
                "creditAccountNumber": "4015310501",
                "bankCode": null,
                "alternatePaymentReference": null,
                "settlementCode": "00",
                "settlementMessage": "Push Successful",
                "settlementTime": "2023-06-27 11:49:37",
                "orderStatusCode": null,
                "orderStatusMessage": null,
                "status": "PUSHED",
                "mobileNumber": "404",
                "dateOfBirth": null,
                "branchPhoneNumber": null,
                "transferedAmount": 100.0,
                "scheduleId": null,
                "isCardInternational": "LOCAL",
                "reason": "Successful",
                "retry": false,
                "metaData": null,
                "event": [],
                "order": [],
                "createdAt": "2023-06-27T10:49:28.000+0000",
                "updatedAt": "2023-06-27T10:49:28.000+0000",
                "cardName": null,
                "isNigeriancard": null,
                "cardCountry": null,
                "intCurrency": null,
                "rate": null,
                "inCardProcessingFee": null,
                "intAmountCharge": null,
                "processorCode": "00",
                "processorMessage": "Successful",
                "invoiceNumber": null,
                "billId": null,
                "locationPhoneNumber": null,
                "pocketReferenceId": null,
                "transferAccountType": "STATIC",
                "bearer": "MERCHANT",
                "transLink": null,
                "vendorId": null,
                "payLinkEnvironment": null,
                "payLinkStatus": null,
                "payLinkAmount": null,
                "payLinkAdditionalData": null,
                "payLinkName": null,
                "payLinkDescription": null,
                "payLinkRedirectUrl": null,
                "payLinkSuccessMessage": null,
                "paymentLinkId": null,
                "payLinkCustomizationName": null,
                "payLinkFrequency": null,
                "payLinkIsOneTimeUse": false,
                "terminalId": null,
                "stan": null,
                "transactionComplete": null,
                "cardExpiryMonth": null,
                "cardExpiryYear": null,
                "tokenize": false
            }
        ],
        "message": "successful"
    }
}
PreviousDelete Virtual AccountNextPay with Transfer

Last updated 9 months ago