Patient Identity in Digital Healthcare: How to Verify Patients
Verify patients with a Didit workflow: create a session per patient, send them to the hosted flow, and act on the webhook decision. A full check costs $0.33, a bundle of ID document verification, passive liveness, face match.

Contents
In this guide
Jump to the part you need.
This how-to is for digital health teams, including telehealth, patient portals and remote monitoring, that must confirm a patient is who they claim to be before linking records, prescribing, or opening an account. The method we recommend is a Didit verification workflow: ID document $0.15, passive liveness $0.10, face match $0.05 and device and IP $0.03, so $0.33 for a full check. The caveat: Didit returns a decision, and your clinical and compliance team decides what that decision allows.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Item | Detail |
|---|---|
| Outcome | One verified person per patient record, with an audit trail |
| Method | A Didit workflow, one session per patient, the decision delivered on a webhook |
| Full check price | $0.33 per completed check. That is a bundle: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Optional modules are billed separately |
| Optional steps | NFC chip reading $0.15 as an add-on to a document check, AML screening $0.20, proof of address $0.20, age estimation $0.10 |
| Free to test | The sandbox is free and unlimited on every plan |
| Free plan credit | $10 of credit a month for eligible organizations that sign up with a work email, about 30 full checks. Phone verification codes are not covered |
| Decision latency | Sub-2-second p99 inference, then the webhook |
| Where Didit stops | Didit returns a documented status such as Approved, Declined, In Review, In Progress, Not Started, Abandoned, Expired, Kyc Expired, Resubmitted or Awaiting User. Your clinical and compliance team owns the patient-record access decision |
Start free in the sandbox at business.didit.me, with no sales call. Developers who want an AI assistant to drive the same calls can connect Didit through the Didit MCP server. Current list prices and plan details are on the pricing page.
The outcome, and the method we recommend
The outcome is one verified person per patient record. A patient proves their identity once, with a government document and a live selfie, and Didit-integrated applications can reuse the verified identity with the patient’s consent. That matters clinically as much as operationally: when a record is attached to the wrong person, history, allergies and results follow the wrong patient.
The method is a Didit workflow. You build the checks once, create a session per patient, send the patient to the hosted flow, and receive the decision on a webhook. Different journeys can require different checks: a document only for a low-risk booking, document plus face plus proof of address for a portal account that exposes records.
Two failure modes are worth naming. The first is a duplicate record, where the same person registers twice and their history splits. The second is medical identity theft, where someone uses another person's details to obtain care or goods, which contaminates the real patient's record and can lead to wrong treatment later. Both are addressed at the same point: verify before the record is created, and attach the result to a stable patient identifier. More than 4,000 companies use Didit, across 220+ countries, and the modules you need here are ID Verification, Passive and Active Liveness, 1:1 Face Match, NFC chip reading, Proof of Address and Reusable KYC. They are listed on Didit's feature list and priced on the pricing page.

