GET
/
v1
/
businesses
/
{businessId}
/
quickbooks
/
ledger
/
accounts
/
{accountId}
curl --request GET \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/quickbooks/ledger/accounts/{accountId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "stable_name": {
    "type": "AccountId",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  },
  "normality": "CREDIT",
  "account_type": {
    "value": "ASSET",
    "display_name": "Asset"
  },
  "account_subtype": {
    "value": "CURRENT",
    "display_name": "Current Assets"
  },
  "balance": 123,
  "local_ledger_account": {
    "id": {
      "type": "AccountId",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    },
    "name": "Current Assets",
    "stable_name": {
      "type": "StableName",
      "stable_name": "CURRENT_ASSETS"
    },
    "normality": "CREDIT",
    "account_type": {
      "value": "ASSET",
      "display_name": "Asset"
    },
    "account_subtype": {
      "value": "CURRENT",
      "display_name": "Current Assets"
    }
  },
  "child_accounts": [
    {}
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

businessId
string
required

The UUID of the business to fetch Quickbooks account for.

accountId
string
required

The UUID of the Quickbooks account to fetch.

Response

200
application/json

The response is of type object.