cURL
curl --request GET \ --url https://api.sandbox.getasset.com/v0/business/{business_id}/reports/ledger-statement/{ledger_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "start_datetime": "2023-11-07T05:31:56Z", "end_datetime": "2023-11-07T05:31:56Z", "balances": { "all_time_balance": 123, "range_balance": 123 }, "entries": [ { "id": "<string>", "business_id": "<string>", "transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo", "datetime": "2023-11-07T05:31:56Z", "description": "<string>", "clean_description": "Walmart purchase", "line_entries": [ { "ledger_id": "<string>", "description": "<string>", "debit_credit": "debit", "amount": 123, "id": "<string>", "journal_entry_id": "<string>", "transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo" } ] } ], "pagination": { "next_page_token": "<string>", "previous_page_token": "<string>" }, "ledger_id": "<string>" } }
The access token received from the authorization server in the OAuth 2.0 flow.
The ID of the Business
The ID of the Ledger
The start date (inclusive) in ISO-8601 format.
The end date (inclusive) in ISO-8601 format.
1 <= x <= 100
Successful Response
Show child attributes