cURL
curl --request GET \ --url https://api.example.com/v2/ledger-accounts \ --header 'Authorization: Bearer <token>'
{ "data": [ { "created_at": "2023-11-07T05:31:56Z", "modified_at": "2023-11-07T05:31:56Z", "id": "<string>", "classification": "asset", "currency": "ADP", "current_balance": "<string>", "description": "<string>", "is_active": true, "is_direct_posting_enabled": true, "name": "<string>", "number": "<string>", "parent_account_id": "<string>", "remote_id": "<string>", "subtype": "<string>", "type": "<string>", "object": "<string>" } ], "current_page": 0, "total_records": 1, "next_page": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Page number, 0 indexed.
x >= 0
Number of records per page.
1 <= x <= 500
asset
equity
expense
liability
revenue
other
Successful Response
The list of records.
Show child attributes
The current page.
Total number of records.
The next page number, if one exists.