React Native ID Verification: SDK Integration Guide 2026
Install @didit-protocol/sdk-react-native 4.15.4 with npm or Yarn, create the session on your backend, and open the native flow with the session token. A full KYC check costs $0.33; the SDK and sandbox are free.

Contents
In this guide
Jump to the part you need.
If your app runs on React Native 0.76 or newer with the New Architecture, install @didit-protocol/sdk-react-native 4.15.4, create the session on your backend, and open the native flow with the session token. A full KYC check costs $0.33, and the SDK, the workflow orchestrator and the sandbox are free. The caveat: the SDK never holds your API key, so you need one backend endpoint before the first verification runs.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
To have a coding agent write the wiring, see Didit MCP setup.
| Item | Detail |
|---|---|
| Package | @didit-protocol/sdk-react-native. Install with npm or Yarn. |
| Latest version | Version 4.15.4 pins the iOS and Android SDKs to 4.15.4 and adds no new JavaScript API |
| Minimum React Native | 0.76+ with the New Architecture |
| Minimum OS | iOS 13.0+ and Android API 24+. NFC requires iOS 15.0+ or a compatible Android device with NFC. |
| NFC passport and eID reading | Supported on chip-enabled documents, billed as a $0.15 add-on per check |
| Full KYC check | $0.33: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05, device and IP $0.03 |
| Free plan | $10 of credit a month for the first organization created with an eligible work email for a company domain. Unused credit expires each month and phone verification codes are excluded. |
| Sandbox | Free and unlimited on every plan |
| SDK, workflow orchestrator, MCP server | Free, included with every account |
What you end up with: native SDK or hosted flow
The result is a native verification screen opened from your React Native code, not a browser view. Use the webhook or decision endpoint to determine the onboarding outcome. Follow the React Native SDK guide for the mobile call signature and result handling.
Use the native SDK or open the hosted flow in a browser. A coding agent can help set up either option.
Native SDK
Add @didit-protocol/sdk-react-native to the app, pass the session token your backend returns, and the SDK opens the native iOS and Android screens with camera, NFC reading and liveness handled for you. The SDK supports iOS 13.0+ and Android API 24+. NFC requires iOS 15.0+ or a compatible Android device with NFC. We recommend the native SDK for React Native apps that need native capture or NFC, and the React Native SDK guide carries the exact commands.
Hosted flow
For a hosted integration, create a session and open the returned url in a browser. We recommend the native SDK for React Native. An integration without NFC access can report INTEGRATION_WITHOUT_NFC_ACCESS.
Coding-agent setup
We provide a hosted MCP server at https://mcp.didit.me/mcp with OAuth sign-in and a copyable integration prompt, free on every account. Give the prompt to your coding agent for the documented setup, including workflow creation through POST /v3/workflows/. The integration prompt is the same recipe in one copyable block.
Prerequisites
| Requirement | Detail |
|---|---|
| Plan | Free works for building. The $10 of monthly credit goes to the first organization created with an eligible work email for a company domain. Used only for full KYC at $0.33 a check, the full $10 covers 30 checks at list price and leaves $0.10. Credit expires each month and excludes phone verification codes. Growth is $99 a month with $115 of credit and 4% off each price, Scale is $299 a month with $350 of credit and 10% off. |
| Client | React Native 0.76+ with the New Architecture, iOS 13.0+, Android API 24+. NFC requires iOS 15.0+ or a compatible Android device with NFC. |
| API key | One key on your server only. The decision endpoint needs a key holding read:sessions |
| Optional hosted callback | A custom scheme such as myapp://kyc/return is always accepted. HTTP and HTTPS callbacks must match an allowed origin when the application has configured allowed domains, or session creation returns 400 |
| Biometric consent | In Auto consent mode, set user_state to the person's state of residence. For residents of Illinois, Texas or Colorado, Didit prompts for explicit biometric consent before the first face capture unless the request includes consent already collected in biometric_consent. An unrecognized user_state value returns HTTP 400. The native prompt requires SDK 4.10.0 or later. React Native SDK 4.15.4 meets that requirement. See the biometric consent docs. |
Step by step: from a new organization to a native verification
- Create the organization. Go to business.didit.me, sign up with SSO or email and password, and create your Organization. Everything else, workflows, API keys and review, lives there.
- Build the workflow. In the sidebar click Workflows, then New workflow. Choose what you verify (Verifying users), then how to start: Describe it, Start from a template, or Start empty. The KYC template is the standard user onboarding path.
- Get the API key onto your server. If you signed up in the Console, copy your sandbox API key and keep it on your server. If you are signing up programmatically, use these two calls instead:
POST https://apx.didit.me/auth/v2/programmatic/register/, thenPOST https://apx.didit.me/auth/v2/programmatic/verify-email/with the 6-character code. Saveresponse.sandbox_application.api_keyas your sandbox key andresponse.application.api_keyas the live key. Neither goes in the app bundle.For API-based workflow creation, follow the Quick Start example for
POST /v3/workflows/. That example includes AML screening, billed separately at $0.20 per completed check. Save the returnedworkflow.idfor session creation. - Create the session in your backend.
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":"myapp://kyc/return"}'The response carries
session_id,urlandsession_token. Send onlysession_tokento the device. Settingvendor_databinds the session to your user id and feeds duplicate detection. - Install the SDK and open the flow. Add
@didit-protocol/sdk-react-nativewith npm or Yarn. The package exposesstartVerificationandstartVerificationWithWorkflow, and the React Native SDK guide gives the exact call signature and result fields for each. Version 4.15.3 fixed both calls on Android: if the app goes to the background, the call now waits until the app is back in the foreground before opening the screen, and always settles. - Register the webhook.
POST https://verification.didit.me/v3/webhook/destinations/withlabel,url,subscribed_eventsandwebhook_versionset to v3. Save the returnedsecret_shared_key. VerifyX-Signature-V2(HMAC-SHA256 over canonical JSON), check thatX-Timestampis within 300 seconds, compare in constant time, de-duplicate onevent_id, and acknowledge valid deliveries within five seconds. - Read the decision when you need it.
curl https://verification.didit.me/v3/session/SESSION_ID/decision/ \ -H "x-api-key: $DIDIT_API_KEY"Branch on
session_kindfirst, then read the feature arrays. Results use plural arrays when present, and fields for checks that did not run can be null or absent.

