GET
/
v1
/
businesses
/
{business_id}
/
ledger
/
accounts
/
{account_id}
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/ledger/accounts/e33a4b0d-8da6-4b2f-b9f9-17bbbeab9efe \
  -H "Authorization: Bearer <access_token>"
{
    "data": {
        "type": "Single_Chart_Account",
        "id": "6ac7e685-4859-43a0-9f26-61e57c31f4ea",
        "name": "Expenses",
        "stable_name": "EXPENSES",
        "normality": "DEBIT",
        "account_type": {
            "value": "EXPENSE",
            "display_name": "Expenses"
        },
        "account_subtype": null
    }
}

Path Parameters

business_id
string
required

ID of the Business the Ledger Account is associated with.

account_id
string
required

ID of the Ledger Account.

Response

Returns the retrieved Ledger Account

{
    "data": {
        "type": "Single_Chart_Account",
        "id": "6ac7e685-4859-43a0-9f26-61e57c31f4ea",
        "name": "Expenses",
        "stable_name": "EXPENSES",
        "normality": "DEBIT",
        "account_type": {
            "value": "EXPENSE",
            "display_name": "Expenses"
        },
        "account_subtype": null
    }
}
curl https://sandbox.layerfi.com/v1/businesses/863ed926-e30d-40f4-8e7e-b0d5387ce4fb/ledger/accounts/e33a4b0d-8da6-4b2f-b9f9-17bbbeab9efe \
  -H "Authorization: Bearer <access_token>"