Payezydevelopers
Sandbox

API reference / Accounts and funding

List accounts and balances

GET/v1/orgs/{orgId}/accounts

The organization's Payezy accounts with their currency, status and ledger balance. Balances are Payezy's double-entry ledger, reconciled hourly with the banking partner.

When to use it

After verification, to find the account_id you will fund and pay from.

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

Financial accounts with balances

FieldWhat it does
itemsFinancialAccount[]requiredNo description in the spec yet.
items[].idstring (uuid)requiredNo description in the spec yet.
items[].namestringrequiredNo description in the spec yet.
items[].currencystringrequiredNo description in the spec yet.
items[].statusenumrequiredNo description in the spec yet.

One of active frozen closed

items[].balanceBalancerequiredUSD amounts as decimal strings. Available excludes holds and pending credits.
items[].balance.currencystringrequiredNo description in the spec yet.
items[].balance.postedstringrequiredNo description in the spec yet.
items[].balance.availablestringrequiredNo description in the spec yet.
items[].balance.pending_instringrequiredIncoming funds not yet settled
items[].balance.pending_outstringrequiredHeld for payouts in flight
items[].created_atstring (date-time)requiredNo description in the spec yet.

Usually next

Used in guided journeys