Counterparties

Get counterparty account

Gets a counterparty payment account by id.

get/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}

Path parameters

counterpartyIdstring required

Counterparty identifier.

Example:cp_example

Counterparty identifier.

counterpartyAccountIdstring required

Counterparty account identifier.

Example:cpa_example

Counterparty account identifier.

Headers

x-project-idstring

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Example:prj_example

Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.

Response

Counterparty account

Example response

{
  "data": {
    "account": {
      "id": "cpa_example",
      "organizationId": "org_example",
      "projectId": "prj_example",
      "counterpartyId": "cp_example",
      "accountKind": "crypto_wallet",
      "label": "USDC wallet",
      "details": {
        "network": "solana",
        "address": "7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
      },
      "providerAccountData": {},
      "status": "active",
      "createdAt": "2025-01-01T00:00:00.000Z",
      "updatedAt": "2025-01-02T00:00:00.000Z"
    }
  },
  "meta": {
    "requestId": "req_example",
    "timestamp": "2025-01-01T00:00:00.000Z"
  }
}