---
title: "Retrieve the counterparties for an account"
method: GET
path: "/accounts/{accountId}/counterparties"
tags: ["counterparties"]
---

# Retrieve the counterparties for an account

`GET /accounts/{accountId}/counterparties`

**THIS ENDPOINT IS DEPRECATED.** Requires **accounts:read** and **transactions:read:all** scope.

## Path parameters

- `accountId` string, uuid, required

## Query parameters

- `counterpartiesVersion` 'v2' | 'v3'

## Response `200`

Successful Counterparties Response

- object
  - `data` Counterparty[]
    - `id` string, required — The unique identifier for the counterparty.
    - `label` string, required — A label describing the counterparty
    - `type` 'global' | 'local', required — The type of counterparty (specific to an account, or globally recognised across all users)
    - `companyName` string — The full name of the company (only for global counterparties)
    - `logo` string — The url to the company logo (only for global counterparties)
    - `website` string — The url to the company website (only for global counterparties)
    - `mcc` object
      - `code` string — The merchant category code (only for global counterparties)
      - `name` string — The merchant category code name (only for global counterparties)
  - `links` Links
    - `next` string, uri — The url to retrieve the next page of results from
    - `prev` string, uri — The url to retrieve the previous page of results from
    - `self` string, uri, required — The url of the current resource(s)
  - `meta` object

## Other responses

- `401` — Unsuccessful Response - Not authorised - Missing authorization header - Invalid access Token
- `403` — Unsuccessful Response - Forbidden - Invalid scopes
- `404` — Unsuccessful Response - Resource Not found

---

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