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
- Permission
accounts:view - NoteSandbox only. Production returns not_found.
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. |
accountIdpath, uuidrequired | A Payezy account from listAccounts. |
Request body
| Field | What it does |
|---|---|
amountstringrequired | No description in the spec yet. |
railenumrequired | No description in the spec yet. One of |
Response 202
Simulation requested; the deposit arrives via partner webhooks
| Field | What it does |
|---|---|
referencestringrequired | No description in the spec yet. |
Events it causes
Errors to handle
| Code | What it means and what to do |
|---|---|
simulation_rejected422 | The sandbox partner refused the simulated deposit. Check the amount and rail and try again. |
simulator_unavailable422 | The sandbox simulator cannot run for this account (for example in production). Simulators work in the sandbox. Production returns not_found. |
simulator_unknown_account409 | The account has no virtual account at the sandbox partner yet. Wait for the account to finish opening after approval, then retry. |
no_virtual_account409 | this account has no active deposit details yet |
Every error is a Problem document. Branch on code; quote request_id to support.