Payezydevelopers
Sandbox

API reference / Act as a platform

Get a customer's funding instructions

GET/v1/platforms/{platformOrgId}/customers/{customerOrgId}/accounts/{accountId}/funding

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

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.
accountIdpath, uuidrequiredThe Payezy account id from list accounts.

Response 200

Ways to send money into the account

FieldWhat it does
itemsFundingInstrument[]requiredRecords in this page.
items[].idstring (uuid)requiredIdentifier of this record.
items[].kindenumrequiredvirtual_account is the bank account number. deposit_address is the crypto address. One of: virtual_account, deposit_address.

One of virtual_account deposit_address

items[].statusenumrequiredWhere this record is in its lifecycle. One of: pending, active, closed.

One of pending active closed

items[].partnerstringrequiredBanking or payout partner that handled this.
items[].assetstringrequiredAsset code, such as USD, USDC, or SBC.
items[].networkstringrequiredBlockchain network, such as base.
items[].railsstring[]requiredRails this account can receive.
items[].bankobjectUS bank account to attach.
items[].bank.bank_namestringrequiredName of the bank.
items[].bank.bank_addressstringStreet address of the bank.
items[].bank.routing_numberstringrequiredABA routing number of the US bank.
items[].bank.account_numberstringrequiredBank account number. Responses return only the last four digits.
items[].bank.beneficiary_namestringrequiredName to put on the wire or ACH credit.
items[].bank.beneficiary_addressstringAddress of the account holder who receives the deposit.
items[].bank.memostringNote that travels with the payment, up to 140 characters.
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.