Test mode and live mode

Every Nexiel API has one base URL and two kinds of key. The key decides the mode of each request, so the same integration code runs in test mode with a test key and in live mode with a live key.

What changes between the two

Behaviour of a test key and a live key
TopicTest keyLive key
KeyClient id starts nx-test-. Free, no review: from the test keys page or the dashboard in test mode.Client id starts nx-live-. Created on the dashboard once your business verification (KYB) is approved.
Base URLhttps://compliance.nexiel.iohttps://compliance.nexiel.io
Session flaglivemode: falselivemode: true
Credentials acceptedCredentials signed under the Nexiel TEST CA, such as those from the sandbox wallet, plus test issuers you add with POST /v1/verify/test-issuer-anchors.Credentials from issuers on the EU trusted lists, or accepted by your trust policy. Never a test credential.
Your relying-party identityNexiel TEST access and registration certificates, created for you on your first session.Your own access certificate and registration certificate, from your Member State’s authorities. None for an EU age verification profile session.
EU age verification profileprofile: "eu-age-verification" on an age-verification session accepts the Nexiel TEST age verification attestation. Complete it with the test helpers.Accepts age verification attestations from issuers on the EU age verification trusted list (currently Denmark). No relying-party certificate needed. Live use with a real age verification app is in progress.
Wallets that answerThe sandbox wallet, or a test wallet that trusts the Nexiel TEST CA. Real EUDI wallets refuse test requests.Real EUDI wallets. The sandbox wallet refuses live requests.
Sandbox wallet linksandboxWalletUrl opens the session in the sandbox wallet, and the hosted page offers it as a button. It is null for an EU age verification profile session.sandboxWalletUrl is always null.
Test helpersPOST /v1/verify/sessions/{sessionId}/test_helpers/complete answers a session with a chosen persona and outcome. See Testing.Refused with 403 test_helpers_test_mode_only.
Hosted page returnThe hosted page shows a button naming your successUrl or cancelUrl.The hosted page sends the user to your successUrl or cancelUrl by itself.
Screening dataNexiel’s synthetic sandbox list only, with a sanctioned and a PEP persona.The live sanctions and PEP lists.
BillingNever billed.Billed per usage, on your plan.
Evidence packsCreated and claimed exactly as in live mode, with POST .../evidence-pack/claim, from test-mode decisions only.Created for AML-relevant checks once you register a key, and claimed with POST .../evidence-pack/claim.
WebhooksSent to your sandbox endpoints. Event data carries mode: "sandbox".Sent to your production endpoints. Event data carries mode: "production".
Records you can readTest-mode sessions and decisions only. A live record returns 404.Live sessions and decisions only. A test record returns 404.
Rate limitA burst of 25 requests, then 30 per minute, per key. See Rate limits.A burst of 30 requests, then 30 per minute, per key.
PrerequisitesNone.KYB approval, billing, and for Verify, the certificates and EU trust lists in Going live.

How the modes stay apart

  • A key's mode is fixed when the key is created and checked on every request. It never changes.
  • Each session records its mode when it starts (livemode), and every later step follows it: the certificates that sign the request, the credentials accepted, billing and webhooks.
  • An organization can hold test and live keys at the same time. Each sees only its own mode's records, and each key has its own rate limit bucket, so test traffic never uses a live key's budget.
  • Nexiel Screen: a live key screens the live lists. Sending "mode": "sandbox" with a live key returns 400 live_key_sandbox_mode. Use a test key for synthetic data.

Moving to live

Switching an integration to live mode is a configuration change: replace the test key's client id and secret with a live key's. Before that works for Verify, your organization needs the items in Going live. Until each is in place, live calls fail with an error that names what is missing, and test mode keeps working.