Skip to main content

Privacy-Preserving Identity Verification: A 2026 How-To

Privacy-preserving verification collects the minimum data a check needs, keeps it for a fixed window, records consent where required, and deletes on request. A full ID check costs $0.33 at list price.

Privacy-Preserving Identity Verification: A 2026 How-To

Contents

In this guide

Jump to the part you need.

Privacy-preserving identity verification fits teams that must confirm a real person while collecting as little as possible and deleting it on a schedule. A full ID check costs $0.33 at list price. Selfie-based Age Estimation costs $0.10 per completed check where your age-assurance requirements allow it. The caveat: retention, consent and deletion are settings we give you, but you stay the data controller, so the lawful basis and your privacy notice remain your work.

Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.

The short answer

Where each privacy control lives on Didit
ControlWhere you set itDefault or range
Processing regionApplication data location, chosen when the application is createdIreland is the default. Confirm that your required processing region is available before creating the application. Enterprise in-country processing is subject to availability and contract. Australia (Sydney), Mexico, the United Arab Emirates and the United States (N. Virginia) are listed as coming soon
Retention windowBusiness Console, App Settings, Data retentionThe standard range runs from 1 month to 10 years. Custom periods and unlimited retention are Enterprise options. A new application starts at the longest window its plan includes: 1 year on Free, 5 years on Growth, 10 years on Scale, unlimited on Enterprise
Biometric consentSettings, Data and privacy, Biometric consentAuto (default, recommended), Always, Never
Session deletionConsole Delete button or Delete Session APIFace embedding goes with the session unless you opted in to template retention
Biometric template retentionData retention settings, or PATCH /v3/webhook/Off by default; a finite period from 1 to 3650 days when enabled
Face Search 1:NLiveness step of a workflow$0.05 per search when it runs; a workflow with automatic Face Search switched off never stores the face embedding

Start free in the sandbox at business.didit.me, with no sales call. For developer setups, connect Didit to an AI assistant through the Didit MCP server, and read every module price on the Didit pricing page.

What privacy-preserving verification means here

  • Collect less. Choose the smallest workflow that answers your question. Age Estimation is $0.10 per check and reads a selfie instead of an ID document. An ID document check on its own is $0.15; if you must avoid face capture, turn off its front-camera selfie. A full ID check is $0.33 and bundles ID verification at $0.15, passive liveness at $0.10, face match 1:1 at $0.05 and device and IP analysis at $0.03.
  • Keep less. Set the retention window to the shortest period your obligation allows. Sessions are deleted exactly as by Delete Session when they reach the end of the window.
  • Prove less. When one of the documented triggers applies, we show a consent step before the first face capture and keep the answer on the session as evidence. You read the evidence instead of storing extra identity data. Auto mode relies on those documented signals, so it can miss a person in a covered state; use Always when you need coverage that does not depend on location or document signals.
  • Delete well. Our Delete Session endpoint removes the session, its decision, its files and, by default, its face embedding. A privacy erasure instruction also purges any retained biometric template for the session's linked User.

We act as your data processor. You remain the controller. Our security documentation lists SOC 2 Type 2 and ISO/IEC 27001:2022 certification (ES144068). Read the full posture on Security and compliance.

A person moving through the hosted verification flow on a phone, from document capture to the selfie step
The hosted verification flow includes document capture and a selfie step.

Prerequisites

  • A Didit organization. Sign up at business.didit.me. The sandbox is free on every plan.
  • An API key sent in the x-api-key header. Deleting a session needs the delete:sessions privilege.
  • Document your retention, consent and template policies. Review the privacy notice with counsel. If you retain biometric templates, make sure your controller instruction and privacy notice cover that retention.
  • The workflow you will run, built in the console or through the workflows API. The quick start builds one from a template in a few minutes.

How to set it up: eight steps

Step 1: Create the application in the region you need

The processing region is a property of the application, chosen when it is created, not a per-session flag. Confirm that your required processing region is available before creating the application. Ireland is the default, and Enterprise in-country processing is subject to availability and contract.

Step 2: Pick the smallest workflow that answers your question

