# 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`.

Requires: permission accounts:view; Sandbox only. Production returns not_found.

## Request body

- `amount` (string, required): 
- `rail` (enum, required):  One of ach, wire, fednow.

```json
{
  "amount": "5000.00",
  "rail": "ach"
}
```

Events: payment.updated

Errors: simulation_rejected, simulator_unavailable, simulator_unknown_account, no_virtual_account

```bash
curl -X POST "https://sandbox-api.payezy.io/v1/orgs/$ORG_ID/accounts/$ACCOUNT_ID/simulate-deposit" \
  -H "Authorization: Bearer $PAYEZY_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "amount": "5000.00",
  "rail": "ach"
}'
```
