Environments: testing and production
API v1There is no sandbox host. Testing and production use the same host:
app.tilopay.com. The URL does not tell you which mode you are in.
How the mode is switched#
The mode is switched from the account in the Tilopay portal, not from the integration. There is no parameter, header or alternate URL that changes it from code.
How to verify it#
Tilopay.Init() returns a test field:
| Value | Meaning |
|---|---|
0 | Production |
1 | Testing |
That is the only signal available at runtime. Read it and surface it in your own checkout while developing.
The real risk#
Because the host is the same, an integrator can believe they are testing while actually
being in production, taking real money. Verify test before assuming the mode. If your
integration moves money, make an unexpected test: 0 fail loudly in your development
environments.
Last verified: 2026-08-28 · Owner: equipo-integraciones