Payezydevelopers
Sandbox

API reference / Sandbox

Simulate a deposit

POST/v1/orgs/{orgId}/accounts/{accountId}/simulate-deposit

Sandbox only. Asks the partner's test environment to send funds to the account's virtual account.

When to use it

In the sandbox, to fund an account without moving real money. Production returns not_found.

Before you call it

  • Permissionaccounts:view
  • NoteSandbox only. Production returns not_found.

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.

Request body

FieldWhat it does
amountstringrequiredNo description in the spec yet.
railenumrequiredNo description in the spec yet.

One of ach wire fednow

Response 202

Simulation requested; the deposit arrives via partner webhooks

FieldWhat it does
referencestringrequiredNo description in the spec yet.

Events it causes

Errors to handle

CodeWhat it means and what to do
simulation_rejected422The sandbox partner refused the simulated deposit.

Check the amount and rail and try again.

simulator_unavailable422The sandbox simulator cannot run for this account (for example in production).

Simulators work in the sandbox. Production returns not_found.

simulator_unknown_account409The account has no virtual account at the sandbox partner yet.

Wait for the account to finish opening after approval, then retry.

no_virtual_account409this account has no active deposit details yet

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

Used in guided journeys