Skip to main content
GET
/
v1
/
businesses
/
{businessId}
/
categories
Fetch transaction categories
curl --request GET \
  --url https://sandbox.layerfi.com/v1/businesses/{businessId}/categories \
  --header 'Authorization: Bearer <token>'
{
  "type": "Category_List",
  "categories": [
    {
      "type": "AccountNested",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "stable_name": "EXPENSES",
      "display_name": "Expenses",
      "subCategories": [
        {}
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Headers

Content-Type
string

Path Parameters

businessId
string
required

Response

200 - application/json
type
string
Example:
categories
(AccountNested · object | OptionalAccountNested · object | ExclusionNested · object)[]
  • AccountNested
  • OptionalAccountNested
  • ExclusionNested