Where your age-assurance requirements allow selfie-based estimation, use Age Estimation at $0.10 per completed check. The Adaptive Age Verification template can fall back to ID verification. A document-only check at $0.15 suits cases where you must read the ID but do not need biometrics. If you need to avoid face capture, turn off the ID Verification step's front-camera selfie and check that no other step or full-session video recording captures a face. Keep the full $0.33 bundle for onboarding, where you need the document, the person and the device together. The Didit User Verification product page sets out that flow, and the quick start documentation shows how to build it. Reusable KYC is listed at no charge. A KYB session that links to an existing approved KYC session does not delete that KYC session when the KYB session is deleted.

Step 3: Set the retention window

Go to Business Console, App Settings, Data retention, choose a window from 1 month to 10 years, then Save. The policy applies to future and existing sessions, and it covers verification inputs and outputs, derived results and operational metadata. At the end of the window the session is deleted exactly as by Delete Session, including its face embedding unless you enabled template retention.

Step 4: Decide the biometric consent mode

Where those laws apply to your business and to the collection, Illinois (BIPA), Texas (CUBI) and Colorado require a notice and an explicit release before a business collects face geometry. The step appears when the workflow captures a face and the mode asks for it. Auto is the default: it uses the documented triggers, checked in order, declared_state, ip_state, ip_unknown and document_issuer, and it can miss a person in a covered state when none of those signals points there. Always asks in supported face-capture flows, unless you send consent you already collected when creating the session. Never disables our prompt. Where the applicable law requires consent, collect it before collecting face geometry from a selfie or ID photo and keep the record.

Timing depends on the trigger. When the IP, a state you declared or an unknown US state triggers the step, it appears before the first face capture. When the ID issuer is the only trigger, it appears right after the document capture and before the selfie, and no face geometry is computed from the ID capture images until the person agrees. On native SDKs below 4.10.0, and on native builds that do not report a version, a required prompt cannot display at all: capture and processing can continue, and the decision records status: "pending" with reason BIOMETRIC_CONSENT_UNSUPPORTED_SDK. Upgrade to 4.10.0 or later if you verify people in those states in a native app.

The selfie capture screen of the Didit flow, with the face inside the oval guide
The selfie capture screen. When our consent prompt is required and the flow can display it, it appears before this selfie. If the ID issuer is the only trigger, the prompt follows document capture.

Step 5: Create the session and pass what you already know

If you collected consent yourself, send it with the session so the flow does not ask again. The decision then records status: "given" with trigger customer_collected.

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": "user-42",
  "callback": "https://myapp.com/kyc/return",
  "user_state": "US-IL",
  "biometric_consent": {
    "given_at": "2026-10-13T09:12:00Z",
    "text_version": "consent-v3"
  }
}'

user_state takes an ISO 3166-2 subdivision code such as US-IL or ES-M, or a US state code or name. An unknown value returns 400. given_at cannot be in the future. The response carries session_id, url and session_token.

Step 6: Read the decision and store the minimum

Fetch GET /v3/session/{session_id}/decision/ as your fallback, or take the webhook. Register a destination with POST /v3/webhook/destinations/, keep the returned secret_shared_key, and verify the X-Signature-V2 header as an HMAC-SHA256 of the canonical JSON before you trust a payload. Deduplicate on event_id because deliveries can repeat, and respond within 5 seconds.

V3 returns plural arrays (id_verifications[], liveness_checks[], face_matches[], aml_screenings[]), so never read singular V2 fields. Keep only the decision, the status and the consent evidence you have a reason to hold. Do not copy document images into your own store unless you can defend the reason.

A session detail page in the Didit Business Console showing the liveness check and its result
The session view shows the verification records and files removed by Delete Session.

Step 7: Delete on schedule and on request

Use the default operational instruction when you remove a session for your own reasons, and a privacy erasure instruction for a data-subject request. Both calls are idempotent. Set DIDIT_API_KEY and SESSION_ID as shell variables before you run the examples, and quote the URL so the shell does not read it as redirection.

