The Counterparty object
string
Unique counterparty identifier.
string
The entity this counterparty belongs to.
string
individual or business.string
Display label. Defaults to full name for individuals and legal name for businesses.
string
active or inactive. Inactive counterparties cannot receive transfers.object
Identity details. Shape depends on
type.object
Arbitrary key-value metadata.
number
Unix timestamp (milliseconds) when the counterparty was created.
number
Unix timestamp (milliseconds) when the counterparty was last updated.
Example counterparty object
Create a counterparty
POST /counterparties
Creates a counterparty of type individual or business. Attach payment details separately after creation.
Request parameters
string
required
individual or business.string
required
The entity this counterparty belongs to.
string
Display label. Defaults to first name + last name for individuals or legal name for businesses.
object
required
Identity details. Required fields differ by
type.object
Arbitrary key-value metadata. Keys and values must be strings.
Request
Response
Returns the created Counterparty object.Errors
List counterparties
GET /counterparties
Returns a paginated list of counterparties.
Query parameters
string
Filter by entity. Required when authenticating with an API key.
string
Filter by counterparty type.
individual or business.string
Filter by status.
active or inactive.integer
Number of results to return. Between 1 and 100. Defaults to
20.string
Pagination cursor returned in the previous response’s
meta.pagination.next_cursor.Request
Response
Get a counterparty
GET /counterparties/{counterparty_id}
Retrieves a single counterparty by ID.
Path parameters
string
required
The counterparty ID. 26-character ULID.
Query parameters
string
Required when authenticating with an API key.
Request
Response
Returns the Counterparty object.Update a counterparty
PATCH /counterparties/{counterparty_id}
Partially updates a counterparty. Only the fields you provide are changed — omitted fields remain unchanged.
Path parameters
string
required
The counterparty ID. 26-character ULID.
Request parameters
string
Required when authenticating with an API key.
string
Updated display label.
object
Any subset of profile fields for the counterparty’s type. Only provided fields are updated.
Request
Response
Returns the updated Counterparty object.List Counterparty Payment Details
To get the list of payment details associated with a counterparty, use theGET /counterparties/{counterparty_id}/payment-details endpoint.
Deactivate a counterparty
POST /counterparties/{counterparty_id}/deactivate
Sets the counterparty’s status to inactive. Deactivated counterparties cannot receive new transfers.
Path parameters
string
required
The counterparty ID. 26-character ULID.
Request parameters
string
Required when authenticating with an API key.
Request
Response
Returns the updated Counterparty object withstatus: "inactive".
