Returns debit and credit totals and counts per category for each month, across all the case's accounts or the ones given, with optional category and date filters. 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 aggregation 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.
-
Filter by one or more categories (case-insensitive partial match on categoryPrimary; matches any of them). Accepts a repeated query param or a comma-separated list. If omitted, every category is returned per month.
-
Include transactions from this date (inclusive). Format: YYYY-MM-DD.
-
Include transactions up to this date (inclusive). Format: YYYY-MM-DD.
-
Category granularity.
detailednests Plaid subcategories under each broad category;primary(default) returns the broad-category breakdown only.Values are
primaryordetailed. Default value isprimary.
curl \
--request GET 'http://api.example.com/financial-data/case/{caseId}/transactions/monthly-category-summary' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"data": {
"months": [
{
"month": "2024-01",
"categories": [
{
"category": "FOOD_AND_DRINK",
"debitTotal": 482.35,
"creditTotal": 0,
"transactionCount": 17,
"subcategories": [
{
"subcategory": "FOOD_AND_DRINK_COFFEE",
"debitTotal": 64.2,
"creditTotal": 0,
"transactionCount": 9
}
]
}
],
"totals": {
"debitTotal": 3120.75,
"creditTotal": 4500,
"transactionCount": 86
}
}
],
"totals": {
"debitTotal": 3120.75,
"creditTotal": 4500,
"transactionCount": 86
},
"accountIds": [
"507f1f77bcf86cd799439011",
"65a1b2c3d4e5f6a7b8c9d0e2"
]
},
"statusCode": 200,
"timestamp": "2026-01-15T10:15:00.000Z"
}