Skip to main content
This endpoint returns a paginated list of counterparties matching your filter criteria. You can narrow results by end user, search by full or partial name, or filter by counterparty type. It is useful for building recipient selection interfaces, auditing counterparty records, or verifying all recipients associated with a given end user.

Endpoint

Required scope: com.diameterpay.api/counter-parties.read

Request Headers

string
required
Bearer token obtained from your OAuth2 token endpoint. Format: Bearer {access_token}

Query Parameters

integer
Page number to retrieve, starting from 1. Defaults to 1 if not provided.
integer
Number of results to return per page. Defaults to 20 if not specified.
string
Filter results to counterparties belonging to a specific end user. Must be a valid UUID.
string
Partial name match filter. Matches against fullName for organizations and firstName/lastName for individuals. Case-insensitive.
string
Filter by counterparty type. Must be one of:
  • ORGANIZATION
  • INDIVIDUAL

Response

Returns HTTP 200 OK with a paginated wrapper containing an array of CounterPartyOutput objects.
array
Array of counterparty records matching the query. Each item is a CounterPartyOutput object.
object
Pagination metadata.

Example

Response