Field and event mapping
| What you see | Where it comes from | What to do |
|---|---|---|
status | webhook envelope where webhook_type is status.updated | Read status. The event embeds decision for Approved, Declined, In Review and Abandoned. Use the decision endpoint when you need to retrieve the decision separately. |
vendor_data, event_id, session_id | webhook envelope | Map to your user, de-duplicate, store for support |
session_kind | decision response | Branch on this before reading anything else: user or business |
id_verifications[], liveness_checks[], face_matches[], nfc_verifications[], aml_screenings[] | decision object | Results use plural arrays when present. Fields for checks that did not run can be null or absent. |
nfc_skip_reason | decision, top level | Explains why NFC did not run, for example USER_SKIPPED or DEVICE_WITHOUT_NFC |
biometric_retention.deletes_at | decision object | The date live biometric data for that session is deleted |

What each status means for onboarding
| Status | What it means | What to do |
|---|---|---|
Not Started | Session created, the link has not been opened | Send a reminder if too much time passes |
In Progress | The person is in the flow | No action, leave onboarding pending |
Approved | The session was approved automatically or by a reviewer | Continue onboarding according to your policy. |
In Review | Warnings need a human | Keep onboarding pending and refer the session for review |
Declined | The session was declined automatically or by a reviewer | Notify the person, or request a resubmission if the issue is fixable |
Resubmitted | You asked the person to redo specific steps | Keep onboarding pending until it settles again |
Expired | The link timed out before it was opened | Create a new session |
Abandoned | The person started but did not finish in time | Create a new session or nudge the person |
Kyc Expired | A previously approved document passed its expiry date | Re-verify before keeping access |
Test with sandbox data
The sandbox is free and unlimited on every plan, and it does not touch real people or real billing. A sandbox key produces sessions with environment set to sandbox in every webhook.
- Fetch the scenario list from
GET /v1/sandbox/scenarios/and pick a documented scenario. - Pass
sandbox_scenariowhen you create the session, or arm it afterwards withPOST /v3/session/{session_id}/sandbox/arm/while the session is still Not Started. - Complete the flow and check that the session webhook has
environmentset tosandboxand carries the expectedstatus.
For an approval scenario, expect Approved and a status.updated event containing decision. Repeat with a documented decline or review scenario and check that your app handles the corresponding status.
A live session creation request that contains sandbox_scenario returns HTTP 400.

