This endpoint retrieves the charges associated with a specified batch code. Pagination parameters are available. You can also filter by status. Charge statuses can be pending, success or failed.
1 | fetch_charges_in_batch(authorization, batch_id, ...)
|
authorization |
set_keys("", "SECRET_KEY")$secret, equivalent of "-H Authorization: Bearer SECRET_kEY" |
batch_id |
string. REQUIRED An ID or code for the batch whose details you want to retrieve. |
... |
Body Params |
status |
string. pending, success or failed |
perPage |
int32. |
page |
int32. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.