Transactions

Get facet counts for transactions

Returns per-source-account and per-category counts for the non-deleted transactions in the authorized scope and optional inclusive occurred_on window (same date semantics as the list). Search, status, direction, sort and the source/category selections do not narrow the counts. Each source account counts unique rows matching either their bank or integration account ID, as selecting that source does in the list. Distinct source buckets may overlap, so their sum may exceed the number of rows. unassignedSourceCount counts rows with both source IDs absent. Category counts and unassignedCategoryCount partition the rows in the window. Used to populate multi-select filter chips in the transaction list UI.

get/companies/{companyId}/transactions/facets

Request

  • Base URL: https://api.medianfi.com/api/v1
  • URL: https://api.medianfi.com/api/v1/companies/{companyId}/transactions/facets
  • Auth: HTTP bearer

Query parameters

string uuid
OR
'consolidated'

Concrete legal entity. consolidated requires all-entity access; omitted scopes to the actor's grants.

dateFromstring date

Inclusive lower bound on occurred_on (YYYY-MM-DD, a real calendar date).

dateTostring date

Inclusive upper bound on occurred_on (YYYY-MM-DD, a real calendar date).

Response

Facet counts

successboolean

Changes

No recorded changes to this operation across all 1 revision of this API.