Skip to content

Sandbox and production environments ​

Appmax provides two distinct environments for integration.

Sandbox (test environment) ​

Use the sandbox to test your integration before going to production and before starting the review of your public app.

ServiceURL
Authenticationhttps://auth.sandboxappmax.com.br
APIhttps://api.sandboxappmax.com.br
Authorizationhttps://breakingcode.sandboxappmax.com.br/appstore/integration/HASH
JS script (Appmax JS)https://scripts.sandboxappmax.com.br/appmax.min.js

Production ​

Use production to transact with real customers.

ServiceURL
Authenticationhttps://auth.appmax.com.br
APIhttps://api.appmax.com.br
Authorizationhttps://admin.appmax.com.br/appstore/integration/HASH
JS script (Appmax JS)https://scripts.appmax.com.br/appmax.min.js

Summary of differences ​

INFO

  • In sandbox, URLs use the sandboxappmax subdomain and the redirect goes to BC Sandbox.
  • In production, URLs use the standard appmax domain and the redirect goes to Appmax Admin.

Testing payments in the sandbox ​

Sandbox instability

The sandbox environment may experience slowness or temporary downtime. If you get timeout (504) or 503 errors, wait a few minutes and try again. These issues do not affect the production environment. If it persists for more than 30 minutes, contact support.

Credit card: the result depends on the card number. See the test cards.

Pix and boleto ​

In the sandbox, Pix and boleto are approved automatically about 5 seconds after they are generated, with no need to pay. This way you receive all the webhooks of a paid order without waiting for a real payment.

The scenario is decided by the document_number sent to POST /v1/payments/pix or POST /v1/payments/boleto:

document_number sentWhat happens to the orderWebhooks you receive
Any valid CPF or CNPJ (e.g. 19100000000)Approved in ~5 seconds and then integratedPix: order_pix_created → order_paid, order_approved, order_paid_by_pix → order_integrated
Boleto: order_billet_created → order_paid, order_approved → order_integrated
CPF 40827365144 or CNPJ 40827365000109Stays pending: the payment is not confirmedOnly the creation one: order_pix_created or order_billet_created

Use the documents in the second row to test the "awaiting payment" screen and how your app behaves while the order is pending.

Example to test a pending order with Pix (for boleto, replace pix with boleto):

json
{
  "order_id": 123,
  "payment_data": {
    "pix": {
      "document_number": "40827365000109"
    }
  }
}

Sandbox only

In production nothing is approved automatically: Pix and boleto are approved only when the buyer pays.

TIP

For Pix, the move to integrado follows the order integration routine and may take a few hours; order_paid_by_pix and order_approved arrive within seconds. Each webhook is delivered only if the app has the matching permission.

How to migrate to production ​

Finished testing in sandbox? See the full go-live guide with technical checklist, review in the panel, and what changes when migrating: