---
title: "Inflow and outflow totals for the same filters"
method: GET
path: "/transactions/summary"
tags: ["transactions"]
---

# Inflow and outflow totals for the same filters

`GET /transactions/summary`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/hevn-inc/apis/hevn-api/docs/transactions/summary/get.ts> (a function with typed inputs; its response is checked against the schema)

Its own route: an aggregate is never folded into a page.

## Query parameters

- `type` string, nullable: Comma-separated transaction types
- `status` string, nullable: Comma-separated statuses
- `tag` string, nullable: Comma-separated tags
- `contactId` string, nullable
- `bankId` string, nullable
- `incomeOnly` boolean, nullable
- `q` string, nullable
- `from` string, date-time, nullable
- `to` string, date-time, nullable

## Headers

- `X-Hevn-Account` string, nullable: The client account to act for, as a `cl_…` id. Omit it to act as yourself.

## Response `200`

Successful Response

- TransactionSummaryView
  - `inflowUsd` string, required: Settled incoming value converted to USD for the selected period.
  - `inflowCount` integer, required: Number of settled incoming transactions in the selected period.
  - `outflowUsd` string, required: Settled outgoing value converted to USD for the selected period.
  - `outflowCount` integer, required: Number of settled outgoing transactions in the selected period.
  - `pendingInflowUsd` string, required: Pending incoming value converted to USD.
  - `pendingInflowCount` integer, required: Number of pending incoming transactions.
  - `pendingOutflowUsd` string, required: Pending outgoing value converted to USD.
  - `pendingOutflowCount` integer, required: Number of pending outgoing transactions.

## Other responses

- `422`: Request validation failed

## Changes

- **2026-11-12** `299a3aa6f521`: 1 warning, 2 info
  - added the new `verification_not_applicable` enum value to the `error/code` response property for the response status `422`
  - removed the `phone_required` enum value from the `error/code` response property for the response status `422`
  - removed the `rail_requirements_unmet` enum value from the `error/code` response property for the response status `422`
- **2026-10-23** `a02795de2d2b`: 9 warning, 5 info
  - deleted the `header` request parameter `x-api-key`
  - added the new `client_already_linked` enum value to the `error/code` response property for the response status `422`
  - added the new `kyb_documents_processing` enum value to the `error/code` response property for the response status `422`
  - added the new `link_code_expired` enum value to the `error/code` response property for the response status `422`
  - …10 more
- **2026-10-20** `19eb00e9f258`: 1 info
  - removed the `phone_in_use` enum value from the `error/code` response property for the response status `422`
- **2026-10-20** `bd6c9d69540e`: 1 warning
  - added the new `phone_in_use` enum value to the `error/code` response property for the response status `422`
- **2026-10-20** `19eb00e9f258`: 1 info
  - removed the `document_fields_missing` enum value from the `error/code` response property for the response status `422`

[Operation history](https://skmtc.dev/hevn-inc/apis/hevn-api/changes/transactions/summary/get.md)

---

[API](https://skmtc.dev/hevn-inc/apis/hevn-api.md) - [All operations](https://skmtc.dev/hevn-inc/apis/hevn-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hevn-inc/apis/hevn-api/revisions/299a3aa6f521?raw)
