Zero-Knowledge KYC: Privacy-Preserving Compliance (2026)
Zero-knowledge proofs prove an attribute without revealing the data. Didit does not document a ZK proof generator; the privacy route we do document is narrow collection, free reusable KYC and deletion controls.

Contents
In this guide
Jump to the part you need.
Zero-knowledge KYC fits teams that must prove an attribute, such as age or a cleared identity, without holding the underlying document. Didit does not ship zero-knowledge proofs as a documented feature, so this guide shows the privacy-preserving route we do document: collect less, reuse a finished verification, and delete on a schedule. A full KYC check costs $0.33.
Last updated: November 26, 2026. Prices checked against the live Didit price feed on November 26, 2026.
| Privacy goal | Documented control | Price |
|---|---|---|
| Add an age check to a workflow | Age Estimation step | $0.10 per check |
| Avoid a second document upload | Reusable KYC share and import between Didit applications | Free |
| Avoid keeping data indefinitely | Data retention window, 1 month to 10 years | Included in the plan |
| Avoid keeping a face after deletion | Face retention policy, delete_with_session by default | Included |
| Honour an erasure request | Delete Session with the privacy_erasure instruction | Credits already used are not refunded |
| Control where the data is processed | Data location per application, EU (Ireland) by default | Included, in-country processing on Enterprise |
Start free in the sandbox at business.didit.me, no sales call. For developers, connect Didit to an AI assistant through the Didit MCP server, and read the pricing page for every unit price.
What a zero-knowledge proof does, and what it cannot do for KYC
A zero-knowledge proof lets one party, the prover, convince another party, the verifier, that a statement is true without revealing anything beyond the statement. Three properties define it. Completeness means an honest prover with a true statement always convinces an honest verifier. Soundness means a false statement cannot pass. Zero knowledge means the verifier learns nothing else.
Production systems use non-interactive proofs so a single artifact can be checked later, out of band. zk-SNARKs produce small proofs and need a trusted setup. zk-STARKs skip the trusted setup and produce larger proofs. Both are general cryptography, not a Didit feature, and neither is a drop-in module you add to a verification flow.
What constrains the design is the audit record, not the cryptography. Selective disclosure only works when there is a real verification behind each disclosed attribute. A regulated firm has to show an auditor which checks it ran, on which person, and when. FATF recommends keeping records for at least five years, and local law may impose different or longer requirements. A proof that says "this person is over 18" does not reproduce an identity record, so selective disclosure in practice sits downstream of one real verification: you verify once, keep the record you are obliged to keep, and disclose attributes from it.
The European Union is putting the same idea into its own rails. The EU Digital Identity Wallet under eIDAS 2.0 issues attestations a verifier can check without seeing the source document. We list EUDI Wallet verification at $0.15 per completed verification with the status coming soon, which is a published rate rather than a production feature.
What Didit documents today
Our documentation does not describe a zero-knowledge proof generator, and we would rather say that plainly than imply one. What we do publish is the set of controls that answers the privacy question most teams are actually asking. We run these for 4,000+ companies.
- Narrow collection. Age Estimation is listed at $0.10 per check. Confirm its documented output and retention behavior for your workflow.
- One verification, reused. Reusable KYC lifts a finished session into another Didit application at no charge, so a second product does not repeat the document upload.
- A retention window you choose. Every session is deleted when its window ends, with the same behaviour as the Delete Session call.
- Deletion you can evidence. The Delete Session API returns what happened to the face data, and a privacy erasure instruction purges every retained biometric template for that person.
Didit acts as data processor and you remain the controller. Each application picks a data location when it is created, and the European Union (Ireland) is the default.
Prerequisites
- A Didit account with an application. The sandbox is free on every plan.
- An API key for that application, holding
read:sessionsfor decisions anddelete:sessionsfor erasure. - A workflow and its
workflow_idfrom/v3/workflows/. A KYC workflow creates user sessions, a KYB workflow creates business sessions. - A stable
vendor_datavalue per person. It binds the session to a User, which is what anchors duplicate detection and any retained biometric template. - A second application with its own API key if you plan to reuse verifications across products.
- A retention window signed off by whoever owns your privacy notice. Retention and biometric templates are policy decisions before they are API calls.
How to run privacy-preserving KYC, step by step
-
Write down what you must collect. For each field, note the obligation behind it and the narrowest way to satisfy it. If the only question is age, Age Estimation is listed at $0.10 per check; confirm its documented output and retention behavior for your workflow before you rely on it. If the question is a verified identity, you need the full check at $0.33.
-
Set the data location and the retention window. Open the Business Console, then App Settings, then Data retention. The window runs from 1 month to 10 years, and a new application starts at 1 year on Free, 5 years on Growth, 10 years on Scale and unlimited on Enterprise. The setting applies to existing and future sessions.
-
Create the session. Call
POST https://verification.didit.me/v3/session/with yourworkflow_idand avendor_datavalue, and withx-api-keyin the header. Addexpected_detailsonly for fields you are allowed to hold, because mismatches surface as decision warnings rather than silent storage. -
Read the decision and branch on the kind. Call
GET https://verification.didit.me/v3/session/{session_id}/decision/. The response always carriessession_kind, so switch onuserorbusinessbefore you read any feature array. -
Reuse a finished verification instead of repeating it. Mint a share token on the source application, then redeem it on the receiving application. The token is an HS256 JWT scoped to one
for_application_id, it cannot be revoked, and it expires. Sendtrust_reviewfalse so your own reviewers decide again instead of inheriting the source status.curl -X POST 'https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/share/' \ -H 'x-api-key: SOURCE_APP_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "for_application_id": "a5f3bca2-46e2-411e-90ef-a580900a57ee", "ttl_in_seconds": 7200 }' curl -X POST 'https://verification.didit.me/v3/session/import-shared/' \ -H 'x-api-key: RECEIVING_APP_API_KEY' \ -H 'Content-Type: application/json' \ -d '{ "share_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...", "trust_review": false, "workflow_id": "9f9b1234-aaaa-bbbb-cccc-1234567890ab", "vendor_data": "user-1" }'The time to live runs from 60 seconds to 86400 seconds and defaults to 3600. Only the application named in the token can redeem it, and the receiving application must already hold the
workflow_idyou pass. -
Store only the fields from step 1. The decision payload is a superset of what a privacy notice usually describes. Map each array you read to a field you have written down, and treat the rest as data you do not need: data minimisation is a decision you make when you persist the decision, not a filter applied later during review.
-
Decide the face retention policy. The default is
delete_with_session, so the face embedding goes when the session goes. If you need to catch repeat sign-ups after deletion, enable a retained template with a finite period between 1 and 3650 days, and only when your notice covers it. Didit applies the shortest of that period, your general retention window, and any deadline you send.curl -X PATCH https://verification.didit.me/v3/webhook/ \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"face_retention_policy": "retain_until_user_deleted", "face_retention_days": 365}' -
Delete on request. Call
DELETE https://verification.didit.me/v3/session/{session_id}/delete/. For a data subject erasure request, sendprivacy_erasureso any retained template for that person is purged and no new one is created. Carry your own ticket id ininstruction_idso the audit trail matches your case management.curl -X DELETE https://verification.didit.me/v3/session/<SESSION_ID>/delete/ \ -H "x-api-key: <API_KEY>" \ -H "Content-Type: application/json" \ -d '{"deletion_instruction": "privacy_erasure", "instruction_id": "dsar-2026-0142"}'

