List totals
Splits one category’s total into rows by merchant or by month, in one call. Merchant rows
across all pages, and periodic month rows, add up to GET /aggregations/total for the same
parameters. Point-in-time month rows are cumulative closing balances, so don’t add them;
the last calendar month’s row matches GET /aggregations/total with date=end_date.
group_by=merchant: one row per merchant or counterparty,order=descby default. Dates follow the category’s rules:start_dateandend_date, ordatefor point-in-time categories.group_by=month: one row per month, at most 120, in calendar order unlessorderis given. Always takesstart_dateandend_date. Periodic first and last month rows are clipped to those exact inclusive dates. Point-in-time rows include all activity through each month’s closing date, with the last calendar month’s cutoff atend_date;start_dateselects the first displayed month, not the start of cumulative activity.
Dates are calendar dates in America/Los_Angeles (Pacific Time). Whole months use
whole-month rollups, and the current month’s first day through today uses fresh MTD
rollups. Other partial months, including a midmonth periodic start, read raw entries for
only those months and are slower. Stale or unfilled MTD falls back to raw entries.
Whole-month and month-aligned month-to-date/year-to-date requests remain fast when MTD
is fresh. Full-date totals previously ignored the day; honoring it is a behavioral
breaking change shared with GET /aggregations/total.
order ranks by amount in the category’s normal direction, so desc lists the vendors you
spent the most with first under an expense category, and the customers who paid you the
most first under an income category. limit returns the first rows in whichever order
applies; page with next_cursor.
Merchant names are exact, so spelling variants are separate rows; activity without a name
is one row with merchant: null. Response dates are the boundaries actually used.
refreshed_at covers the entire returned page, including MTD and any live raw portion,
not just its whole months. A live raw read is current as of the call even when no raw
entries match. Signs, freshness timestamp selection, and the rejected period and
department_id parameters work as in GET /aggregations/total.
Authorizations
Query Parameters
Calendar date in Pacific Time, as YYYY-MM-DD. Exact inclusive start for periodic categories; selects the first displayed month for point-in-time month groups without excluding earlier cumulative activity. Required for periodic categories and any group_by=month. Legacy month parameters are not supported here.
desc lists the largest amounts first and asc the smallest first, measured in the category's normal direction (so desc is the biggest spend first under an expense category). Defaults to desc for merchants. Months without order are in calendar order. Ties are listed by merchant name, or by month oldest first. A merchant whose refunds exceeded its charges under an expense category comes last with desc.
asc, desc Response
The category total, grouped
Unix timestamp covering the entire returned page, including partial months, not just full-month rows. For rollup-only reads, the maximum contributing rollup timestamp including MTD. Any live raw-entry portion is current as of the call, even with no matching raw entries. Null only when no contributing timestamp or live raw read is available.