672b1916ba61
List counterparty accounts
Lists payment accounts for a counterparty. Crypto-wallet accounts can be used by payment flows that send funds to a counterparty wallet.
Path parameters
Counterparty identifier.
Counterparty identifier.
Query parameters
Page number (1-based).
Page number (1-based).
Items per page (max 100).
Items per page (max 100).
Include archived counterparty accounts in results.
Include archived counterparty accounts in results.
Filter accounts by account kind.
Filter accounts by account kind.
Headers
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.
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 list
Example response
{
"data": {
"accounts": [
{
"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"
}
],
"total": 2,
"page": 1,
"pageSize": 20
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}