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

Bulk Charge

Charge multiple payments from your customers

/payments/bulk-tokenize-charge

POST https://seerbitapi.com/api/v2/payments/bulk-tokenize-charge

This endpoint allows you to send an array of authorizationCode and amount so payments are charged in batches

Headers

Name
Type
Description

Authorization*

String

Request Body

Name
Type
Description

authorizationCode*

String

code to charge

paymentReference*

String

unique payment reference for charge

publicKey*

String

merchant publickey

amount*

String

amount you want to charge

curl --location 'https://seerbitapi.com/api/v2/payments/bulk-tokenize-charge' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ENCRYPTED_KEY' \
--data '
[
    {
        "publicKey": "publickKey",
        "amount": "11",
        "paymentReference": "reference",
        "authorizationCode": "authorizationCode"
    },
    {
        "publicKey": "publickKey",
        "amount": "11",
        "paymentReference": "reference",
        "authorizationCode": "authorizationCode"
    },
    {
        "publicKey": "publickKey",
        "amount": "11",
        "paymentReference": "reference",
        "authorizationCode": "authorizationCode"
    },
    {
        "publicKey": "publickKey",
        "amount": "11",
        "paymentReference": "reference",
        "authorizationCode": "authorizationCode"
    }
]'
{
    "code": "00",
    "message": "Successful",
    "payload": {
        "batchId": "d4wnvzc"
    }
}
PreviousCharge TokenNextQuery Bulk Charge with BacthId

Last updated 8 months ago

Bearer Token