Skip to main content

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.

Zero-Knowledge KYC: Privacy-Preserving Compliance (2026)

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-preserving KYC controls at Didit, checked November 26, 2026
Privacy goalDocumented controlPrice
Add an age check to a workflowAge Estimation step$0.10 per check
Avoid a second document uploadReusable KYC share and import between Didit applicationsFree
Avoid keeping data indefinitelyData retention window, 1 month to 10 yearsIncluded in the plan
Avoid keeping a face after deletionFace retention policy, delete_with_session by defaultIncluded
Honour an erasure requestDelete Session with the privacy_erasure instructionCredits already used are not refunded
Control where the data is processedData location per application, EU (Ireland) by defaultIncluded, 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:sessions for decisions and delete:sessions for erasure.
  • A workflow and its workflow_id from /v3/workflows/. A KYC workflow creates user sessions, a KYB workflow creates business sessions.
  • A stable vendor_data value 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

  1. 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.

  2. 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.

  3. Create the session. Call POST https://verification.didit.me/v3/session/ with your workflow_id and a vendor_data value, and with x-api-key in the header. Add expected_details only for fields you are allowed to hold, because mismatches surface as decision warnings rather than silent storage.

  4. Read the decision and branch on the kind. Call GET https://verification.didit.me/v3/session/{session_id}/decision/. The response always carries session_kind, so switch on user or business before you read any feature array.

  5. 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. Send trust_review false 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_id you pass.

  6. 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.

  7. 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}'
  8. Delete on request. Call DELETE https://verification.didit.me/v3/session/{session_id}/delete/. For a data subject erasure request, send privacy_erasure so any retained template for that person is purged and no new one is created. Carry your own ticket id in instruction_id so 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"}'
A walkthrough of connecting Didit to an AI assistant through the MCP server
The MCP server lets an AI assistant make these same documented calls for you. It is free on every plan.

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.

A session overview page in the Didit Business Console showing status and warnings
Every session keeps its own overview, warnings and decision trace, which is what makes the record auditable before you delete it.
The ID document tab of a session in the Didit Business Console
The document data attached to a session. It leaves with the session when the retention window ends or you call Delete Session.

Failure cases and recovery

Documented failure modes on the privacy path
SituationResponseRecovery
Share token malformed or signed with the wrong key400 Invalid share tokenMint a fresh token from the source application
Token past its expiry400 Share token has expiredMint again, with a time to live up to 86400 seconds
Redeemed by an application the token was not minted for400 This token is not valid for this applicationCheck for_application_id against the receiving key
Source session deleted between mint and redeem400 Original session does not existNothing to import, run the verification again
Same token redeemed twice by the same application403 This session has already been shared with your applicationMint a new token
workflow_id belongs to another application404 Workflow does not exist for this applicationUse a workflow that exists on the receiving application
Source session still Not Started or In Progress400 only finished sessions can be sharedWait for Approved, Declined or In Review
Decision call on an unknown session404 Not foundConfirm the id and that the key belongs to the same application
Key without the read privilege403 no permission to perform this actionUse a key holding read:sessions
Deleting an already deleted session404 Not FoundThe 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 template400Send one instruction, not both
callback outside your allowed domains400 callback must be on one of the application's allowed domainsAdd the origin, or use a custom deep link scheme

Inputs and outputs

What goes in, where it comes from, and what you get back
ItemWhere it comes fromWhat it gives you
workflow_id/v3/workflows/A session of that workflow type, user or business
vendor_dataYour systemA session bound to a User, which anchors duplicate detection and any retained template
session_idPOST /v3/session/The handle for the decision, share and delete calls
share_tokenPOST /v3/session/{sessionId}/share/A single use JWT that one receiving application redeems within the time to live
shared_from_sessionPOST /v3/session/import-shared/The audit pointer from the cloned session back to the source
deletion_instructionYour erasure ticketRecorded on the audit trail and on any retained template
face_retention_outcomeDELETE /v3/session/{id}/delete/Proof of what happened to the face data when the session went

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.

A walkthrough of Didit billing, prepaid credits, auto recharge and volume discounts
Billing runs on prepaid credit, so the cost of a privacy decision such as re-verifying instead of importing is visible per check.

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

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.

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 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.

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.