List recipients
GET/v1/orgs/{orgId}/counterparties
Recipients with their accounts and screening status. Filter by category.
Before you call it
- Permission
counterparties:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The 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
| Field | What it does |
|---|---|
itemsCounterparty[]required | Records in this page. |
items[].idstring (uuid)required | Recipient id. Send it as counterpartyId. |
items[].namestringrequired | Recipient name shown on the payment. |
items[].kindenumrequired | Whether the recipient is an individual, a business, or the organization's own account. One of: individual, business, self. One of |
items[].emailstringrequired | Email address. |
items[].categoryenumrequired | What kind of recipient this is, such as a vendor or a contractor. One of |
items[].screening_statusenumrequired | clear means you can pay this recipient. review means wait. blocked means do not pay. One of: clear, review, blocked. One of |
items[].accountsExternalAccount[]required | Payezy accounts included on this record. |
items[].accounts[].idstring (uuid)required | Bank account or wallet id. Send it as external_account_id when you pay or withdraw. |
items[].accounts[].typeenumrequired | What kind of object this is. One of: bank, wallet. One of |
items[].accounts[].is_defaultbooleanrequired | The account preselected when paying this recipient |
items[].accounts[].labelstringrequired | Short name chosen for this record. |
items[].accounts[].bank_namestring | Name of the bank. |
items[].accounts[].routing_numberstring | ABA routing number of the US bank. |
items[].accounts[].account_last4string | Last four digits of the bank account number. |
items[].accounts[].account_typestring | Whether the bank account is a checking or savings account. |
items[].accounts[].railsstring[]required | Rails this account can receive. |
items[].accounts[].networkstring | Blockchain network, such as base. |
items[].accounts[].addressstring | On-chain address when this account is a wallet. |
items[].created_atstring (date-time)required | When this record was created, as an ISO-8601 timestamp. |