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"
    }
]'

Last updated