KYC API for Android: 7 Steps to Ship Verification in 2026
Use Didit Android SDK 4.15.4 with a server-side session API. Full KYC costs $0.33 at published list price and the sandbox is free. Keep the API key off the device.

Contents
In this guide
Jump to the part you need.
This guide is for Android teams that need to add identity checks to an app and want a documented API path instead of a custom build. Didit prices a full KYC check at $0.33 list price, and the sandbox is free. The caveat is architectural: the API key must stay on your server, so the Android client never holds the secret.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | What you get |
|---|---|
| Client route | Didit Android SDK, Maven artifact me.didit:didit-sdk, version 4.15.4, minimum Android API 23+ (Android 6.0), NFC supported. |
| Server route | POST https://verification.didit.me/v3/session/ with the x-api-key header. |
| Decision route | GET https://verification.didit.me/v3/session/{session_id}/decision/. |
| Event route | Webhook status.updated, signed with X-Signature-V2 (HMAC-SHA256). |
| Full KYC price | $0.33 per completed check at published list price: ID $0.15 + passive liveness $0.10 + face match $0.05 + device and IP $0.03. |
| Free start | $10 of monthly credit on the Free plan for eligible organizations, and a free sandbox on every plan. |
| Coverage | 220+ countries, 14,000+ document types, 54 capture languages. |
Start free in the sandbox at business.didit.me with no sales call, and read Didit pricing before you size the rollout. For developers, connect Didit to an AI assistant through the Didit MCP server.
What a KYC API for Android does
An API for KYC on Android has two parts. Your server calls the REST API to create a session; the Android app opens that session and captures the document, face and NFC chip when the workflow includes them. Didit returns one decision object with plural feature arrays, so your backend can read id_verifications, liveness_checks, face_matches, nfc_verifications, aml_screenings and the other checks in one place.
Didit serves 4,000+ active companies, covers 220+ countries and 14,000+ document types, and supports 54 capture languages. The full KYC check is $0.33 at published list price, before any plan discount. Inference targets sub-2-second p99, and Didit holds SOC 2 Type 2 and ISO/IEC 27001:2022 certification. You do not build OCR, liveness or face match yourself; you choose a workflow and read the result.
Prerequisites
- A Didit organization and an application. The application owns the API keys and workflows.
- A sandbox API key from Developers then API keys in the Business Console. New keys start with
sk_test_for sandbox orsk_live_for live. - A
workflow_id. The workflow is the stable UUID from/v3/workflows/and decides which checks run. - An Android app on API 23+ (Android 6.0) with access to the Maven repository that serves
me.didit:didit-sdk4.15.4. Setup is in the Android SDK guide. - A server endpoint that can hold
DIDIT_API_KEYand callverification.didit.me. The key is a server secret and never goes in the Android bundle. - An HTTPS callback on an allowed domain, or an Android deep link such as
myapp://. Custom URL schemes are always accepted. - A webhook destination with its signing secret if you want server events. The recommended signature header is
X-Signature-V2. - Native SDK 4.10.0 or later if you verify people in Illinois, Texas or Colorado, where the flow can ask for biometric consent. Version 4.15.4 is current.
7 steps to add KYC to an Android app
- Create the application and copy a sandbox API key. In the Business Console, open Developers then API keys. The primary key belongs to the application. Create a separate key for each service or partner, with only the access it needs. The authentication docs say never ship the key to a browser or mobile bundle.
- Choose the workflow and record its UUID. The workflow decides which checks run: ID document, passive or active liveness, face match, NFC chip reading, AML screening, proof of address, phone or email. KYC and KYB share the same create endpoint, and the workflow type decides which session kind is created. See the Create Session API.
- Add the Android SDK from Maven. The documented artifact is
me.didit:didit-sdk, latest 4.15.4, with minimum API 23+ (Android 6.0) and NFC support. The native SDK overview recommends the Android SDK over a WebView because it handles camera permissions, NFC reading and liveness detection. Follow the Android SDK guide for the Activity call and resource setup. - Create the session from your server. Use the documented create call. The
callbackmust be on one of the application's allowed domains when it is HTTP or HTTPS; an Android deep link such asmyapp://is always accepted. Store the returnedsession_id.
Optional fields includecurl -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"}'language,session_expiration_timefrom 3600 to 2419200 seconds,tags,metadata,contact_detailsandexpected_details. - Open the session in the Android client. Use the native SDK as described in the Android SDK guide. The SDK handles document capture, liveness capture and NFC reading when the workflow includes them. If you do not use the native SDK, open the
session_urlthat Didit returns for the session in a WebView or browser; the docs say the hosted flow supports WebView and browser. Native is the recommended route.
The Android SDK handles document capture, camera permissions and NFC reading for the workflow you selected. - Read the decision on your server. Two routes are documented: the
status.updatedwebhook and the retrieve decision call. Start with the retrieve call while you build.
The response carriescurl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ -H "x-api-key: <API_KEY>"session_id,session_kind,status,session_url,features,decision_trace,reviews,linked_recordsand the feature arrays. Branch onsession_kindfirst:userfor KYC,businessfor KYB. For webhooks, verifyX-Signature-V2with HMAC-SHA256, reject a timestamp older than 300 seconds, compare with constant time, and make the handler idempotent. If you verify only withX-Signature-Simple, re-fetch the decision instead of trusting the payload. See the webhook docs.
The Console shows the ID document result, warnings and the decision trace for each session. - Map the status to app behavior. Use strict string matching because the values are case-sensitive.
Approved: grant access.Declined: show the reason and offer a resubmission when the workflow allows it.In Review: wait for a reviewer, then read the final status.ExpiredorAbandoned: create a new session.Resubmitted: the user must redo the requested steps.Kyc Expired: the verified document passed its expiry date and the person must verify again. The status docs list every value.