curl -X DELETE "https://verification.didit.me/v3/session/${SESSION_ID}/delete/" \
-H "x-api-key: ${DIDIT_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"deletion_instruction": "operational_session_delete", "instruction_id": "ops-2026-0142", "retain_face_embeddings": true, "face_retention_days": 365}'

An operational delete follows your application policy by default. With retention on, the session goes and one image-free template stays anchored to the User. A privacy erasure instruction purges every retained biometric template for that User and never creates a new one.

curl -X DELETE "https://verification.didit.me/v3/session/${SESSION_ID}/delete/" \
-H "x-api-key: ${DIDIT_API_KEY}" \
-H "Content-Type: application/json" \
-d '{"deletion_instruction": "privacy_erasure", "instruction_id": "dsar-2026-0142"}'

The call removes the session and every verification attempt it holds, including results a resubmission replaced: the decision, the extracted data, feature records, reviews, the activity log and all stored files. A KYB session is deleted together with the verifications it created for its key people and its corporate owners' KYB sessions, recursively, while a verification it only links to, such as an already approved Reusable KYC, is not deleted. Queued webhooks for the session are dropped. Credits already consumed are not refunded. The parent User or Business entity is not deleted; use POST /v3/users/delete/ or POST /v3/businesses/delete/ for that. An erasure request must separately account for webhook payloads already delivered, copies in your own systems, share tokens, blocklist entries and any other records still in scope.

Step 8: Purge or expire retained biometric templates

Template retention is off by default. To enable it, open Business Console, App Settings, Data retention, turn on Retain biometric template, then enter the number of days a template may be kept, between 1 and 3650. The setting cannot be saved without that finite period. We apply the shorter of it, your general retention window, and any deadline you send on a deletion call, so the earliest configured deadline wins.

Turning the policy back to delete_with_session does not purge templates that already exist, so purge them explicitly. Set TEMPLATE_UUID to the template's uuid before you run the call.

curl -X DELETE "https://verification.didit.me/v3/biometric-templates/${TEMPLATE_UUID}/" \
-H "x-api-key: ${DIDIT_API_KEY}"

Templates are also visible in the Business Console under Lists, Biometric templates, and on the owning User's profile. A purge is also triggered by deleting the User, by any privacy erasure deletion for that User, or by expiry at expires_at. Every retain and purge attempt, including failures, lands on our audit trail with the acting principal and the instruction_id you supplied or one we generate.

If your workflow does not need automatic duplicate-face detection, switch off automatic Face Search in the Liveness step. The workflow then stores no face embedding for those sessions. If duplicate-face detection must continue after session deletion, use finite biometric-template retention where your policy permits it. The steps are documented under turning automatic Face Search off.

Expected output

Delete Session returns 200 with a JSON body once the deletion has completed. It no longer returns 204.

{
  "session_id": "<uuid>",
  "session_number": 1024,
  "face_retention_outcome": "deleted",
  "biometric_template_uuid": null,
  "biometric_template_expires_at": null,
  "deleted_child_verifications": 0
}

Read face_retention_outcome first. deleted means the session and its face embedding are gone. retained_with_user means the session is gone but an image-free template stays until biometric_template_expires_at. none means there was no face embedding, for example on a KYB session or a document-only check. ineligible_no_vendor_user means retention was requested but the session had no linked User, so nothing could be anchored.

Failure cases and recovery

What goes wrong on these calls, and what to do
SymptomCauseRecovery
401Wrong, revoked or expired keyIssue a new key and retry; the delete call is idempotent
403 with "You do not have permission to perform this action."Missing key, or a key without delete:sessions. Console user tokens get 403 on the biometric templates APIUse an API key that holds the privilege
404 on deleteSession already deleted, or unknown session_idVerify the session ID. An already-deleted session can leave a retained biometric template, which you can locate with GET /v3/biometric-templates/ and purge with DELETE /v3/biometric-templates/{uuid}/, or purge by deleting its owning User. Close the request only when you have independent evidence that the intended session and any retained templates in scope were deleted
400 on deleteprivacy_erasure combined with retain_face_embeddings: trueDrop the retain flag on erasure calls
400 on session createInvalid workflow_id, or an unknown user_state valueFix the value and recreate the session. A given_at in the future is also refused by the documented rule
503 on template purgeAn external store is unavailable. The template moves to purge_failed and is already excluded from matchingRepeat the purge
Webhook never arrivesYour handler took longer than 5 seconds, or answered 5xx or 404. We retry twice, about 1 and 4 minutes later, then drop the deliveryResend from the destination's delivery log