Error cases and fixes
| Symptom | Cause | Fix |
|---|---|---|
| 401 | Invalid, revoked or expired API key | Issue a new key and redeploy the server |
| 403 with "You do not have permission to perform this action." | Missing x-api-key header or insufficient key privileges | Check that your server sends x-api-key. For the decision endpoint, confirm the key has read:sessions. |
400 on workflow_id | Invalid or deleted workflow | Copy the id from the workflows list again |
400 on callback | The HTTP or HTTPS URL is not on the allowed domains configured for the application | Add the origin, or use a custom scheme such as myapp:// |
400 on session_expiration_time | Outside 3600 to 2419200 seconds, or not a whole number | Send a whole number inside the range |
| 404 with "Not found." | Session does not exist or belongs to another application | Check the id and the key you used |
| Webhook retried twice then dropped | Your endpoint timed out, or answered a 5xx or a 404 response | Verify the signature and timestamp, de-duplicate by event_id and acknowledge valid deliveries within five seconds. Resend from the destination delivery log if one is still dropped. |
biometric_consent.status is pending with reason BIOMETRIC_CONSENT_UNSUPPORTED_SDK | Native SDK below 4.10.0, or a version that is not reported | Upgrade to 4.15.4 |
Disconnect
To stop this app from starting new verifications, disable the onboarding action that asks your backend to create a session.
What it costs on both ends
The SDK, workflow orchestrator, MCP server and sandbox are free. We bill completed checks from prepaid credit. Some no-match database lookups and retries are also billable, and the pricing docs list them.
A worked example. 10,000 full KYC checks in a month plus 2,000 NFC passport reads, at list price:
- 10,000 × $0.33 = $3,300.00
- 2,000 × $0.15 = $300.00
- Total: $3,600.00
On Growth the unit prices drop 4%: 10,000 × $0.3168 = $3,168.00, plus 2,000 × $0.144 = $288.00, so $3,456.00 of usage. Apply the $115 monthly credit and the $99 monthly fee: $3,456.00 - $115.00 + $99.00 = $3,440.00. On Scale, 10% off: 10,000 × $0.297 = $2,970.00, plus 2,000 × $0.135 = $270.00, so $3,240.00 of usage. Apply the $350 monthly credit and the $299 monthly fee: $3,240.00 - $350.00 + $299.00 = $3,189.00. On the Free plan, $10.00 of monthly credit covers 30 full KYC checks at $0.33 each, leaving $0.10.
How can I demo AI identity verification in React Native?
A workflow can include document capture with OCR, MRZ and barcode reading; a selfie with passive liveness; and a 1:1 face match against the document portrait. For supported chip-enabled documents, add an NFC check and inspect the chip authenticity result or the reported skip reason.

Why teams pick Didit for this
We run identity and fraud infrastructure for 4,000+ companies, cover 220+ countries and 14,000+ document types, and the verification flow and native SDKs ship in 54 languages. Inference runs at sub-2-second p99. We have a SOC 2 Type 2 report and are certified to ISO/IEC 27001:2022. All of that arrives through one open API, a visual workflow editor and a public price list, with no sales call needed to start.
Sources
- Didit docs: Native mobile KYC SDKs overview
- Didit docs: React Native SDK guide
- Didit docs: Quick start
- Didit docs: Create Session API
- Didit docs: Retrieve Session decision
- Didit docs: Webhooks and HMAC signing
- Didit docs: Verification statuses
- Didit docs: Sandbox test data
- Didit docs: Pricing and billing rules
- Didit pricing page
- Didit pricing as JSON, read November 26, 2026
- Didit MCP server setup
- Didit integration prompt
- Didit docs: Biometric consent
Next step: create a free organization at business.didit.me, take the sandbox key and run one session end to end in your React Native build. No sales call is involved, and the sandbox stays free.
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
Alejandro Rosas
Co-founder and CTO

