Retrieve Ledger Entries

Facades: merchant

Overview

Retrieve entries for the ledger.

Parameters

ParameterDescription
currencyThe three digit currency string for the ledger to retrieve.
dateStartThe first date for the query filter.
dateEndThe last date for the query filter.

Example

Ledger ledger = bitpay.getLedger(Currency.USD, "2022-10-01", "2022-10-31");