Facades: merchant
Overview
Retrieve entries for the ledger.
Parameters
| Parameter | Description |
|---|---|
| currency | The three digit currency string for the ledger to retrieve. |
| dateStart | The first date for the query filter. |
| dateEnd | The last date for the query filter. |
Example
Ledger ledger = bitpay.getLedger(Currency.USD, "2022-10-01", "2022-10-31");