Questions
Frequently asked questions
How do I add identity verification to a React Native app?
Install @didit-protocol/sdk-react-native with npm or Yarn, create a session on your backend with POST /v3/session/, and pass the returned session_token to the SDK. The React Native SDK guide has the exact call signature and result fields. Your server receives the decision by webhook or by fetching GET /v3/session/{session_id}/decision/.
Does the Didit React Native SDK need a WebView?
No. The React Native package wraps the native iOS and Android SDKs for camera capture, liveness and NFC reading. For a hosted integration we still suggest creating a session and opening the returned url in a browser, but we recommend the native SDK for React Native.
How much does one identity check cost in a React Native app?
A full KYC check is $0.33: $0.15 for the ID document, $0.10 for passive liveness, $0.05 for face match and $0.03 for device and IP analysis. NFC chip reading is a separate $0.15 add-on. The SDK itself, the workflow orchestrator and the sandbox are free.
What React Native and OS versions does the SDK support?
React Native 0.76 or newer with the New Architecture, iOS 13.0 or newer and Android API 24 or newer. NFC requires iOS 15.0 or newer on the device, or a compatible Android device with NFC. Version 4.15.4 pins the iOS and Android SDKs to 4.15.4 and adds no new JavaScript API.
Can I keep the API key inside the React Native app?
No. The API key belongs on your server, where it creates the session. Only the session_token, which is scoped to one session, goes to the device. Shipping the key in the bundle would let anyone create sessions on your account.
How do I test the flow without real ID documents?
Use the sandbox. Pick a documented scenario from GET /v1/sandbox/scenarios/, pass sandbox_scenario on session creation or arm it with POST /v3/session/{session_id}/sandbox/arm/, then check what your handler receives. Sandbox testing is free and unlimited, and the field is rejected on live applications.
Which session statuses does my app need to handle?
A KYC session is one of Not Started, In Progress, Approved, Declined, In Review, Resubmitted, Expired, Abandoned or Kyc Expired. KYB sessions add Awaiting User, which does not appear on a React Native KYC flow. The strings are case-sensitive and contain spaces, and Kyc Expired uses a single capital K, so match on the exact string and keep your mapping in one place.
Does the React Native SDK read NFC chips in passports and eIDs?
Yes, for supported chip-enabled documents on iOS 15.0+ or an Android device with NFC. Add an NFC check and inspect the chip authenticity result or the reported skip reason. NFC reading is billed at $0.15 per check on top of the document check, and the decision carries nfc_skip_reason when it does not run, for example DOCUMENT_WITHOUT_CHIP or INTEGRATION_WITHOUT_NFC_ACCESS.
Can a coding agent write the integration for me?
We provide a hosted MCP server at https://mcp.didit.me/mcp with OAuth sign-in and a copyable integration prompt, free on every account. Give the prompt to your coding agent for the documented setup, including workflow creation through POST /v3/workflows/. MCP helps write the integration and can be used with either the native or the hosted runtime route.
What happens if my webhook is slow or returns an error?
We retry twice, after about one minute and about four minutes, when your endpoint times out or answers a 5xx or a 404 response, then we drop the delivery. Verify X-Signature-V2 before parsing, de-duplicate on event_id, and acknowledge valid deliveries within five seconds. You can resend a dropped delivery from the destination log, or re-fetch with GET /v3/session/{session_id}/decision/.
Where can I see AI in identity verification demonstrated, like at an expo?
A demo can show document capture and OCR, a selfie with passive liveness, a 1:1 face match, and for supported chip-enabled documents an NFC check. Pick a documented sandbox scenario to test how your app and server handle its outcome, then watch the Academy walkthrough of the screens a person sees.
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


