Skip to main content

Counterparties

List Counterparties​

Returns a list of counterparties belonging to customers under the org. Account and routing numbers are masked — only the last 4 digits are exposed.

VerbGET
URLhttps://api.s.unit.sh/ready-to-launch/counterparties
Required Scopecounterparties
Timeout (Seconds)5

Query Parameters​

NameTypeDefaultDescription
page[limit]integer100Optional. Maximum number of resources to return.
page[offset]integer0Optional. Number of resources to skip. See Pagination.
filter[customerId]integer(empty)Optional. Return only counterparties of this customer.
filter[userId]string(empty)Optional. Return only counterparties of the customer this end-user belongs to.
sortstring-createdAtOptional. createdAt (ascending) or -createdAt (descending).

When no filter is provided, all counterparties in the org are returned. When filter[customerId] or filter[userId] is provided, results are scoped to that customer.

Example Request:

curl -X GET 'https://api.s.unit.sh/ready-to-launch/counterparties' \
-H "Authorization: Bearer ${TOKEN}"

Response​

Returns a list of counterparties with their details.

Response is a JSON:API document.

200 OK​

NameTypeDescription
dataArray of counterpartiesArray of counterparty resources.

Attributes​

NameTypeDescription
namestringThe name of the counterparty.
routingNumberLast4stringThe last 4 digits of the counterparty's routing number.
accountNumberLast4stringThe last 4 digits of the counterparty's account number.
createdAtstringThe date the counterparty was created.
updatedAt OptionalstringThe date the counterparty was last updated.
tags OptionalobjectTags associated with the counterparty.

Relationships​

NameTypeDescription
customerobjectThe customer owning the counterparty.

Example Response:

{
"data": [
{
"type": "counterparty",
"id": "5001",
"attributes": {
"name": "ACME Corp",
"routingNumberLast4": "0021",
"accountNumberLast4": "6789",
"createdAt": "2026-09-01T12:34:56.000Z",
"updatedAt": "2026-09-10T08:00:00.000Z",
"tags": {}
},
"relationships": {
"customer": { "data": { "type": "customer", "id": "10001" } }
}
}
]
}