Payezydevelopers
Sandbox

API reference / Withdrawals

List your own bank accounts

GET/v1/orgs/{orgId}/own-accounts

The organization's own accounts at other banks, used for withdrawals.

Before you call it

  • Permissioncounterparties: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

The organization's own bank accounts and wallets outside Payezy (withdrawal destinations)

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

One of bank wallet

items[].is_defaultbooleanrequiredThe account preselected when paying this recipient
items[].labelstringrequiredNo description in the spec yet.
items[].bank_namestringNo description in the spec yet.
items[].routing_numberstringNo description in the spec yet.
items[].account_last4stringNo description in the spec yet.
items[].account_typestringNo description in the spec yet.
items[].railsstring[]requiredNo description in the spec yet.
items[].networkstringNo description in the spec yet.
items[].addressstringNo description in the spec yet.