Payezydevelopers
Sandbox

API reference / Accounts and funding

Get funding instructions

GET/v1/orgs/{orgId}/accounts/{accountId}/funding

How to send money into an account - the named USD virtual account (routing and account number for ACH, wire and FedNow) and any deposit wallets.

When to use it

Show your customer where to send money.

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.
accountIdpath, uuidrequiredA Payezy account from listAccounts.

Response 200

Ways to send money into the account

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

One of virtual_account deposit_address

items[].statusenumrequiredNo description in the spec yet.

One of pending active closed

items[].partnerstringrequiredNo description in the spec yet.
items[].assetstringrequiredNo description in the spec yet.
items[].networkstringrequiredNo description in the spec yet.
items[].railsstring[]requiredNo description in the spec yet.
items[].bankobjectNo description in the spec yet.
items[].bank.bank_namestringrequiredNo description in the spec yet.
items[].bank.bank_addressstringNo description in the spec yet.
items[].bank.routing_numberstringrequiredNo description in the spec yet.
items[].bank.account_numberstringrequiredNo description in the spec yet.
items[].bank.beneficiary_namestringrequiredNo description in the spec yet.
items[].bank.beneficiary_addressstringNo description in the spec yet.
items[].bank.memostringNo description in the spec yet.
items[].addressstringOn-chain deposit address

Errors to handle

CodeWhat it means and what to do
no_virtual_account409this account has no active deposit details yet
account_not_ready409this account is still being set up

Every error is a Problem document. Branch on code; quote request_id to support.

Usually next

Used in guided journeys