---
title: "Get aggregated list of account counterparts found in transactions"
method: GET
path: "/consumers/{consumer_id}/banking/counterparts"
tags: ["Banking", "Banking accounts"]
---

# Get aggregated list of account counterparts found in transactions

`GET /consumers/{consumer_id}/banking/counterparts`

Returns the aggregated list of account counterpats found in transactions. Useful for categorisation.

## Path parameters

- `consumer_id` string, uuid, required

## Query parameters

- `page` integer
- `size` integer
- `account_id` string, nullable
- `date_from` string, date, nullable
- `date_to` string, date, nullable

## Response `200`

Successful Response

- ChiftPageBankingCounterPartItem
  - `items` BankingCounterPartItem[], required
    - `name` string, nullable — Name of the counterpart
    - `reference` string, nullable — Reference of the counterpart
    - `details` string, nullable — Details of the counterpart
  - `total` integer, required
  - `page` integer, required
  - `size` integer, required

## Other responses

- `400` — Bad Request
- `422` — Validation Error

---

[API](https://skmtc.net/chift/apis/chift-api.md) · [All operations](https://skmtc.net/chift/apis/chift-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chift/chift-api/revisions/b5f1214a482a/schema)
