> For the complete documentation index, see [llms.txt](https://apis.seerbit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.seerbit.com/api-endpoints/charge-token/bulk-charge.md).

# Bulk Charge

## /payments/bulk-tokenize-charge

<mark style="color:green;">`POST`</mark> `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<mark style="color:red;">\*</mark> | String | [Bearer Token](/authentication.md) |

#### Request Body

| Name                                                | Type   | Description                         |
| --------------------------------------------------- | ------ | ----------------------------------- |
| authorizationCode<mark style="color:red;">\*</mark> | String | code to charge                      |
| paymentReference<mark style="color:red;">\*</mark>  | String | unique payment reference for charge |
| publicKey<mark style="color:red;">\*</mark>         | String | merchant publickey                  |
| amount<mark style="color:red;">\*</mark>            | String | amount you want to charge           |

{% tabs %}
{% tab title="cURL" %}

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

{% endtab %}

{% tab title="200: OK Successful" %}

```javascript
{
    "code": "00",
    "message": "Successful",
    "payload": {
        "batchId": "d4wnvzc"
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://apis.seerbit.com/api-endpoints/charge-token/bulk-charge.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
