API reference / Accounts and funding
List connected bank accounts and wallets
GET/v1/orgs/{orgId}/linked-accounts
Every bank account and wallet connected to the organization (the Accounts page): the ones Payezy opened for its accounts (named virtual accounts and custodial wallets) and, with counterparties:view, its own accounts elsewhere (withdrawal destinations). An organization can hold several of each. Requests to open more that are still in progress are listed under requests.
Before you call it
- Permission
accounts:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
Response 200
Bank accounts first, then wallets; Payezy-issued before external
| Field | What it does |
|---|---|
itemsLinkedAccount[]required | No description in the spec yet. |
items[].idstring (uuid)required | No description in the spec yet. |
items[].kindenumrequired | No description in the spec yet. One of |
items[].sourceenumrequired | payezy is opened for the organization by Payezy and backs a Payezy account; external is the organization's own account elsewhere (a withdrawal destination). One of |
items[].statusenumrequired | No description in the spec yet. One of |
items[].labelstringrequired | No description in the spec yet. |
items[].is_primarybooleanrequired | Primary for its Payezy account, or the default withdrawal destination |
items[].capabilitiesenum[]required | No description in the spec yet. One of |
items[].railsstring[]required | No description in the spec yet. |
items[].assetstring | No description in the spec yet. |
items[].account_idstring (uuid) | The Payezy financial account this backs (payezy source only) |
items[].account_namestring | No description in the spec yet. |
items[].bankLinkedBankDetails | No description in the spec yet. |
items[].bank.bank_namestring | No description in the spec yet. |
items[].bank.routing_numberstring | No description in the spec yet. |
items[].bank.account_numberstring | Full number, only for Payezy-issued deposit accounts |
items[].bank.account_last4string | No description in the spec yet. |
items[].bank.account_typestring | No description in the spec yet. |
items[].bank.beneficiary_namestring | No description in the spec yet. |
items[].bank.memostring | No description in the spec yet. |
items[].walletLinkedWalletDetails | No description in the spec yet. |
items[].wallet.networkstringrequired | No description in the spec yet. |
items[].wallet.addressstringrequired | No description in the spec yet. |
items[].created_atstring (date-time)required | No description in the spec yet. |
requestsAccountRequest[]required | Open requests (requested or opening), newest first |
requests[].idstring (uuid)required | No description in the spec yet. |
requests[].kindenumrequired | No description in the spec yet. One of |
requests[].sourcestringrequired | No description in the spec yet. |
requests[].source_labelstringrequired | No description in the spec yet. |
requests[].labelstringrequired | No description in the spec yet. |
requests[].statusenumrequired | No description in the spec yet. One of |
requests[].created_atstring (date-time)required | No description in the spec yet. |