Business
From Sandbox to Production: Going Live with Didit
Going live on Didit means swapping the sandbox key for the live key and pointing webhooks at production. Sandbox testing is free; live checks start at $0.33 per full ID check.

Contents
In this guide
Jump to the part you need.
Going live on Didit is a key swap plus a webhook destination, not a rebuild. It fits teams whose sandbox workflow already returns decisions and now need real users verified. Sandbox testing is free on every plan. Live checks are billed per completed check, starting at $0.33 for a full ID check. The caveat: sandbox outcomes are simulated, so live document quality and manual review volume are the parts you cannot rehearse.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Sandbox | Live |
|---|---|---|
| Who it is for | Developers and QA testing every flow | Real users and real verifications |
| Billing | Free. Nothing is billed and the balance check is bypassed | Each verification is billed at your plan price |
| API key | sk_test_ prefix | sk_live_ prefix |
| Session quota | Sandbox testing is free and unlimited | 600 session creates per minute per API key |
| Webhook field | environment is sandbox | environment is live |
| Custom domain | Not available. Sessions run on the default hosted domain | Available |
| External providers | Mocked. Liveness capture still runs for real, only the result is simulated | Real |
| Data location | European Union (Ireland) for every application | The location chosen when the application was created. EU (Ireland) is the only one available today |
Start free in the sandbox at business.didit.me. There is no sales call to test a full flow. If you build with an AI assistant, connect the free MCP server through didit.me/developers/mcp, read the pricing page before you move real volume, and see the User Verification page for the checks a session can run.
What going live actually changes
Every Didit application ships as two environments, Live and Sandbox, from the same application record. That matters for a go-live plan: API keys, webhooks, workflows and the data location belong to the application, so you are not maintaining two parallel configurations that drift apart. What changes when you go live is the key you call with, the environment the webhook reports, whether providers are real, and whether a check costs money.
API keys are scoped to one application and one environment. A sandbox key creates sandbox sessions and never creates a billed verification; a live key creates live sessions. Keep both keys in your secret manager and choose between them with one environment variable, so the go-live step is a configuration change instead of a code change.
We run 220+ countries and 14,000+ document types for 4,000+ companies. That breadth is exactly why the sandbox matters: you cannot hand-test 14,000 documents, so you use the scenario catalog to force the outcomes and the failure paths you care about.
Prerequisites
- A Didit organization and at least one application. The first application is created at sign-up, and its data location is chosen there and cannot be changed later.
- A published workflow in that application, and its
workflow_id. - The sandbox API key stored server-side as
DIDIT_API_KEY. Never ship it to a browser or a mobile bundle. - An HTTPS endpoint that can read the raw request body before parsing JSON, for HMAC signature verification.
- Allowed domains and redirect URLs set for hosted verification links.
- Credit on the live organization, or a top-up. An organization created through the API starts at $0.
- Something that alerts: error rate, 429s, and sessions sitting in review.
Step by step: sandbox to production
Confirm the application and its data location. Open Settings, then Organization, then Applications, and check the flag next to the application plus the Data and privacy panel. See Applications in the Didit Console. Data location is fixed once chosen. If you need another region, you create another application.
Freeze the workflow you will run live. The workflow belongs to the application, so the steps and branding you test in Sandbox are the ones your Live environment runs. Do not build a second workflow for production and try to keep the two in sync. For the checks a workflow can include, see the User Verification page.
Create a session with the sandbox key. Use the documented server-to-server call, with the key held in an environment variable. The sandbox environment model is documented in Sandbox testing.
curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{"workflow_id":"WORKFLOW_ID","vendor_data":"user-42","callback":"https://myapp.com/return"}'The request runs in the environment associated with the application key you send. The API request stays the same when you go live. Alongside the live key, verify the rest of the live configuration before launch: credit on the live organization, the webhook destination registered on the live environment, the custom domain if you use one, and the allowed domains and redirect URLs.
Force the outcomes you need. Sandbox outcomes never depend on the pixels. Pull the live catalog of scenarios and magic values from
GET /v1/sandbox/scenarios/with the samex-api-keyheader, then arm a scenario per test case so approved, declined and in-review runs are reproducible. The catalog is documented in Sandbox test data.curl https://verification.didit.me/v1/sandbox/scenarios/ \ -H "x-api-key: $DIDIT_API_KEY"Map each case you care about to a scenario or magic value in the catalog before you run it, so the outcome is named rather than hoped for. The catalog is the source of truth for which outcomes exist, and the armed slug comes back in the webhook as
sandbox_scenario, which makes every test traceable.Register the webhook destination and verify signatures. Read the raw body before parsing JSON. Check that the timestamp is within 300 seconds, recompute HMAC-SHA256 over the sorted canonical JSON for
X-Signature-V2, and compare in constant time. Accept a match on the-Previousheader too, so a secret rotation does not drop events. Return 2xx fast and process idempotently onevent_id. See Webhooks and HMAC signing.Handle every status string exactly. The values are case sensitive and include the spaces:
Not Started,In Progress,Approved,Declined,In Review,Awaiting User,Resubmitted,Expired,Abandoned,Kyc Expired. Match on the exact string.Decide who reviews, and write it down. Automated checks drive most moves. A person steps in at In Review or Declined. Name the reviewer, the queue and the response time before the first live user is asked to wait.
Prepare the live environment. Set allowed domains and redirect URLs, add the custom domain if you use one, top up credit, and confirm the live key is stored as
DIDIT_LIVE_API_KEY.Flip, then watch. Switch the production environment variable to the live key, run one verification yourself, and check three things: the webhook says
environmentislive, the completed live check appears in billing or usage, and the decision matches what the workflow should return. Watch error rate, 429s and review queue depth for the first week.

