# Query Bulk Charge with BacthId

## /payments/bulk-tokenize-charge

<mark style="color:green;">`GET`</mark> `https://seerbitapi.com/api/v2/payments/bulk-tokenize-charge-search?batchId={{batchId}}`

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                                |
| batchId<mark style="color:red;">\*</mark>           | String | unique Id to retrieve batched tokenize-charge |
| publicKey<mark style="color:red;">\*</mark>         | String | merchant publickey                            |

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

```javascript
{
    "code": "00",
    "message": "Successful",
    "payload": {
        "content": [
            {
                "id": 7,
                "authorizationCode": "authocode",
                "statusCode": "00",
                "message": "Successful",
                "createdAt": "2022-10-12T09:58:40.102",
                "updatedAt": "2022-10-12T09:58:40.102",
                "batchId": "k2auyutyr",
                "currency": "NGN",
                "cardBin": "5123400",
                "cardLastFourDigits": "0739",
                "cardType": "VISA",
                "amount": "10.00"
            },
            {
                "id": 8,
                "authorizationCode": "authocode",
                "statusCode": "00",
                "message": "Successful",
                "createdAt": "2022-10-12T09:58:46.443",
                "updatedAt": "2022-10-12T09:58:46.443",
                "batchId": "kuiuyu",
                "currency": "NGN",
                "cardBin": "5123400",
                "cardLastFourDigits": "0008",
                "cardType": "VISA",
                "amount": "15.00"
            }
        ],
        "pageable": {
            "sort": {
                "sorted": true,
                "unsorted": false,
                "empty": false
            },
            "pageNumber": 0,
            "pageSize": 10,
            "offset": 0,
            "paged": true,
            "unpaged": false
        },
        "last": true,
        "totalElements": 2,
        "totalPages": 1,
        "sort": {
            "sorted": true,
            "unsorted": false,
            "empty": false
        },
        "first": true,
        "numberOfElements": 2,
        "size": 10,
        "number": 0,
        "empty": false
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: 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/query-bulk-charge-with-bacthid.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.
