Sandbox
Test environment. No real money is moved; payments are simulated in a
deterministic way. Use it to develop and validate your integration.
Production
Live environment, connected to the payment processors. Moves real money.
Base URLs
| Service | Sandbox | Production |
|---|---|---|
| API (PSP) | https://api.sandbox.z2pay.com | https://api.z2pay.com |
| Checkout API | https://checkout-api.sandbox.z2pay.com | https://checkout-api.z2pay.com |
| Hosted pages (checkout/invoice) | https://pay.sandbox.z2pay.com | https://pay.z2pay.com |
| Dashboard | accessed via the “Test environment” button | https://app.z2pay.com |
API keys are environment-specific. A sandbox key does not work in
production and vice versa. See Authentication.
How to access the sandbox
- Log in to the Production Dashboard (
https://app.z2pay.com). - In the profile menu, click “Test environment”.
- Wait for your sandbox to be automatically configured (first time only).
- You will be redirected and already logged into the Sandbox Dashboard, where you can find your test credentials and the payment simulation panel.
What changes in the sandbox
The sandbox uses a simulated provider (FakeProvider) instead of real payment processors. This makes tests deterministic:- Card: the outcome (approved/declined/failed) is determined by the last 4 digits of the card number. See Test cards.
- PIX and boleto: settlement is controlled by a per-method setting (
instant,auto, ormanual), with the option to force scenarios by amount. See Test PIX and boleto. - Chargeback: can be simulated. See Simulate events.