Pre-launch checklist
- Live key validation. Confirm the running service loads the live application key, not the sandbox key. Keys are scoped to one application and one environment, so check the variable in the process that creates sessions.
- Webhook signature verification. Verify the raw body, enforce the 300 second timestamp window, recompute
X-Signature-V2, accept the-Previousheader during rotation, and return 2xx before slow work. - Redirect testing. Set allowed domains and redirect URLs on the live environment, add the custom domain if you use one, and run one session to confirm the return URL.
- Reviewer ownership. Name the person or queue that handles
In Review, and set the response time and escalation path before the first live user waits.
What a correct go-live looks like
A live session moves through the same lifecycle as a sandbox session, with real providers behind it. Your endpoint receives a signed POST on each status move. This is the envelope shape, trimmed to the fields you will act on:
{
"event_id": "3f0c-...",
"session_id": "9a1b-...",
"status": "Approved",
"webhook_type": "status.updated",
"created_at": 1794358860,
"timestamp": 1794358860,
"application_id": "5c7d-...",
"environment": "live",
"sandbox_scenario": null,
"workflow_id": "1e2f-...",
"workflow_version": 1,
"vendor_data": "user-42",
"metadata": {},
"decision": {
"id_verifications": [],
"liveness_checks": [],
"face_matches": [],
"aml_screenings": []
}
}Read the decision object when your product needs feature-level reasons, not the status alone. The same object is available from GET /v3/session/{session_id}/decision/, which is governed by the general GET ceiling of 600 requests per minute per key. If a decision arrives without the feature data you expect, check that the step is in the workflow before you look at the code.

Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
| 401 from verification.didit.me | The x-api-key header is wrong, malformed, revoked or expired | Re-fetch the key for that application and environment. Do not validate a key by its prefix, older keys have none |
| 403 with no other detail | No key sent, a scoped key without access to this resource or action, a call from outside the key IP list, or a balance that cannot cover the call | Check key permissions and the IP list under Developers, then top up |
| 402 | The check could not be paid for, so it did not run | Top up credit and run the session again |
| 404 on a session route | The session is outside the scoped key workflows or statuses | Use a key whose limits include that session |
| 429 with a Retry-After header | A rate limit or quota was reached | Wait for Retry-After, then back off with jitter. Stop after about five attempts and alert, sustained 429s usually mean a loop |
| 500 or 502 | An unexpected error on our side, or a service we depend on | Retry with backoff, then contact support if it continues |
| Signature verification fails in production but passed in tests | The body was parsed before verification, the timestamp is stale, or the secret was rotated | Verify over the raw or canonical body, enforce the 300 second window, and accept the -Previous header during rotation |
| Only sandbox events arrive | The destination is registered on the sandbox environment, or the service still calls with the test key | Register the destination on the live environment and confirm the variable in the running service |
| The custom domain does not apply | A sandbox application cannot add a custom domain | Configure it on the live environment and re-test the redirect |
| No rule runs on a sandbox transaction | Transaction Monitoring does not evaluate rules in sandbox | Expected. The transaction is stored, but nothing that decides, screens, notifies or charges runs over it |
Inputs and outputs
| Action | Input | Output |
|---|---|---|
| Create a session | workflow_id, vendor_data, callback, and the x-api-key header | A session the user opens in the hosted flow, identified by its session id |
| Watch progress | A destination URL subscribed to status.updated and to every other event family you need | A signed POST per status move, carrying environment and the decision object on final statuses |
| Read the decision | GET /v3/session/{session_id}/decision/ | The same decision object as the webhook, per feature arrays |
| Override a decision | PATCH /v3/session/{sessionId}/update-status/ | A new status for that session |
| File a report | GET /v3/session/{session_id}/generate-pdf/ | A PDF the compliance team can keep. Capped at 50 requests per minute per key |
Paid steps and where a human takes over
Sandbox is free on every plan, and nothing that decides, screens, notifies or charges runs over a sandbox transaction. Live is billed per completed check from prepaid credit. The published unit prices you meet on a standard onboarding are: full ID check $0.33, ID document alone $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP analysis $0.03, AML screening $0.20, proof of address $0.20, white label $0.10 per check, custom questionnaires $0.10.
Business verification is priced by country and data tier, from $2.00 per company, with person AML at $0.20 per UBO or officer and linked KYC at the same $0.33 as any full ID check. Wallet screening is $0.15 per screening, or bring your own screening provider and run it inside Didit.
Free on every plan: sandbox testing, reusable KYC, the workflow orchestrator, the MCP server and the SDKs.
The review boundary is a status, not a setting. Automated checks drive a session to Approved or Declined, and to In Review when warnings need a person. Your go-live plan needs an owner for In Review before traffic arrives, because that queue is where a compliance decision and a customer waiting meet.

Worked cost example
One month at list prices, no plan discount: 12,000 full ID checks, 3,500 AML screenings, 900 proof of address checks, and 400 business verifications with two key people each, so 800 linked KYC checks and 800 person AML checks.
| Line | Arithmetic | USD |
|---|---|---|
| Full ID checks | 12,000 x $0.33 | $3,960.00 |
| AML screenings | 3,500 x $0.20 | $700.00 |
| Proof of address | 900 x $0.20 | $180.00 |
| Business verifications | 400 x $2.00 at the starting tier | $800.00 |
| Linked KYC for key people | 800 x $0.33 | $264.00 |
| Person AML for key people | 800 x $0.20 | $160.00 |
| Total | $3,960.00 + $700.00 + $180.00 + $800.00 + $264.00 + $160.00 | $6,064.00 |
Business verification is priced by country and data tier, so $2.00 per company is the starting tier, not a universal unit price. Higher country tiers, or the Shareholders and UBOs data tiers, can increase the cost per business verification in this example, and the $800.00 line is the floor.
The same flows in the sandbox cost $0.00. Growth takes 4% off every Didit price and Scale takes 10%, applied per unit before you multiply, and plan credit is spent before top-ups. On the Free plan, $10.00 of monthly credit covers 30 full ID checks at $0.33 (30 x $0.33 = $9.90).

Sources
- Didit docs: Sandbox test data, scenarios and magic values
- Didit docs: Applications, Live and Sandbox
- Didit docs: API authentication
- Didit docs: Webhooks and HMAC signing
- Didit docs: Verification statuses and lifecycle
- Didit docs: Rate limiting
- Didit docs: API errors and status codes
- Didit pricing page and the pricing JSON feed, read November 26, 2026
- Didit docs: Pricing and billing
- Didit User Verification page
- Didit MCP server
- Didit integration prompt
- Didit Business Console
Next step: open the sandbox at business.didit.me and run one session end to end. No sales call, nothing billed.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Frequently asked questions
How do I move a Didit application from sandbox to production?
Switch the API key your server sends from the application sandbox key to its live key, and register your webhook destination on the live environment. Because a key belongs to one application and one environment, nothing else in your code changes. Then run one verification yourself and confirm the webhook reports environment as live.
Does the Didit sandbox cost anything?
No. Sandbox sessions are never billed and the balance check is bypassed, on every plan. Sandbox testing is free and unlimited.
What is the difference between the sk_test_ and sk_live_ keys?
The prefix tells you which environment the key belongs to: sk_test_ for a sandbox application and sk_live_ for a live one, followed by 43 URL-safe characters. Keys created before this format have no prefix and keep working, so never validate a key by its prefix.
Does the Didit sandbox call real providers?
No. OCR, AML, face match, NFC, phone, email, IP, proof of address and database validation are all mocked, and no third party is called. Capture is the exception: an active liveness workflow runs the real active capture in the sandbox so you can test the experience, and only the result is simulated.
How do I force a declined result in the sandbox?
Use the scenario catalog served at GET /v1/sandbox/scenarios/, which lists the scenarios and magic values and is authenticated with the same x-api-key header. Outcomes never depend on the pixels you upload, they come from the armed scenario or magic value, so the same test gives the same result on every run.
Do webhooks tell me whether an event came from sandbox or live?
Yes. Every webhook carries an environment field set to sandbox or live, and it also carries sandbox_scenario, which is the armed scenario slug on sandbox sessions and null on live sessions or an unarmed sandbox session. Route or drop events on that field rather than on the key you used.
What happens if production accidentally calls with a sandbox key?
A sandbox key is scoped to the sandbox environment, so verify the running service uses the live key before launch. Check the environment variable that the running service loads before you switch traffic.
What are the rate limits for creating sessions?
POST /v3/session/ is limited to 600 requests per minute per API key, counted in a 60 second fixed window. A 429 response includes Retry-After, X-RateLimit-Scope and X-RateLimit-Reset. On the Enterprise plan the global and session limits can be raised on request.
Can I use a custom domain in the sandbox?
No. A sandbox application cannot add a custom domain, so sandbox sessions always run on the default hosted verification domain. Configure the custom domain on the live environment and test the redirect there before launch.
Where does Didit store sandbox data?
Sandbox data stays in the European Union for every application, whatever data location the application uses for live data. Live data location is chosen when the application is created and cannot be changed afterwards. EU (Ireland) is the only location available today, with Australia, Mexico, the United Arab Emirates and the United States listed as coming soon.
What does a live verification cost compared with a sandbox one?
A live full ID check is $0.33 at list price, made of ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. A sandbox check is $0.00, because every provider is mocked and the balance check is bypassed.
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


