Payezydevelopers
Sandbox

API reference / Act as a platform

List a customer's own accounts

GET/v1/platforms/{platformOrgId}/customers/{customerOrgId}/own-accounts

Acts on a linked customer with the platform's own key or team (platform:customer_accounts_view). Same as GET /v1/orgs/{orgId}/own-accounts.

Before you call it

  • Organizationplatform
  • Permissionplatform:customer_accounts_view

Parameters

ParameterWhat it does
platformOrgIdpath, uuidrequiredYour platform's organization id. platformOrgId is the platform response's org_id.
customerOrgIdpath, uuidrequiredcustomerOrgId is the customer response's org_id.

Response 200

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

FieldWhat it does
itemsExternalAccount[]requiredRecords in this page.
items[].idstring (uuid)requiredBank account or wallet id. Send it as external_account_id when you pay or withdraw.
items[].typeenumrequiredWhat kind of object this is. One of: bank, wallet.

One of bank wallet

items[].is_defaultbooleanrequiredThe account preselected when paying this recipient
items[].labelstringrequiredShort name chosen for this record.
items[].bank_namestringName of the bank.
items[].routing_numberstringABA routing number of the US bank.
items[].account_last4stringLast four digits of the bank account number.
items[].account_typestringWhether the bank account is a checking or savings account.
items[].railsstring[]requiredRails this account can receive.
items[].networkstringBlockchain network, such as base.
items[].addressstringOn-chain address when this account is a wallet.