Find payor counterparties

GET

Find payor counterparties. This endpoint lets you find customers linked to the entity.

Path parameters

entityIdstringRequired

Entity ID or Entity ForeignID

Query parameters

namestringOptional

Filter by counterparty name

networkType"ENTITY" or "NETWORK"Optional

Filter by network type. By default, only ENTITY counterparties are returned.

Allowed values: ENTITYNETWORK
paymentMethodsbooleanOptional

If true, will include counterparty payment methods as part of the response

invoiceMetricsbooleanOptional

If true, will include counterparty invoice metrics as part of the response

counterpartyIdstringOptional

Filter by counterparty ids (Foreign ID is supported)

metadataobjectOptional

Filter counterparties by simple key/value metadata. Each filter will be applied as an AND condition. Duplicate keys will be ignored.

returnMetadatastringOptional

If true, will return simple key/value metadata for the counterparties. For more complex metadata, use the Metadata API.

limitintegerOptional

Number of counterparties to return. Limit can range between 1 and 100, and the default is 10.

startingAfterstringOptional

The ID of the counterparties to start after. If not provided, the first page of counterparties will be returned.

Response

This endpoint returns an object.
countinteger

Total number of counterparties for the given filters. This value is not limited by the limit parameter. It is provided so that you can determine how many pages of results are available.

hasMoreboolean

True if there are more counterparties available for the given filters.

datalist of objects