Inputs and outputs

Fields used in this flow
FieldDirectionWhat it does
workflow_idInputWorkflow to run; an invalid id returns 400
vendor_dataInputYour user id; anchors a retained template to a User
user_stateInputISO 3166-2 subdivision or US state; a covered state shows the consent step with trigger declared_state
biometric_consentInputgiven_at and text_version for consent you already collected
session_id, url, session_tokenOutputSession identifier, hosted flow URL, token for the SDK
deletion_instructionInputoperational_session_delete (default) or privacy_erasure
instruction_idInputYour durable reference, up to 255 characters, stored on the audit trail
face_retention_daysInput1 to 3650; required when retaining unless the application already sets it
face_retention_outcomeOutputWhat happened to the face biometric data
deleted_child_verificationsOutputKYB child verifications deleted with the session; always 0 for KYC
Published list prices for the checks in this flow
StepPrice (USD)Unit
Full ID check$0.33check
ID Verification$0.15check
Passive Liveness$0.10check
Face Match 1:1$0.05check
Device and IP Analysis$0.03check
Age Estimation$0.10check
AML Screening$0.20check
Face Search 1:N$0.05search
Biometric Authentication$0.10auth
Delete SessionNo separate charge listed; credits already consumed are not refundedcall

We run the checks, return the decision, show the consent step when a documented trigger applies and the app can display it, record the answer, and delete on your instruction. You decide the lawful basis, write the privacy notice, choose whether a biometric template is retained, and decide what to do with a decision. The biometric consent page says the same thing: it is not legal advice, and you review the journey with your counsel.

Worked cost example

You onboard 2,000 users a month with a full ID check, then delete each session 30 days later. At list price the checks cost 2,000 x $0.33 = $660.00 a month. On the Scale plan each module is 10% off, so 2,000 x $0.297 = $594.00 of usage. Scale costs $299 per month. The $350 monthly credit covers the first $350 of the $594 in checks, and prepaid top-up credit covers the remaining $244. The plan fee plus the top-up credit consumed is $543 before applicable taxes. The example assumes no separately billed checks.

If half of those users only need age assurance that selfie-based estimation satisfies, the arithmetic changes. 1,000 age checks at $0.10 = $100.00, plus 1,000 full ID checks at $0.33 = $330.00, so $430.00 instead of $660.00. The $10 monthly Free plan credit buys about 30 full ID checks at $0.33 each. The credit applies to the first organization created in the console with an eligible work email for a company domain. No separate price is listed for Delete Session. Deleting a session does not refund credits already consumed.

Sandbox acceptance checklist

  1. A covered state. Create a session with user_state set to US-IL in Auto mode. The consent step should appear, and the decision's biometric_consent block should record trigger: "declared_state" and the answer the person gave.
  2. An older native SDK. Run a build below 4.10.0 and open the decision. It should show required: true, status: "pending" and reason BIOMETRIC_CONSENT_UNSUPPORTED_SDK, because that build cannot show the prompt.
  3. An operational delete that retains a template. Send retain_face_embeddings: true with a finite face_retention_days. The response should return face_retention_outcome: "retained_with_user", a biometric_template_uuid and a biometric_template_expires_at. Confirm the template with GET /v3/biometric-templates/{uuid}/.
  4. A privacy erasure that purges it. Send deletion_instruction: "privacy_erasure" for a session belonging to the same User. The response should return face_retention_outcome: "deleted" or none, and the earlier template should no longer be listed.
  5. The event path. Replay a webhook delivery and confirm your X-Signature-V2 check passes and your event_id deduplication drops the second copy.

Sources

Next step: create an application, set the retention window to the shortest period your obligation allows, and run one verification in the sandbox at business.didit.me. There is no sales call.

