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
NoteIn this example, we assume that a Client has already been initialized and assigned to the
bitpayvariable.
bitpay.get_settlements('USD', '2023-08-14', '2023-08-22')