# Environments

The sandbox is the only environment these docs call. Staging is internal. Production moves real money.


| | Sandbox | Staging | Production |
| --- | --- | --- | --- |
| Who | You, from this site | Payezy, before a release | Customers moving real money |
| API | `https://sandbox-api.payezy.io` | `https://api.staging-alpha-ng.payezy.io` | `https://api.payezy.io` |
| App | `https://app.sandbox.payezy.io` | `https://app.staging-alpha-ng.payezy.io` | `https://app.payezy.io` |
| Auth | `https://auth.sandbox.payezy.io` | `https://auth.staging-alpha-ng.payezy.io` | `https://auth.payezy.io` |
| Webhooks | `https://hooks.sandbox.payezy.io` | `https://hooks.staging-alpha-ng.payezy.io` | `https://hooks.payezy.io` |
| Key prefix | `pz_test_` | `pz_test_` | `pz_live_` |
| Money | Test network, plus simulated deposits | Test network, for internal QA | Real money |
| Database | Its own | Its own | Its own |

Try-it and every sample call `https://sandbox-api.payezy.io`. A key from one environment is rejected by the others. Staging is not a customer environment, and these pages do not send requests there.

The sandbox app calls `https://api.sandbox.payezy.io` so its session cookie stays on `sandbox.payezy.io`. That cookie is `payezy_sbx_session`. It is never sent to `api.payezy.io` or `app.payezy.io`.

## What is different

- `POST /v1/orgs/{orgId}/accounts/{accountId}/simulate-deposit` (Simulate a deposit) credits an account without real money. Production returns `not_found`. Staging can simulate too, for Payezy's own QA, and that host is not linked from here.
- Sandbox sign-up sends real email. There is no on-screen code and no MFA bypass. `delivery: screen` runs in the demo sandbox in these docs; the live sandbox emails invitations.
- Rate limits are tighter than production's 100 reads and 25 writes per second per key.
- Production refuses test-only settings. Nothing in the production process turns those settings on.

## The demo sandbox in these docs

Every console here can also run against a **demo sandbox** that lives in your browser. It needs no account and keeps synthetic data in this browser only. It follows the same rules as the API: tenancy, scopes, idempotency, approvals, limits and statuses. Switch the console to **Sandbox (your key)** to send the same requests to `https://sandbox-api.payezy.io`.

> **Never production**
The docs never send requests to production, and refuse `pz_live_` keys. Use production keys only from your servers.