Expected output
Creating a session returns the session UUID and the hosted session_url. Hand the session to the Android client and keep the UUID on your server. When the person finishes, the decision call returns one object. Read these fields first:
session_kind:userfor KYC,businessfor KYB. Branch on it before anything else.status: the exact case-sensitive string, for exampleApprovedorIn Review.decision_trace:decided_byismanual,automaticorinvestigator, together withstatus_warnings.id_verifications,liveness_checks,face_matches,nfc_verifications,aml_screenings: plural arrays, absent or null when a feature did not run.reviewsandstatus_override: empty and null unless a person changed the result.
curl https://verification.didit.me/v3/session/<SESSION_ID>/decision/ -H "x-api-key: <API_KEY>"Inputs and outputs
| Field | Direction | Required | Notes |
|---|---|---|---|
workflow_id | Input | Yes | Stable workflow UUID from /v3/workflows/. |
vendor_data | Input | Recommended | Stable user identifier; used for duplicate detection across sessions. |
callback | Input | No | HTTPS on allowed domains or a custom scheme; Didit appends verificationSessionId and status. |
callback_method | Input | No | initiator, completer or both. |
metadata | Input | No | JSON echoed in responses and webhooks, not shown to the user. |
tags | Input | No | Up to 10 names, 50 characters each, stored in upper case. |
session_expiration_time | Input | No | Whole number 3600 to 2419200 seconds. |
language | Input | No | ISO 639-1 code for the verification UI. |
contact_details | Input | No | Email, phone and notification settings. |
expected_details | Input | No | Names, date of birth, nationality, id_country, document types; mismatches become decision warnings. |
portrait_image | Input | Conditional | Base64 reference face for biometric authentication workflows, max 2 MB. |
user_state | Input | No | ISO 3166-2 or US state; in Auto consent mode Illinois, Texas or Colorado triggers biometric consent. |
sandbox_scenario | Input | Sandbox only | Scenario slug from GET /v1/sandbox/scenarios/; rejected with 400 on live applications. |
session_id | Output | Yes | UUID returned by POST /v3/session/. |
session_kind | Output | Yes | user or business; branch on it first. |
status | Output | Yes | Exact status string, case-sensitive. |
session_url | Output | Yes | Hosted URL for a WebView or browser. |
decision_trace | Output | Yes | How the status was reached, including decided_by. |
id_verifications, liveness_checks, face_matches, nfc_verifications, aml_screenings | Output | When run | Plural arrays; absent or null when the feature did not run. |
Failure cases and recovery
| Failure | Meaning | Recovery |
|---|---|---|
401 | The x-api-key is wrong, malformed, revoked or expired. | Re-fetch the key and keep it server-side. |
403 | The header is missing, the scoped key lacks access, or the calling address is outside its IP list. | Use a key with that access from Developers then API keys. |
404 | The session does not exist or belongs to another application. | Check the session_id and the application that owns the key. |
429 | Rate limit; the response includes a wait field in seconds. | Back off, then retry after the wait. |
400 on callback | The callback is not on one of the application's allowed domains. | Add the domain on PATCH /v3/webhook/ or use a custom URL scheme such as myapp://. |
400 on session_expiration_time | The value is outside 3600 to 2419200 or is not a whole number. | Send a whole number in the documented range. |
400 on sandbox_scenario | The application is live, not sandbox. | Remove the field or use a sandbox application. |
| Webhook signature mismatch | Wrong secret, stale timestamp or a body changed before verification. | Recompute X-Signature-V2 over the canonical JSON, keep the timestamp within 300 seconds, compare with constant time and accept the previous secret during rotation. |
Status Declined | One or more checks failed. | Read the warnings and request a resubmission when the workflow allows it. |
Status In Review | Warnings need a human decision. | Wait for the reviewer, then read the final status, reviews and decision_trace. |
Status Expired or Abandoned | The user did not finish in time. | Create a new session and send a new link. |
Status Kyc Expired | The verified document passed its expiry date. | Run a new verification for that person. |
Paid steps and review boundaries
Billing is per completed check from prepaid credit, not per API call. Creating a session and polling it do not add a completed check; the check is billed when it completes. Some no-match database lookups and retries are billable, and the docs pricing page lists them.
| Line item | Price | Unit |
|---|---|---|
| Full KYC: ID document, biometrics, device and IP | $0.33 | Completed check |
| ID document only | $0.15 | Check |
| Passive liveness | $0.10 | Check |
| Face match 1:1 | $0.05 | Check |
| Device and IP analysis | $0.03 | Check |
| NFC chip reading | $0.15 | Add-on check |
| AML screening against 1,300+ lists | $0.20 | Check |
| Proof of address | $0.20 | Check |
| Phone verification | From $0.02 plus carrier | Code |
| Database validation | Variable by country | Check |
| White label flow | $0.10 | Check |
Automated checks drive most moves. In Review is the human boundary: a compliance reviewer opens the session in the Console and approves, declines or requests a resubmission. A reviewer or PATCH /v3/session/{sessionId}/update-status/ can also move an Approved, Declined, Resubmitted, Abandoned or Kyc Expired session. The decision record keeps status_override and decision_trace.decided_by, so your Android app can distinguish an automatic result from a manual one.
Worked cost example
Every figure below is a published list price, before any plan discount. Take 10,000 Android users. Every user gets a full KYC check, 2,000 of them add NFC passport reading, and all 10,000 get AML screening.
Full KYC: 10,000 x $0.33 = $3,300.00. NFC reading: 2,000 x $0.15 = $300.00. AML screening: 10,000 x $0.20 = $2,000.00. Total at list price: $3,300.00 + $300.00 + $2,000.00 = $5,600.00.
Plan discounts then apply to Didit prices. On Scale every Didit price is 10% off: full KYC $0.33 x 0.90 = $0.297, so 10,000 x $0.297 = $2,970.00; NFC $0.15 x 0.90 = $0.135, so 2,000 x $0.135 = $270.00; AML $0.20 x 0.90 = $0.18, so 10,000 x $0.18 = $1,800.00. Total $5,040.00, plus the $299 monthly Scale fee, which is separate. On Free, $10.00 of monthly credit buys 30 full checks at list price ($10.00 / $0.33 = 30.3), and phone codes are excluded from that credit.
Sources
- Didit Android SDK guide, read November 26, 2026.
- Didit native SDK overview, read November 26, 2026.
- Didit Create Session API, read November 26, 2026.
- Didit Retrieve Session API, read November 26, 2026.
- Didit API authentication, read November 26, 2026.
- Didit webhooks, read November 26, 2026.
- Didit verification statuses, read November 26, 2026.
- Didit pricing docs, read November 26, 2026.
- Didit pricing page, read November 26, 2026.
- Didit MCP server, read November 26, 2026.
Start with the free sandbox at business.didit.me, with no sales call. Create an application, copy the sandbox key, and run one full KYC check before you wire the Android client.
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
What is a KYC API for Android?
A KYC API for Android is a server-side interface that creates identity verification sessions and returns a decision, paired with a client component that captures the document and face on the device. Didit uses one REST API for KYC and KYB and a native Android SDK for capture. The API returns plural feature arrays such as id_verifications and liveness_checks.
How do I integrate a KYC API into an Android app with Didit?
Create a Didit application, copy a sandbox API key, pick a workflow and record its UUID, add the Android SDK from Maven, create the session from your server, open the session in the app, then read the decision by webhook or with GET /v3/session/{session_id}/decision/. The seven steps above follow that order. The Android SDK guide covers the client call.
Do I need a backend to use Didit KYC on Android?
Yes. The x-api-key is a server secret and the docs say never ship it to a browser or mobile bundle. Your server creates sessions and retrieves decisions. Implement the client handoff according to the Android SDK guide.
How much does a KYC check cost for an Android app?
A full KYC check is $0.33 at published list price: ID verification $0.15, passive liveness $0.10, face match $0.05 and device and IP analysis $0.03. NFC reading is a $0.15 add-on, and AML screening is $0.20 per check. The sandbox is free, and the Free plan includes $10 of monthly credit for eligible organizations.
What Android versions and SDK version does Didit support?
The Didit Android SDK is distributed through Maven as me.didit:didit-sdk, with latest version 4.15.4. It supports Android API 23+ (Android 6.0) and NFC. Native SDK 4.10.0 or later can show the biometric consent step for users in Illinois, Texas or Colorado.
How do I get the verification result in my Android app?
Your server receives the status.updated webhook or calls GET /v3/session/{session_id}/decision/. The Android client then shows the exact status string: Approved, Declined, In Review, Expired or one of the other documented values. Branch on session_kind on the server before you hand anything to the client.
What happens when a Didit session is In Review?
In Review means automated checks raised warnings that need a human decision. A compliance reviewer opens the session in the Console and approves, declines or requests a resubmission. Your app waits and then reads the final status; the reviews array and decision_trace record what happened.
How do I test Android KYC without paying?
Use the sandbox application and its sk_test_ key. Sandbox testing is free and unlimited, and every check is mocked. You can arm documented sandbox scenarios with sandbox_scenario on a sandbox session to reproduce outcomes; the field returns 400 on a live application.
What are the common Didit API errors and fixes?
401 means the key is wrong, malformed, revoked or expired. 403 means the header is missing, the scoped key lacks access, or the calling address is outside the key's IP list. 404 means the session is outside the key's scope or in another application. 429 includes a wait field, so back off and retry.
Can I use the same workflow for Android and iOS?
The server create and decision calls use the documented endpoints across integrations. Check each SDK guide for platform-specific client integration. The native SDKs are iOS, Android, React Native and Flutter at 4.15.4, plus a web SDK.
How long does a Didit verification session last?
The workflow sets the default session expiration. You can override it per session with session_expiration_time, a whole number from 3600 to 2419200 seconds (1 hour to 4 weeks). A value outside that range returns 400.
Can I use a WebView instead of the Didit Android SDK?
Yes, the documented hosted flow supports WebView and browser. The docs recommend the native SDK because it handles camera permissions, NFC reading and liveness detection. If you use a WebView, open the session_url Didit returns; the Android SDK guide shows the native alternative.
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


