Retrieve Ledger Entries

Facades: merchant

Overview

Retrieve a list of ledgers by date range using the merchant facade.

Parameters

ParameterDescription
currency *The three digit currency string for the ledger to retrieve
start_date *The first date for the query filter
end_date *The last date for the query filter

Example

📘

Note

In this example, we assume that a Client has already been initialized and assigned to the bitpay variable.

bitpay.get_ledger_entries('USD', '2023-08-14', '2023-08-22')