Payezydevelopers
Sandbox

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

  • Permissionaccounts:view

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe 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

FieldWhat it does
itemsLinkedAccount[]requiredNo description in the spec yet.
items[].idstring (uuid)requiredNo description in the spec yet.
items[].kindenumrequiredNo description in the spec yet.

One of bank wallet

items[].sourceenumrequiredpayezy 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 payezy external

items[].statusenumrequiredNo description in the spec yet.

One of pending active

items[].labelstringrequiredNo description in the spec yet.
items[].is_primarybooleanrequiredPrimary for its Payezy account, or the default withdrawal destination
items[].capabilitiesenum[]requiredNo description in the spec yet.

One of receive_deposits hold_funds withdrawals

items[].railsstring[]requiredNo description in the spec yet.
items[].assetstringNo description in the spec yet.
items[].account_idstring (uuid)The Payezy financial account this backs (payezy source only)
items[].account_namestringNo description in the spec yet.
items[].bankLinkedBankDetailsNo description in the spec yet.
items[].bank.bank_namestringNo description in the spec yet.
items[].bank.routing_numberstringNo description in the spec yet.
items[].bank.account_numberstringFull number, only for Payezy-issued deposit accounts
items[].bank.account_last4stringNo description in the spec yet.
items[].bank.account_typestringNo description in the spec yet.
items[].bank.beneficiary_namestringNo description in the spec yet.
items[].bank.memostringNo description in the spec yet.
items[].walletLinkedWalletDetailsNo description in the spec yet.
items[].wallet.networkstringrequiredNo description in the spec yet.
items[].wallet.addressstringrequiredNo description in the spec yet.
items[].created_atstring (date-time)requiredNo description in the spec yet.
requestsAccountRequest[]requiredOpen requests (requested or opening), newest first
requests[].idstring (uuid)requiredNo description in the spec yet.
requests[].kindenumrequiredNo description in the spec yet.

One of bank wallet

requests[].sourcestringrequiredNo description in the spec yet.
requests[].source_labelstringrequiredNo description in the spec yet.
requests[].labelstringrequiredNo description in the spec yet.
requests[].statusenumrequiredNo description in the spec yet.

One of requested opening opened failed

requests[].created_atstring (date-time)requiredNo description in the spec yet.