Expected output
The create call returns a session_id and a session_url. The decision call returns status, session_kind, decision_trace, biometric_retention with the date the live biometric data is deleted, and the feature arrays that ran. An import returns HTTP 201 with the same decision shape plus shared_from_session, which is your audit link to the source.
A deletion returns HTTP 200 with a body that states what happened to the face data, so you can close a ticket with evidence rather than an assumption:
{
"session_id": "<uuid>",
"session_number": 1024,
"face_retention_outcome": "deleted",
"biometric_template_uuid": null,
"biometric_template_expires_at": null,
"deleted_child_verifications": 0
}
The four possible outcomes are deleted, retained_with_user, none when the session held no face embedding, and ineligible_no_vendor_user when retention was requested but the session had no linked User. A KYB deletion also removes the verifications it created for key people and corporate owners, and reports the count.


Failure cases and recovery
| Situation | Response | Recovery |
|---|---|---|
| Share token malformed or signed with the wrong key | 400 Invalid share token | Mint a fresh token from the source application |
| Token past its expiry | 400 Share token has expired | Mint again, with a time to live up to 86400 seconds |
| Redeemed by an application the token was not minted for | 400 This token is not valid for this application | Check for_application_id against the receiving key |
| Source session deleted between mint and redeem | 400 Original session does not exist | Nothing to import, run the verification again |
| Same token redeemed twice by the same application | 403 This session has already been shared with your application | Mint a new token |
workflow_id belongs to another application | 404 Workflow does not exist for this application | Use a workflow that exists on the receiving application |
| Source session still Not Started or In Progress | 400 only finished sessions can be shared | Wait for Approved, Declined or In Review |
| Decision call on an unknown session | 404 Not found | Confirm the id and that the key belongs to the same application |
| Key without the read privilege | 403 no permission to perform this action | Use a key holding read:sessions |
| Deleting an already deleted session | 404 Not Found | The call is idempotent, but the documented response for an already deleted or unknown session is still 404, so treat it as complete |
privacy_erasure combined with retention of a new template | 400 | Send one instruction, not both |
callback outside your allowed domains | 400 callback must be on one of the application's allowed domains | Add the origin, or use a custom deep link scheme |
Inputs and outputs
| Item | Where it comes from | What it gives you |
|---|---|---|
workflow_id | /v3/workflows/ | A session of that workflow type, user or business |
vendor_data | Your system | A session bound to a User, which anchors duplicate detection and any retained template |
session_id | POST /v3/session/ | The handle for the decision, share and delete calls |
share_token | POST /v3/session/{sessionId}/share/ | A single use JWT that one receiving application redeems within the time to live |
shared_from_session | POST /v3/session/import-shared/ | The audit pointer from the cloned session back to the source |
deletion_instruction | Your erasure ticket | Recorded on the audit trail and on any retained template |
face_retention_outcome | DELETE /v3/session/{id}/delete/ | Proof of what happened to the face data when the session went |
Paid steps, free steps and review boundaries
You pay per completed check from prepaid credit. A full KYC check is $0.33, which is ID document verification at $0.15, passive liveness at $0.10, face match 1:1 at $0.05 and device and IP analysis at $0.03. The privacy work itself is mostly free: Reusable KYC, the workflow orchestrator and the MCP server carry no charge, and the supplied price feed does not list a separate deletion charge. The full list sits in the pricing docs and on the pricing page.
A published price does not establish production availability, so check the product page and the docs for supported countries and methods before you commit to a volume.
Review is a boundary you set, not a step you buy. An imported session with trust_review false lands in In Review, so your team decides instead of inheriting Approved. Every manual action is recorded in the reviews array and any hand change appears in status_override with the automatic status kept beside it.

