Facades: merchant
Overview
Get settlements filtered by query parameters.
Parameters
Parameter | Description |
---|---|
currency | The three digit currency string for the ledger to retrieve |
date_start | The start date for the query |
date_end | The end date for the query |
status | Can be processing , completed , or failed |
limit | Maximum number of settlements to retrieve |
offset | Offset for paging |
Example
Note
In this example, we assume that a Client has already been initialized and assigned to the
bitpay
variable.
bitpay.get_settlements('USD', '2023-08-14', '2023-08-22')