Skip to Content
Get started

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.

The Altruon sandbox sign-in page

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.

SandboxProduction
Backoffice sign-inhttps://login.sandbox.altruon.iohttps://login.altruon.io
APIhttps://{your-domain}.api.sandbox.altruon.iohttps://{your-domain}.api.altruon.io
Hosted pageshttps://{your-domain}.sandbox.altruon.io/checkout/p/{id}https://{your-domain}.altruon.io/checkout/p/{id}
Dynamic hosted checkouthttps://{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.

KeyLooks likeUse itNever
Secret keysk_sandbox_test_...On your server, in the x-secret-key header, to create sessions and read transactionsPut it in browser code, a mobile app or a public repository
Publishable keypk_sandbox_...In the browser, to initialize Altruon.jsUse 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.