Worked cost example
Take 10,000 people onboarding in a year, with 2,000 of them arriving through a second product that imports the shared session instead of verifying again. Age Estimation is an assumed additional check in this example, not part of the $0.33 bundle.
- First verifications: 10,000 x $0.33 = $3,300.00
- AML screening at onboarding: 10,000 x $0.20 = $2,000.00
- Age Estimation, assumed as an extra check: 10,000 x $0.10 = $1,000.00
- Ongoing AML monitoring: 10,000 x $0.07 = $700.00 per year
- Reused imports: 2,000 x $0.00 = $0.00
- Total for the year: $3,300.00 + $2,000.00 + $1,000.00 + $700.00 = $7,000.00
The reuse avoided 2,000 repeat checks, which at $0.33 each is $660.00 of spend you do not make. Age Estimation added $1,000.00 as an assumed extra check, which is the trade you are actually deciding. On the Scale plan every Didit price is 10% lower, so the same volume is $3,300.00 - $330.00, $2,000.00 - $200.00, $1,000.00 - $100.00 and $700.00 - $70.00, a total of $6,300.00. Scale itself is $299 a month, or $3,408 a year paid up front. Its 10% discount offsets that annual fee at about $34,080 of annual Didit spend.
Sources
- Didit docs: Reusable KYC overview, read November 26, 2026
- Didit docs: Create Session API, read November 26, 2026
- Didit docs: Retrieve Session API, read November 26, 2026
- Didit docs: Delete Session API, read November 26, 2026
- Didit docs: Data Retention and Deletion, read November 26, 2026
- Didit docs: Webhooks, read November 26, 2026
- Didit docs: Pricing, read November 26, 2026
- Didit pricing page and pricing JSON feed, read November 26, 2026
- Didit MCP server setup, read November 26, 2026
- FATF Recommendations, including Recommendation 11 on record keeping, read November 26, 2026
- EUR-Lex, for eIDAS 2.0 and the EU Digital Identity Wallet framework, read November 26, 2026
The next step is a sandbox application: create one at business.didit.me, set the retention window, and run the share and import calls above with two test applications. No sales call is needed, and the sandbox is free on every plan.
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
What is zero-knowledge KYC?
Zero-knowledge KYC is identity verification where a person proves an attribute, such as being over 18 or holding a verified identity, without handing over the underlying document. The verifier checks the proof and learns only whether the statement is true. In practice most regulated firms still run one real verification and disclose attributes downstream, because anti-money-laundering rules require them to keep a record of the check they performed.
Does Didit support zero-knowledge proofs?
Our documentation does not describe a zero-knowledge proof generator, and we do not claim one. What we publish is a set of privacy controls: narrow collection through modules such as Age Estimation, free Reusable KYC so a person is not verified twice, a retention window from 1 month to 10 years, and a Delete Session API with a privacy erasure instruction. If you need cryptographic proofs specifically, treat that as your own build on top of the verified decision.
Can I add an age check without collecting a date of birth?
Age Estimation is listed at $0.10 per check in the live price feed. This guide does not document exactly what the step returns or how long it keeps its inputs, so confirm its documented output and retention behavior for your workflow before you treat it as a way to avoid storing a date of birth. If you need a verified identity, the full check at $0.33 is the route.
How does reusable KYC work and what does it cost?
A finished session is shared with another Didit application by minting a share token with POST /v3/session/{sessionId}/share/ and redeeming it with POST /v3/session/import-shared/. The receiving application gets a cloned session with its own session_id and a shared_from_session pointer for audit. Reusable KYC is free; the original verification is the only billable check.
What is the difference between deleting a session and purging a biometric template?
Deleting a session removes the session and its data, and under the default delete_with_session policy the face embedding goes with it. If you enabled biometric template retention, an image-free template stays anchored to the User until its expiry. Sending the privacy_erasure instruction purges every retained template for that person and never creates a new one.
Where does Didit process and store verification data?
Each application chooses a data location when it is created, and the European Union (Ireland) is the default. Australia (Sydney), Mexico, the United Arab Emirates and the United States (N. Virginia) are listed as coming soon, and Enterprise accounts can request in-country processing subject to availability and contract. Didit acts as data processor while you remain the controller.
How long can I keep KYC data in Didit?
Retention is set in the Business Console under App Settings, then Data retention, with a window from 1 month to 10 years. A new application starts at 1 year on Free, 5 years on Growth, 10 years on Scale and unlimited on Enterprise. When a session reaches the end of the window it is deleted exactly as by the Delete Session call.
What happens to an imported session if I delete the source session?
Share tokens are not revoked by a deletion, but there is nothing left for them to import, so redeeming one returns 400 with a message that the original session does not exist. A session that was already imported stays, because it is a separate session with its own identifier.
Can my reviewers re-decide an imported session instead of trusting it?
Yes. Send trust_review false on import-shared and the cloned session is forced to In Review, so your team decides again. Send trust_review true and the cloned session keeps the source status, so Approved stays Approved.
What does privacy-preserving KYC cost on Didit?
A full KYC check is $0.33 and covers ID document verification, passive liveness, face match and device and IP analysis. AML screening is $0.20 per check, ongoing AML monitoring is $0.07 per person a year, and Reusable KYC, the workflow orchestrator and the MCP server are free. You pay per completed check from prepaid credit, and the Free plan includes $10 of credit a month.
Does a published price mean the product is live in my country?
No. The price feed is the public list price, and a published price does not establish production availability. Check the product page and the docs for supported countries, methods and status before you plan volume around a rate.
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


