Returns each category, with its subcategories, that has transactions across the case's accounts or the ones given, with a count at both levels and the account ids used; optional date range. On a case shared with opposing counsel, only accounts the caller may see are counted. Returns 403 while the monthly category summary feature is turned off.
Query parameters
-
Restrict the lookup to these FinancialAccount IDs (all must belong to the case). Omit to include every linked account in the case. Accepts a repeated query param or a comma-separated list.
-
Only consider transactions from this date (inclusive). Format: YYYY-MM-DD.
-
Only consider transactions up to this date (inclusive). Format: YYYY-MM-DD.
GET
/financial-data/case/{caseId}/transactions/categories
curl \
--request GET 'http://api.example.com/financial-data/case/{caseId}/transactions/categories' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"categories": [
{
"category": "FOOD_AND_DRINK",
"transactionCount": 37,
"subcategories": [
{
"subcategory": "FOOD_AND_DRINK_RESTAURANT",
"transactionCount": 12
}
]
}
],
"accountIds": [
"507f1f77bcf86cd799439011"
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}