cURL
curl --request GET \ --url https://api.sandbox.getasset.com/v0/business/{business_id}/ledger/{ledger_id} \ --header 'Authorization: Bearer <token>'
{ "data": { "name": "<string>", "type": "asset", "subtype": "current_asset", "debit_credit": "debit", "report_cash_flow": true, "id": "<string>", "business_id": "<string>", "description": "Business checking account", "financial_account_type": "bank_account", "sort_code": "1010", "parent_id": "ldg_KtY7p9fsM4pB58SYNar7cv" } }
The access token received from the authorization server in the OAuth 2.0 flow.
The id of the business
"biz_GA6EG2qFxA97NZHtxeLPUy"
The id of the ledger
"ldg_WQMDNUHpBThYSNh4AprDBo"
Successful Response
Show child attributes