Sandbox and environments
How to get a sandbox, where to sign in, and which URLs and keys belong to the sandbox and to production.
Altruon runs two separate environments. The sandbox is for building and testing. Production takes real payments. Each has its own sign-in, its own keys and its own connections.
Get sandbox access
Altruon provisions a dedicated sandbox for each merchant.
Ask for a sandbox
Email support@altruon.io. Include your company name, your contact details and the kind of testing you plan to do.
Sign in
When the sandbox is ready you receive your credentials and your sign-in URL. You can also use the generic sign-in page at login.sandbox.altruon.io.

Set it up
Follow the Quickstart to connect an acquirer and your billing platform.
URLs per environment
Your tenant has a subdomain, shown below as {your-domain}. It is part of your API and checkout URLs.
| Sandbox | Production | |
|---|---|---|
| Backoffice sign-in | https://login.sandbox.altruon.io | https://login.altruon.io |
| API | https://{your-domain}.api.sandbox.altruon.io | https://{your-domain}.api.altruon.io |
| Hosted pages | https://{your-domain}.sandbox.altruon.io/checkout/p/{id} | https://{your-domain}.altruon.io/checkout/p/{id} |
| Dynamic hosted checkout | https://{your-domain}.sandbox.altruon.io/checkout/s/{sessionId} | https://{your-domain}.altruon.io/checkout/s/{sessionId} |
API keys
You find your keys in the backoffice under Settings > API Keys. There are two, and they are not interchangeable.
| Key | Looks like | Use it | Never |
|---|---|---|---|
| Secret key | sk_sandbox_test_... | On your server, in the x-secret-key header, to create sessions and read transactions | Put it in browser code, a mobile app or a public repository |
| Publishable key | pk_sandbox_... | In the browser, to initialize Altruon.js | Use it for server calls |
See Authentication for the header format.
What is separate between environments
- Sign-in and users. Sandbox credentials do not work in production.
- API keys. Sandbox keys only work against the sandbox API.
- Connections. An acquirer or billing platform connected in the sandbox is not connected in production. Connect each one again with its live credentials. Provider webhooks point at a different URL per environment.
- Hosted pages, routing entries and webhook endpoints. Configure them again in production.
When you are ready for real payments, work through the Go-live checklist.
Get help
Questions about your sandbox: support@altruon.io.