Try it

Try this in the sandbox

Run the check this guide describes, free.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alberto Rosas

Co-founder and CEO

Alberto Rosas

Alberto Rosas

Co-founder and CEO

About Didit

Questions

Frequently asked questions

What is privacy-preserving identity verification?

It is a verification flow built to collect only the data a decision needs, keep it for a stated window, record consent where the law requires it, and delete it on request. On Didit that means a minimum workflow, a retention window between 1 month and 10 years, a consent step for covered US states, and a Delete Session endpoint that removes the session and its face embedding. Didit is the processor and you remain the controller.

How can I verify age without collecting a date of birth?

Run an Age Estimation check at $0.10 per check. It is a selfie-based age check. Teams can omit ID capture when their requirements allow it, and the Adaptive Age Verification workflow template can use an ID fallback when the selfie is not enough.

What are the alternatives to fingerprinting for device identification without tracking?

For a single verification, use the verification session ID to correlate events. If you need to recognize a returning browser, a first-party random token scoped to your own service can recognize that browser while the token persists. It can be reset and does not prove which physical device is in use. Didit lists Device and IP Analysis at $0.03 per check, but the cited material does not establish that it is fingerprint-free.

Does deleting a Didit session delete the face biometric?

By default, yes. The face embedding behind Face Search 1:N and duplicate detection is deleted with the session, and the response reports it in face_retention_outcome. If you send a privacy erasure instruction, every retained template for the session's linked User is purged and no new one is created.

Can I keep duplicate-face detection after I delete the session?

Yes, if you opt in to biometric-template retention and set a finite period between 1 and 3650 days. Didit deletes the session and all of its data and keeps one image-free face biometric template anchored to the User. The template holds the numeric face template and retention metadata only, never the face image, liveness video, document data or decision. It is still biometric data, so your privacy notice has to cover it.

Where does Didit store verification data?

Each application has a data location chosen at creation. Confirm that your required processing region is available before creating the application. Ireland is the default, and Enterprise in-country processing is subject to availability and contract. Australia (Sydney), Mexico, the United Arab Emirates and the United States (N. Virginia) are listed as coming soon.

How long can I keep verification data on Didit?

The standard console range runs from 1 month to 10 years, with custom and unlimited windows on Enterprise. A new application starts at the longest window its plan includes: 1 year on Free, 5 years on Growth, 10 years on Scale, unlimited on Enterprise. When a session reaches the end of the window it is deleted the same way as a manual Delete Session call.

What does privacy-preserving verification cost on Didit?

A full ID check is $0.33, made of ID document verification at $0.15, passive liveness at $0.10, face match at $0.05 and device and IP analysis at $0.03. An age-only check is $0.10 and AML screening is $0.20. No separate price is listed for Delete Session, and credits already consumed by a verification are not refunded when you delete it.

Do I need consent before the selfie in Illinois, Texas or Colorado?

Where those laws apply to your business and to the collection, Illinois (BIPA), Texas (CUBI) and Colorado require a notice and an explicit release before a business collects face geometry from a selfie or an ID photo. In supported flows, Didit normally prompts before the first face capture; if the ID issuer is the only trigger, the prompt follows ID capture and precedes the selfie, and Didit waits for agreement before computing face geometry from the ID images. Always asks in supported face-capture flows unless you supply consent you already collected, and Never disables our prompt. Native SDKs below 4.10.0 and native builds that do not report a version cannot display the prompt. If the session requires consent and such a build captures a face without consent on record, processing can continue and the decision records pending consent.

What happens if I request privacy erasure and ask to retain the face template in the same call?

The request is rejected with a 400 error. A privacy erasure instruction purges every retained template for the session's linked User and never creates a new one, so combining it with retain_face_embeddings: true contradicts itself.

How do I request Didit's DPA or compliance attestations?

Ask your Didit representative for a DPA, technical and organizational measures, or compliance attestations. We share our SOC 2 Type 2 report under NDA. We also hold ISO/IEC 27001:2022 certification (certificate ES144068).

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.