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
- 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
Financial accounts with balances
| Field | What it does |
|---|---|
itemsFinancialAccount[]required | No description in the spec yet. |
items[].idstring (uuid)required | No description in the spec yet. |
items[].namestringrequired | No description in the spec yet. |
items[].currencystringrequired | No description in the spec yet. |
items[].statusenumrequired | No description in the spec yet. One of |
items[].balanceBalancerequired | USD amounts as decimal strings. Available excludes holds and pending credits. |
items[].balance.currencystringrequired | No description in the spec yet. |
items[].balance.postedstringrequired | No description in the spec yet. |
items[].balance.availablestringrequired | No description in the spec yet. |
items[].balance.pending_instringrequired | Incoming funds not yet settled |
items[].balance.pending_outstringrequired | Held for payouts in flight |
items[].created_atstring (date-time)required | No description in the spec yet. |