---
title: "Get counterparty account"
method: GET
path: "/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}"
tags: ["Counterparties"]
---

# Get counterparty account

`GET /v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}`

## Request

- Base URL: `http://localhost:8787`
- URL: `http://localhost:8787/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}`
- Auth: HTTP bearer

Gets a counterparty payment account by id.

## Path parameters

- `counterpartyId` string, required: Counterparty identifier.
- `counterpartyAccountId` string, required: Counterparty account identifier.

## Headers

- `x-project-id` string: Required for dashboard sessions. API keys use their assigned project.

## Response `200`

Counterparty account

- object: Standard success response envelope.
  - `data` object, required: Counterparty account response payload.
    - `account` object, required: Counterparty payment account record.
      - `id` string, required: Counterparty account identifier.
      - `organizationId` string, required: Organization identifier.
      - `projectId` string, required: Project identifier.
      - `counterpartyId` string, required: Counterparty identifier.
      - `accountKind` 'crypto_wallet', required: Counterparty account kind.
      - `label` string, nullable, required: Optional human-readable account label.
      - `details` object, required: Account details. For crypto_wallet accounts, include network: "solana" and address as a Solana wallet address.
      - `providerAccountData` object, required: Provider-specific account metadata preserved by SDP.
      - `status` 'active' | 'archived', required: Counterparty account status.
      - `createdAt` string, date-time, required: Creation timestamp.
      - `updatedAt` string, date-time, required: Last update timestamp.
  - `meta` object, required: Response metadata.
    - `requestId` string, required: Request identifier for tracing.
    - `timestamp` string, date-time, required: ISO 8601 timestamp.

## Other responses

- `401`: Error
- `403`: Forbidden. Requires the `counterparties.read` action: an API key must hold it (a module's `manage` or `execute` also covers its `read`), and a signed-in member's organization role must include it. Without it the error is INSUFFICIENT_PERMISSIONS and `error.details.action` names the action. Any other 403 names its own reason.
- `404`: Error
- `500`: Error

## Changes

- **2026-11-02** `9f0b1d561064`: 4 warning
  - added the new `CUSTODY_POLICY_REFUSED` enum value to the `error/code` response property for the response status `401`
  - added the new `CUSTODY_POLICY_REFUSED` enum value to the `error/code` response property for the response status `403`
  - added the new `CUSTODY_POLICY_REFUSED` enum value to the `error/code` response property for the response status `404`
  - added the new `CUSTODY_POLICY_REFUSED` enum value to the `error/code` response property for the response status `500`
- **2026-10-30** `f4a0135eca08`: 24 warning
  - added the new `RPC_UNAVAILABLE` enum value to the `error/code` response property for the response status `401`
  - added the new `RPC_UNAVAILABLE` enum value to the `error/code` response property for the response status `403`
  - added the new `RPC_UNAVAILABLE` enum value to the `error/code` response property for the response status `404`
  - added the new `RPC_UNAVAILABLE` enum value to the `error/code` response property for the response status `500`
  - …20 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/solana/apis/solana-developer-platform-api/changes/v1/counterparties/:counterpartyId/accounts/:counterpartyAccountId/get.md)

---

[API](https://skmtc.dev/solana/apis/solana-developer-platform-api.md) - [All operations](https://skmtc.dev/solana/apis/solana-developer-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/solana/apis/solana-developer-platform-api/revisions/47682f5c382e?raw)
