fetch_charges_in_batch: Fetch Charges in Batch

Description Usage Arguments

Description

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.

Usage

1
fetch_charges_in_batch(authorization, batch_id, ...)

Arguments

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.


ebinabo/paystack documentation built on May 16, 2019, 8:16 p.m.