> Solana Developer Platform docs, served as Markdown. The [docs index](https://platform.solana.com/docs.md) lists every page and [llms.txt](https://platform.solana.com/docs/ai/llms.txt) the key ones; [SKILL.md](https://platform.solana.com/SKILL.md) has the rules for building on SDP.

# Counterparties

A counterparty is a person or business you pay or get paid by. You save their details and payment accounts once, then reuse them in payouts and ramps.

## Profiles

| Method | Endpoint | Summary |
| --- | --- | --- |
| `GET` | `/v1/counterparties/metadata` | [Get counterparty field options](/docs/reference/api/counterparties/get-counterparty-field-options.md) |
| `GET` | `/v1/counterparties` | [List counterparties](/docs/reference/api/counterparties/list-counterparties.md) |
| `POST` | `/v1/counterparties` | [Create counterparty](/docs/reference/api/counterparties/create-counterparty.md) |
| `GET` | `/v1/counterparties/{counterpartyId}` | [Get counterparty](/docs/reference/api/counterparties/get-counterparty.md) |
| `PATCH` | `/v1/counterparties/{counterpartyId}` | [Update counterparty](/docs/reference/api/counterparties/update-counterparty.md) |
| `DELETE` | `/v1/counterparties/{counterpartyId}` | [Archive counterparty](/docs/reference/api/counterparties/archive-counterparty.md) |

## Accounts

| Method | Endpoint | Summary |
| --- | --- | --- |
| `GET` | `/v1/counterparties/{counterpartyId}/accounts` | [List counterparty accounts](/docs/reference/api/counterparties/list-counterparty-accounts.md) |
| `POST` | `/v1/counterparties/{counterpartyId}/accounts` | [Create counterparty account](/docs/reference/api/counterparties/create-counterparty-account.md) |
| `GET` | `/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}` | [Get counterparty account](/docs/reference/api/counterparties/get-counterparty-account.md) |
| `PATCH` | `/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}` | [Update counterparty account](/docs/reference/api/counterparties/update-counterparty-account.md) |
| `DELETE` | `/v1/counterparties/{counterpartyId}/accounts/{counterpartyAccountId}` | [Archive counterparty account](/docs/reference/api/counterparties/archive-counterparty-account.md) |
