API Overview
Authentication
Journal Entry
Ledger
Reports
Transaction
Ledger
Retrieve a Ledger
GET
/
v0
/
business
/
{business_id}
/
ledger
/
{ledger_id}
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",
"financial_account_type": "bank_account",
"debit_credit": "debit",
"sort_code": "<string>",
"editable": true,
"report_cash_flow": true,
"parent_id": "<string>",
"id": "<string>",
"business_id": "<string>"
}
}
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Response
200
application/json
Successful Response
The response is of type object
.
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",
"financial_account_type": "bank_account",
"debit_credit": "debit",
"sort_code": "<string>",
"editable": true,
"report_cash_flow": true,
"parent_id": "<string>",
"id": "<string>",
"business_id": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.