Prerequisites
- A Didit organization, created at business.didit.me with a work email. The sandbox is free and unlimited on every plan.
- An application API key, sent as the
x-api-keyheader on verification calls. - A published workflow that contains the checks your patient journey needs.
- An HTTPS endpoint in your patient system that accepts a POST and answers within 5 seconds.
- A stable patient identifier to send as
vendor_data, for example your medical record number. - A decision on biometric consent: whether your flows reach patients in Illinois, Texas or Colorado, and what your notice says. See the biometric consent documentation.
Step by step: verify a patient
- Create the organization and copy the API key. Sign up, create the organization where your team manages workflows and verification activity, then copy the key from the application. Test with the sandbox key, and switch to the live key only when you go live.
- Build the workflow. In the console, open Workflows, click New workflow, choose Verifying users, then start from the KYC template or describe the checks you need. The call below creates the same workflow by API. A workflow with type
kyccreates user sessions. Save the returnedworkflow.id.curl -X POST https://verification.didit.me/v3/workflows/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_label": "Patient onboarding", "workflow_type": "kyc", "features": [ {"feature": "OCR"}, {"feature": "LIVENESS", "config": {"face_liveness_method": "PASSIVE"}}, {"feature": "FACE_MATCH"}, {"feature": "AML"} ] }' - Bind the session to the patient record. Send your medical record number as
vendor_data. It binds the session to that person and is used for duplicate detection across sessions, so the same patient verifying twice does not create two unrelated identities. - Create the session and send the patient to it. The response contains
session_id,urlandsession_token. Redirect the patient tourlor open it in a WebView. For HTTP or HTTPS callbacks, use an allowed domain. Custom URL schemes are accepted.curl -X POST https://verification.didit.me/v3/session/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "patient-10482", "callback": "https://portal.example.com/verify/return", "user_state": "US-IL", "expected_details": { "first_name": "Ana", "last_name": "Reyes", "date_of_birth": "1991-04-02" } }' - Register the webhook destination. Save the returned
secret_shared_keyas your webhook secret.curl -X POST https://verification.didit.me/v3/webhook/destinations/ \ -H "x-api-key: $DIDIT_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "label": "Patient portal", "url": "https://portal.example.com/api/webhooks/didit", "subscribed_events": ["status.updated", "data.updated"], "webhook_version": "v3" }' - Verify the signature, then apply the decision. Read the raw request body before parsing it. Verify
X-Signature-V2, an HMAC-SHA256 over the sorted canonical JSON, using your destination secret, and check that theX-Timestampis within 300 seconds. De-duplicate onevent_id, answer 2xx within 5 seconds, and write the status to the patient record. Full detail is in the webhook documentation. - Keep a fallback read. If a delivery never arrives, fetch
GET https://verification.didit.me/v3/session/{session_id}/decision/. V3 returns plural arrays, so readid_verifications[]rather than a single V2 field. The decision shape is documented in Create Session.
Expected output
The create session call returns the identifiers you need, and the decision arrives as a webhook envelope. A status update looks like this:
{
"event_id": "uuid",
"session_id": "uuid",
"status": "Approved",
"webhook_type": "status.updated",
"created_at": 1627680000,
"timestamp": 1627680000,
"application_id": "uuid",
"environment": "live",
"workflow_id": "uuid",
"workflow_version": 1,
"vendor_data": "patient-10482",
"metadata": {},
"decision": {
"id_verifications": [],
"liveness_checks": [],
"face_matches": [],
"poa_verifications": []
}
}
The status values are exact and case sensitive: Approved, Declined, In Review, In Progress, Not Started, Abandoned, Expired, Kyc Expired, Resubmitted, Awaiting User. The decision object mirrors the decision endpoint and holds per-feature data in plural arrays: id_verifications[], nfc_verifications[], liveness_checks[], face_matches[], aml_screenings[], poa_verifications[], phone_verifications[], email_verifications[]. Store the arrays, not a single flag, because one workflow can run the same feature twice.

Inputs and outputs
| Field | Direction | What it does |
|---|---|---|
workflow_id | Request | Selects the checks to run. Required. |
vendor_data | Request | Your patient identifier. Binds the session to a person and is used for duplicate detection. |
callback | Request | Where the hosted flow returns the patient. Didit appends the session id and status. For HTTP or HTTPS callbacks, use an allowed domain. Custom URL schemes are accepted. |
expected_details | Request | First name, last name, date of birth, nationality, id_country. Mismatches surface as decision warnings. |
user_state | Request | ISO 3166-2 state, for example US-IL. In Auto consent mode, Illinois, Texas or Colorado makes the flow ask for explicit biometric consent before the first face capture. |
session_expiration_time | Request | Link lifetime in seconds, from 3600 to 2419200. Overrides the workflow setting for this session. |
language | Request | ISO 639-1 code for the verification UI, English, Spanish, French, German and others. |
url | Response | Send the patient here to run the check. |
session_id | Response | Your handle for the decision, the console record and the audit trail. |
status | Webhook | The decision state you apply to the patient record. |
decision | Webhook or GET | The evidence per feature, in plural arrays. |
Failure cases and recovery
| Symptom | Cause | Recovery |
|---|---|---|
| 403 on verification.didit.me | No API key on the request | Add the x-api-key header |
| 401 | Wrong, revoked or expired key | Copy the current key from the console |
400 on workflow_id | The workflow does not exist in that application | Read the ID from the application that owns the key |
| 400 with a callback domain message | An HTTP or HTTPS callback is not on one of the application allowed domains | Add the origin to the allowed domains, or use a custom URL scheme for an app deep link |
400 on session_expiration_time | Value outside 3600 to 2419200, or not a whole number | Send a value inside the range |
| No webhook arrives | Handler slower than 5 seconds, or answering 5xx or 404 | Didit retries twice, about 1 and 4 minutes after the first attempt, then drops the delivery. Resend from the destination delivery log, and read the decision endpoint in the meantime |
| Patient never finishes | Link expired or the tab was closed | Status shows Expired or Abandoned. Create a new session for the same vendor_data |
Paid steps and review boundaries
You pay per completed check, from prepaid credit, and only when a check finishes with a result. The $0.33 full check is a bundle of four modules: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Any module you add to the workflow is billed as its own line. Standalone server-to-server calls are priced separately from the same step inside a session, so read the price book before you build a server-only path. These are the list prices for the steps in this how-to.
| Step | Price (USD) | Notes |
|---|---|---|
| ID document verification | $0.15 | Document verification step |
| Passive liveness | $0.10 | No user action beyond the selfie |
| Active liveness | $0.15 | Adds a prompted movement |
| Face match 1:1 | $0.05 | Selfie against the document portrait |
| Face search 1:N | $0.05 | Per 1:N search |
| NFC chip reading | $0.15 | Add-on to a document check |
| AML screening | $0.20 | Checked against 1,300+ AML, sanctions and PEP lists |
| Ongoing AML monitoring | $0.07 | Per person per year |
| Proof of address | $0.20 | For portals that expose records |
| Email verification | $0.02 | Contact and account security |
| Phone verification | From $0.02 | Plus the carrier price for the country and channel |
| Age estimation | $0.10 | For age-restricted services |
| Custom questionnaire | $0.10 | Intake questions alongside the check |
| White label flow | $0.10 | Your brand on your own domain, Scale plan |
| Reusable KYC, Workflow Orchestrator, MCP server | Free | Included on every plan |
The review boundary is explicit. Didit returns a documented status such as Approved, Declined, In Review, In Progress, Not Started, Abandoned, Expired, Kyc Expired, Resubmitted or Awaiting User. On In Review, a person on your side decides, using the session record in the console. Once the result arrives, your clinical and compliance team owns the patient-record access decision: whether to open the portal, link prior history, or allow a booking. Didit shows the biometric consent step and records the answer as evidence, but whether your journey meets the law that applies to you is your call, not ours.

