# paystack.BulkCharge All URIs are relative to *https://api.paystack.co* Method | HTTP request | Description ------------- | ------------- | ------------- [**charges**](BulkCharge.md#charges) | **GET** /bulkcharge/{code}/charges | Fetch Charges in a Batch [**fetch**](BulkCharge.md#fetch) | **GET** /bulkcharge/{code} | Fetch Bulk Charge Batch [**initiate**](BulkCharge.md#initiate) | **POST** /bulkcharge | Initiate Bulk Charge [**list**](BulkCharge.md#list) | **GET** /bulkcharge | List Bulk Charge Batches [**pause**](BulkCharge.md#pause) | **GET** /bulkcharge/pause/{code} | Pause Bulk Charge Batch [**resume**](BulkCharge.md#resume) | **GET** /bulkcharge/resume/{code} | Resume Bulk Charge Batch # **charges** > Response charges(code) Fetch Charges in a Batch ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint code = 'code_example' # str | Batch code # Fetch Charges in a Batch response = paystack.BulkCharge.charges(code) pprint(response) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **code** | **str**| Batch code | ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Request successful | - | **401** | Unauthorized operation | - | **404** | Entity not found | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **fetch** > Response fetch(code) Fetch Bulk Charge Batch ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint code = 'code_example' # str | Batch code # Fetch Bulk Charge Batch response = paystack.BulkCharge.fetch(code) pprint(response) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **code** | **str**| Batch code | ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Request successful | - | **401** | Unauthorized operation | - | **404** | Entity not found | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **initiate** > Response initiate() Initiate Bulk Charge ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint # Initiate Bulk Charge response = paystack.BulkCharge.initiate() pprint(response) ``` ### Parameters This endpoint does not need any parameter. ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: application/x-www-form-urlencoded, application/json - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Resource created | - | **401** | Unauthorized operation | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **list** > Response list(per_page=per_page, page=page, _from=_from, to=to) List Bulk Charge Batches ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint per_page = 56 # int | Number of records to fetch per page (optional) page = 56 # int | The section to retrieve (optional) _from = '2013-10-20T19:20:30+01:00' # datetime | The start date (optional) to = '2013-10-20T19:20:30+01:00' # datetime | The end date (optional) # List Bulk Charge Batches response = paystack.BulkCharge.list(per_page=per_page, page=page, _from=_from, to=to) pprint(response) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **per_page** | **int**| Number of records to fetch per page | [optional] **page** | **int**| The section to retrieve | [optional] **_from** | **datetime**| The start date | [optional] **to** | **datetime**| The end date | [optional] ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Request successful | - | **401** | Unauthorized operation | - | **404** | Entity not found | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **pause** > Response pause(code) Pause Bulk Charge Batch ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint code = 'code_example' # str | Batch code # Pause Bulk Charge Batch response = paystack.BulkCharge.pause(code) pprint(response) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **code** | **str**| Batch code | ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Request successful | - | **401** | Unauthorized operation | - | **404** | Entity not found | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **resume** > Response resume(code) Resume Bulk Charge Batch ### Example * Bearer Authentication (bearerAuth): ```python import paystack from paystack.rest import ApiException from pprint import pprint code = 'code_example' # str | Batch code # Resume Bulk Charge Batch response = paystack.BulkCharge.resume(code) pprint(response) ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **code** | **str**| Batch code | ### Return type [**Response**](Response.md) ### Authorization [bearerAuth](../README.md#bearerAuth) ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json ### HTTP response details | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Request successful | - | **401** | Unauthorized operation | - | **404** | Entity not found | - | **0** | Server error | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)