Payezydevelopers
Sandbox

API reference / Recipients

List recipients

GET/v1/orgs/{orgId}/counterparties

Recipients with their accounts and screening status. Filter by category.

Before you call it

  • Permissioncounterparties:view

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization this call acts on. On a platform route this is the platform organization id from GET /v1/me. On a customer route it is the customer's organization id.

Response 200

Active recipients

FieldWhat it does
itemsCounterparty[]requiredRecords in this page.
items[].idstring (uuid)requiredRecipient id. Send it as counterpartyId.
items[].namestringrequiredRecipient name shown on the payment.
items[].kindenumrequiredWhether the recipient is an individual, a business, or the organization's own account. One of: individual, business, self.

One of individual business self

items[].emailstringrequiredEmail address.
items[].categoryenumrequiredWhat kind of recipient this is, such as a vendor or a contractor.

One of vendor customer contractor employee other

items[].screening_statusenumrequiredclear means you can pay this recipient. review means wait. blocked means do not pay. One of: clear, review, blocked.

One of clear review blocked

items[].accountsExternalAccount[]requiredPayezy accounts included on this record.
items[].accounts[].idstring (uuid)requiredBank account or wallet id. Send it as external_account_id when you pay or withdraw.
items[].accounts[].typeenumrequiredWhat kind of object this is. One of: bank, wallet.

One of bank wallet

items[].accounts[].is_defaultbooleanrequiredThe account preselected when paying this recipient
items[].accounts[].labelstringrequiredShort name chosen for this record.
items[].accounts[].bank_namestringName of the bank.
items[].accounts[].routing_numberstringABA routing number of the US bank.
items[].accounts[].account_last4stringLast four digits of the bank account number.
items[].accounts[].account_typestringWhether the bank account is a checking or savings account.
items[].accounts[].railsstring[]requiredRails this account can receive.
items[].accounts[].networkstringBlockchain network, such as base.
items[].accounts[].addressstringOn-chain address when this account is a wallet.
items[].created_atstring (date-time)requiredWhen this record was created, as an ISO-8601 timestamp.