Worked cost example
Take a telehealth provider that onboards 12,000 new patients a month. It runs a full check on every patient, reads the ePassport chip for the 2,000 patients who have a chip document, screens 600 patients against AML lists, asks 1,500 patients for proof of address because their portal exposes records, and verifies the email of all 12,000.
- Full check: 12,000 x $0.33 = $3,960.00
- NFC chip reading: 2,000 x $0.15 = $300.00
- AML screening: 600 x $0.20 = $120.00
- Proof of address: 1,500 x $0.20 = $300.00
- Email verification: 12,000 x $0.02 = $240.00
- Total at list price: $3,960.00 + $300.00 + $120.00 + $300.00 + $240.00 = $4,920.00
- Per patient: $4,920.00 / 12,000 = $0.41
On Growth, every Didit price is 4% lower, so the same month is $4,920.00 x 0.96 = $4,723.20. The Free plan's $10 of monthly credit buys about 30 full checks at $0.33 each. That credit is for eligible organizations that sign up with a work email, and it does not cover phone verification codes.
Healthcare choices worth deciding early
Consent before the selfie
Illinois, Texas and Colorado require a notice and an explicit release before a business collects face geometry. Didit can show that step before the first face capture and keep the answer on the session. In Auto mode it appears when the IP is in a covered state, when you declare the state with user_state, when the ID document was issued by a covered state, or when the person looks to be in the US but the state cannot be told. Always mode asks everyone whose face is captured. Never mode means you collect consent yourself. If you already have consent, send biometric_consent with given_at and text_version and the flow will not ask again. Native SDKs below 4.10.0 cannot show the step at all, so upgrade before you verify covered patients in a native app.
Reuse across portals and clinics
A patient who moves from one clinic to another, or from a hospital portal to a specialist, should not verify from scratch. Reusable KYC lets the source application mint a share token with POST /v3/session/{sessionId}/share/, and the receiving application redeem it at POST /v3/session/import-shared/ with trust_review set to true, which keeps the source status, or false, which forces the clone into In Review for your own reviewers. It is free on every plan and the cloned session keeps a pointer to the source session for audit. See Reusable KYC.
NFC chip reading and national digital IDs
NFC chip reading costs $0.15 as an add-on to a document check. National digital IDs are also supported as wallets, priced per completed verification: MitID personal $0.25, BankID Sweden $0.20, Smart-ID $0.21, Personalausweis Profile 2 $0.49 and iDIN full identification $0.95, with EUDI Wallet at $0.15 published as coming soon. Coverage and status are on digital ID wallet verification.
No app store install required
The hosted flow opens in a browser or a WebView inside your own app, so patients are not sent to a third-party consumer app to prove who they are. If you ship a native iOS or Android app, the native SDKs support the verification flow inside your app, and you need version 4.10.0 or later for the biometric consent step. If you are replacing a legacy vendor, the migration path is on Switch to Didit.
Sources
- Didit pricing page, list prices and plans, checked November 26, 2026.
- Didit price feed as JSON, machine readable version of the same prices, read November 26, 2026.
- Didit docs: identity verification pricing, read November 26, 2026.
- Didit docs: features and modules, read November 26, 2026.
- Didit docs: quick start, read November 26, 2026.
- Didit docs: create session API, read November 26, 2026.
- Didit docs: webhooks and HMAC signing, read November 26, 2026.
- Didit docs: reusable KYC, read November 26, 2026.
- Didit docs: biometric consent for BIPA, CUBI and Colorado, read November 26, 2026.
- Didit docs: digital ID wallet verification and coverage, read November 26, 2026.
- Regulation (EU) 2016/679 (GDPR), official text.
Start in the sandbox at business.didit.me, build a workflow with the checks your patient journey needs, and run a test session against your callback and webhook handler before you touch a real patient record.
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 we verify a patient without asking them to install an app from an app store?
Use the hosted flow. Create a session with POST https://verification.didit.me/v3/session/ and redirect the patient to the returned url in a browser or a WebView inside your own app. Nothing is installed and no separate consumer app is involved. If you do ship a native app, the native SDKs support the same verification flow inside your app.
What does it cost to verify one patient?
A full check is $0.33, and that is a bundle: ID document $0.15, passive liveness $0.10, face match 1:1 $0.05 and device and IP analysis $0.03. Optional modules are billed separately, for example NFC chip reading at $0.15 and proof of address at $0.20. You pay only when a check finishes with a result.
How fast does a patient get a decision?
Didit runs inference at sub-2-second p99, and the decision reaches you as a status.updated webhook. Your handler has 5 seconds to answer before Didit starts retrying. If a delivery is lost, read the decision endpoint instead of waiting for a redelivery.
What happens when a patient fails liveness or face match?
The session reaches a status of Declined or In Review, and the decision arrays carry the evidence for each step. Create a new session for the same vendor_data if you want the patient to try again. Send In Review cases to a reviewer on your team rather than turning a hard fail straight into a permanent block.
How do we handle biometric consent for patients in Illinois, Texas or Colorado?
Send user_state with an ISO 3166-2 code such as US-IL, or leave Auto mode on, and Didit shows a consent step before the first face capture and records the answer on the session. If you already collected consent, send biometric_consent with given_at and text_version and the flow will not ask again. Didit records the answer as evidence. Whether your journey meets the law is your decision, reviewed with your counsel.
Can a patient reuse a verification at another clinic or portal?
Yes. Reusable KYC passes a finished session from one Didit application to another with a share token, and the receiving application redeems it at POST /v3/session/import-shared/. Set trust_review to true to keep the source status, or false to force a fresh review. The feature is free on every plan.
What is vendor_data and why does it matter in healthcare?
vendor_data is your own stable identifier for the person, such as a medical record number. It binds the session to that patient and is used for duplicate detection across sessions, which is how you keep one person from becoming three patient records.
Does Didit claim HIPAA compliance?
Didit publishes SOC 2 Type 2, ISO/IEC 27001:2022 certification and GDPR support, and we do not publish a HIPAA certification claim. HIPAA obligations sit with the covered entity and its contracts, so confirm business associate terms with Didit directly before you go live. GDPR itself is set out in Regulation (EU) 2016/679.
How many countries can patients be verified in?
Didit covers 220+ countries and territories, recognizes 14,000+ document types, and runs the verification UI in 54 languages. Document recognition covers 130+ languages across 50+ scripts. Check the product page and docs for the specific country and method you need before you commit.
What if our own systems are down when the webhook arrives?
If your handler fails, answer with a 5xx and Didit retries twice, roughly 1 and 4 minutes later, then drops the delivery. You can resend it from the destination delivery log, and the decision is always available from GET https://verification.didit.me/v3/session/{session_id}/decision/. Read that endpoint when a webhook never arrives.
Can we test this before paying anything?
Yes. The sandbox is free and unlimited on every plan. Eligible organizations that sign up with a work email for the Free plan get $10 of credit a month, about 30 full checks, and that credit does not cover phone verification codes.
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


