Skip to main content

Zero-Knowledge Proofs in Identity Verification: 7 Steps for 2026

Zero-knowledge proofs prove one attribute without revealing the document behind it. Didit lists no ZKP module, so the documented route is issuer-signed wallet attributes from $0.10, free session reuse and hard deletion.

Zero-Knowledge Proofs in Identity Verification: 7 Steps for 2026

Contents

In this guide

Jump to the part you need.

Zero-knowledge proofs let a person prove one fact, such as being over 18, without handing over the document that contains it. This guide is for product and compliance teams that want that property in a live flow. A full Didit ID check costs $0.33. The caveat matters: our documentation lists no zero-knowledge proof module, so the route we document is issuer-signed wallet attributes, free session reuse and hard deletion.

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

Privacy route at a glance

What you can prove today, the documented Didit route, the price and what your backend receives
What you need to proveDocumented routePrice (USD)What your backend receives
An attribute held by a national eID or bank identityDigital ID wallet verification, standalone APIs or a session workflow$0.10 to $0.95 per completed verification, by walletA verified attribute set carrying the assurance tier cryptographic
Identity from documentsFull ID check: ID document, passive liveness, face match, device and IP$0.33 per checkThe session decision with the extracted fields
The same person, a second timeReusable KYC: mint a share token, import it on the other applicationFreeThe V3 decision payload for a fresh session
An age threshold and nothing elseAge Estimation check$0.10 per checkResult from the documented Age Estimation product
No match on watchlistsAML Screening$0.20 per check, $0.07 per person a year for ongoing monitoringThe screening result returned by the documented AML API
Data gone after the decisionDelete Session, Biometric Templates APINo separate price listed; consumed credits are not refundedA deletion outcome object

Start free in the sandbox at business.didit.me, with no sales call. Developers who want an AI assistant to drive the calls can connect the Didit MCP server. The product documentation for the wallet route is digital ID wallets, and every list price, plan and discount sits on didit.me/pricing.

What a zero-knowledge proof hides, and what it cannot

A zero-knowledge proof convinces a verifier that a statement is true without revealing anything beyond the truth of that statement. In identity terms, the statement becomes "the holder of this credential is over 18" instead of a passport image with a birth date, a nationality and a document number on it.

Three properties make a proof useful for onboarding, and an implementation can provide each of them. It reveals nothing else about the holder when it is correctly designed and implemented. It can be bound to the holder, so a copy cannot be presented by someone else. It can be bound to the verifier's request, so it cannot be replayed against a different service. Implementations vary, and a poorly designed one can disclose more metadata than the statement itself.

A proof alone does not establish issuer trust unless the verifier also checks the issuer binding and credential status. And no proof tells you a live person is present. A zero-knowledge proof over an unsigned claim proves only that somebody typed a number. That is why the issuer signature and a liveness step stay in the flow even when the payload is a proof instead of a document.

zk-SNARKs and zk-STARKs in plain terms

zk-SNARKs are succinct non-interactive arguments of knowledge. The prover produces one small proof and the verifier checks it without further conversation, which is why they suit wallets and on-chain verifiers. Some zk-SNARK constructions require a trusted setup ceremony.

zk-STARKs are scalable transparent arguments of knowledge. Transparency means no trusted setup, and scalability means large computations can be proven, at the cost of bigger proofs. For an identity flow the proof system is the smaller decision. The bigger one is which issuers your verifier trusts.

Issuer-signed wallet attributes or a zero-knowledge proof

Issuer-signed attributes are enough when you need the verified fact plus evidence of who attested it, when the issuer sits on a trust list your compliance team approved, and when your policy allows you to hold the attribute value under your retention schedule. A bank identity from the Finnish Trust Network, a MitID sign-in or a Google Wallet ID pass all fit that shape today, and your reviewer reads an attribute set instead of a document scan. It is also the easier option to defend in a file, because the record names the issuer and the claims.

A zero-knowledge design is justified when the value itself is the liability, not the decision. A birth date, a home address or a document number adds breach exposure and adds nothing to a rule that only needs "over 18" or "resident in Finland". The proof also pays off when one credential has to satisfy verifiers you do not control, because the holder can present the same credential to each of them. Before that works in production you need four things in place: a credential format that carries an issuer signature, a trust list your verifier reads, a way to check that the credential is still valid, and a policy that accepts a predicate as evidence.

Our position is to run issuer-signed wallet attributes now, because they ship and they are documented, and to revisit a proof design for the specific claims where the underlying value is the risk. That is the scope of this article: a documented privacy-preserving route through Didit, not a zero-knowledge proof product we sell.

Prerequisites

  • A Didit account and an application API key. The x-api-key stays on your backend, never in a browser bundle or a mobile app.
  • The minimum attribute list, agreed with compliance, written as claims rather than fields.
  • For the wallet route, a wallet that is available in production for the applicant's country, and the person's consent to share those attributes.
  • One registered return hostname, written as a bare hostname with no scheme, path or wildcard, up to 20 per application.
  • A workflow on the receiving application if you plan to import shared sessions.
  • A deletion policy: what you keep, for how long, and who signs it off.

The 7 steps

  1. Reduce the requirement to a claim. Write the exact statement your business needs, for example "the person is over 18" or "the person holds a Finnish identity". Leave the underlying fields out of your database unless a rule explicitly requires them. Every field you do not collect is a field you cannot leak, and data minimisation under the GDPR is easier to evidence.

  2. Choose the source of the claim. There are three documented sources. A digital ID wallet, where the issuer signs the attributes and Didit returns the assurance tier cryptographic. A full ID check, where Didit holds the documents and you receive the decision. Or a finished session you already paid for. Match the source to the applicant's country, not the other way around.

    Face scan step in a Didit verification flow
    Document fallback runs the full ID check: document, liveness and face match, $0.33.
  3. Check availability before you build the screen. The wallet catalog operation returns the current endpoints, required fields and availability for your application, as described in the wallet catalog docs. MitID, BankID Sweden, iDIN, Finnish Trust Network, Smart-ID and Mobile-ID are available in production. The EUDI Wallet is published at $0.15 and marked coming soon. A wallet marked coming soon cannot be enabled in that environment, so plan the document fallback in the same workflow.

  4. Register the return hostname, then start the verification from your backend. The example below uses the Finnish Trust Network at $0.25 per completed verification.

    curl --request PATCH \
      --url https://verification.didit.me/v3/webhook/ \
      --header 'x-api-key: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{"allowed_return_hosts": ["app.example.com"]}'
    
    curl --request POST \
      --url https://verification.didit.me/v3/id-verification/wallets/ftn/ \
      --header 'x-api-key: YOUR_API_KEY' \
      --header 'Idempotency-Key: your-unique-attempt-key' \
      --header 'Content-Type: application/json' \
      --data '{
        "country": "FIN",
        "return_url": "https://app.example.com/identity/complete",
        "vendor_data": "your-customer-reference"
      }'

    Use a distinct Idempotency-Key for each new attempt and reuse that key only when retrying the same start request. Changing the request while reusing its key is a conflict, not a new verification attempt. Send the person's browser to wallet_verification.next_action.url when its type is redirect.

  5. Read the outcome on your backend. Authentication is asynchronous, so a successful start call means authentication started, not that the person is verified.

    curl --request GET \
      --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ \
      --header 'x-api-key: YOUR_API_KEY'

    Use the identity only when wallet_verification.outcome is verified and simulated is false. The outcomes are pending, verified, cancelled, timeout and failed. A pending response can carry a next action; terminal responses have none.

    Session detail showing the extracted ID document fields
    The session record you keep when the document fallback runs: extracted fields, warnings and the decision.
  6. Share a finished session instead of verifying the same person again. Mint a share token on the source application, then redeem it on the receiving application. Both calls use their own application API key.

    curl -X POST 'https://verification.didit.me/v3/session/11111111-2222-3333-4444-555555555555/share/' \
    -H 'x-api-key: YOUR_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 token is a signed JWT bound to the receiving application, and the requested token lifetime can be 60 seconds to 24 hours. trust_review: true keeps the source status, so an Approved session stays Approved. false forces the clone to In Review so your reviewers decide again. The import is the privacy move that costs nothing: the documented Reusable KYC import flow imports a fresh session and decision payload without asking the person to repeat the verification, so the second application does not need the underlying documents again. Reusable KYC is free on every plan.

  7. Delete what you no longer need. A right-to-erasure request is one call with privacy_erasure, which purges every retained biometric template for that person as well.

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

    The default delete removes the session, its extracted data, its files and the face embedding. If your application has opted in to biometric-template retention, one image-free face template survives the deletion. That template is biometric data: not anonymous, not transient and not deleted with the session. Inspect and purge templates through the Biometric Templates API, and read the full behaviour in Delete Session. Moving off another provider is covered at didit.me/switch.

Expected result

A completed wallet verification returns a request reference and the attribute set the issuer signed. Field names below are from the documented response and trimmed to the parts you branch on.

{
  "request_id": "00000000-0000-4000-8000-000000000001",
  "wallet_verification": {
    "wallet": {
      "id": "google_wallet",
      "name": "Google Wallet",
      "issuing_authority": "Google Wallet (ID pass) and US state issuers (mobile driving licence)"
    },
    "country": "USA",
    "status": "Approved",
    "outcome": "verified",
    "simulated": false,
    "expires_at": "2026-01-01T10:10:00Z",
    "next_action": null,
    "identity": {
      "full_name": "Alex Example"
    }
  }
}

Keep the decision and the fields your policy requires, drop the rest. The identity object carries whatever the wallet returned, and a wallet without a portrait does not include a selfie comparison, so your policy has to say what happens in that case.

When a step fails, and how to recover

Failure cases from the documented APIs and the recovery path
SymptomCauseRecovery
outcome: pendingThe person has not approved in the wallet yetPoll the phone approval endpoint or wait for completion, then read the result again
409 with verification_in_progress and a Retry-After headerA cancel arrived while the person was completing the flowRetry after the stated number of seconds to read the completed result
outcome: timeoutThe authentication window expiredStart a new attempt with a new Idempotency-Key and offer the document fallback
outcome: failedAuthentication or identity validation failedRoute to the configured document check and log the failure code
400 Invalid share token, expired, or not valid for this applicationMalformed token, past expiry, or a token minted for another applicationMint a fresh token with the correct for_application_id
403 This session has already been shared with your applicationThe same token was redeemed twiceMint a new token; a token is single use per receiving application
400 Only finished sessions can be sharedThe source session is still runningWait for Approved, Declined or In Review
404 Workflow does not exist for this applicationThe workflow_id belongs to a different applicationCreate the workflow on the receiving application and retry
503 on a template operationAn external store was unavailableRetry the purge; the template is already excluded from matching

Inputs and outputs

What you send and what comes back on the wallet route
Field or objectDirectionWhat it is
countryInputThe wallet market you are verifying against, for example FIN
return_urlInputHTTPS page the person returns to, hostname preregistered in allowed_return_hosts
vendor_dataInputYour own reference, up to 2,000 UTF-8 bytes, returned with the result and the completion webhook
metadataInputOptional JSON object returned with the result
Idempotency-KeyInputOne value per attempt, reused only for retries of the same request
request_idOutputIdentifies the standalone verification for polling, response submission and cancellation
next_actionOutputThe step the person must take, a redirect URL or a digital credential request
outcome and simulatedOutputThe decision to branch on, and whether the result is a simulation
identityOutputThe signed attributes the wallet returned
share_tokenOutputJWT that carries the source session to one named receiving application

What is paid, and where a person reviews

Paid steps on this route, at list price on November 26, 2026
StepWhen it is billedPrice (USD)
Full ID checkPer completed check, all four parts in one$0.33 = $0.15 ID document + $0.10 passive liveness + $0.05 face match + $0.03 device and IP
Wallet verificationPer completed wallet verification$0.10 Google Wallet, $0.20 BankID Sweden or Bank iD, $0.21 Smart-ID or Mobile-ID, $0.25 MitID or Finnish Trust Network, $0.35 BankID Norway High, $0.49 Personalausweis Profile 2, $0.95 iDIN full identification
Age EstimationPer check$0.10
AML ScreeningPer check$0.20, plus $0.07 per person a year for ongoing monitoring
Proof of AddressPer check$0.20
Business verificationPer company, by country and data tierFrom $2.00, plus $0.20 entity AML, $0.20 person AML per UBO, $0.33 for each linked KYC
Reusable KYC, Workflow Orchestrator, MCP serverNeverFree

A cancel declines a pending verification without charging for it, and returns a completed one unchanged. Sandbox testing is free and unlimited. The Free plan adds $10 of monthly credit for organizations that sign up with a work email.

One place puts a person in the loop: your own reviewer sees the session when you import with trust_review: false, because the clone lands In Review instead of inheriting the source decision. That review is your process and your cost, and it is not a line on our price list. It does not replace your compliance sign-off either: a wallet signature verifies the issuer and the returned claims, but it does not guarantee that every requested attribute is present, current or sufficient for your policy.

AML hit review screen in the Didit Business Console
The review boundary: a hit, its evidence and the decision stay with a named reviewer.

Worked cost example

Take 10,000 new sign-ups in a mix of markets. Half of the Finnish cohort signs in with the Finnish Trust Network at $0.25, so 3,000 people complete there and 7,000 fall back to the full ID check. Every person also gets an AML screening at $0.20. No other priced step is in this example.

  • 3,000 wallet verifications: 3,000 x $0.25 = $750.00
  • 7,000 full ID checks: 7,000 x $0.33 = $2,310.00
  • 10,000 AML screenings: 10,000 x $0.20 = $2,000.00

Total: $750.00 + $2,310.00 + $2,000.00 = $5,060.00, or $0.506 per sign-up. On the Growth plan, 4 percent off every Didit price: 3,000 x $0.24 = $720.00, 7,000 x $0.3168 = $2,217.60 and 10,000 x $0.192 = $1,920.00, so $4,857.60 in total, or $0.4858 per sign-up. On the Scale plan, 10 percent off: $675.00 + $2,079.00 + $1,800.00 = $4,554.00, or $0.4554 per sign-up. The reusable KYC import that stops the second application asking for documents again adds nothing to any of these lines.

Limits you should plan around

Complexity is real. A zero-knowledge circuit has to be written, audited and versioned, and a mistake in the circuit is a mistake in every proof it produces. Interoperability is unresolved: credential formats, trust lists and revocation methods still differ between issuers. Regulatory acceptance moves slower than the cryptography, and a supervisor will ask who the issuer is and how the claim maps to your customer due diligence file. Performance has improved but proof generation still costs more than reading a field from a database.

That is why a production flow in 2026 usually runs issuer-signed wallet attributes now and keeps a document fallback for claims the wallet cannot provide, and treats zero-knowledge proofs as the next step for the specific claims where hiding the value actually matters.

Sources

Next step: open the sandbox at https://business.didit.me/ and start a wallet verification or a full ID check. Use the sandbox for testing, then delete the session with the documented Delete Session API. No sales call and no card.

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 a zero-knowledge proof in identity verification?

A zero-knowledge proof lets one party convince another that a statement is true without revealing anything beyond the truth of the statement. In identity checks the statement is an attribute, for example that the person is over 18 or resident in a country, rather than a document that contains the birth date or the address. A correctly designed and implemented proof is intended to give the verifier the answer and not the underlying value, although implementations can disclose additional metadata.

Does Didit use zero-knowledge proofs?

Our public documentation lists no zero-knowledge proof module, so we do not sell one. What we document is the privacy step next to it: issuer-signed wallet attributes with the assurance tier cryptographic, free Reusable KYC so a verified person is not asked twice, and a Delete Session API that erases the session and its files. Didit is infrastructure for identity and fraud, with 25+ modules and pay-per-use prices.

How much does a digital ID wallet verification cost?

Prices are per completed wallet verification in USD: Google Wallet $0.10, BankID Sweden $0.20, Bank iD $0.20, Smart-ID $0.21, Mobile-ID $0.21, MitID $0.25, Finnish Trust Network $0.25, BankID Norway High $0.35, Personalausweis Profile 2 $0.49 and iDIN full identification $0.95. The EUDI Wallet is published at $0.15 and marked coming soon. A cancelled attempt is not charged.

Can I verify age without collecting a date of birth?

Yes. Age Estimation is a Didit product at $0.10 per check; read the product documentation for the exact result it returns before you design the field. A wallet verification returns only the attributes the issuer signed and the person consented to share, so wherever the wallet attests an age-related claim, your database can hold that result instead of a passport image. The full ID check remains the fallback for anyone the wallet cannot cover.

What is the cheapest way to re-verify a user who already passed KYC?

Reusable KYC is free. The source application mints a share token for the receiving application, and the receiving application imports the finished session instead of running a new check. The clone gets a fresh session id and a shared_from_session reference for audit, and your reviewers can force their own decision with trust_review: false.

Is a signed wallet attribute the same as a zero-knowledge proof?

No. A signed attribute is a claim the issuer signed, which lets the verifier check who attested it. A zero-knowledge proof additionally hides the value behind a predicate, for example proving a birth date is before a cutoff without disclosing the date. The wallet route gives you the issuer signature and the attributes the person consented to share, and it is not a general purpose zero-knowledge proof.

What happens to the documents after the check?

They stay with the session under your application's configured retention policy, until you delete the session or the applicable retention period expires. The Delete Session API removes the session, its extracted data, its files and, by default, the face embedding. If your application opted in to biometric-template retention, one image-free face template remains for duplicate detection until expiry or an explicit purge, and privacy_erasure clears every template for that person.

What does a failed or cancelled verification cost?

A cancel declines a pending verification without charging for it, and a completed verification is billed once. A verification the person is completing at that moment cannot be cancelled: the API answers 409 with verification_in_progress and a Retry-After header, and you retry to read the completed result.

How do I test this without spending money?

Sandbox testing is free and unlimited on every plan, and no sales call is needed to open it. A sandbox verification comes back with the simulated flag set, which is why you check that flag before treating an identity as verified. The Free plan also adds $10 of monthly credit for organizations that sign up with a work email.

Do zero-knowledge proofs remove the need for AML screening?

Whether AML screening is required depends on your applicable obligations and risk policy. A privacy-preserving credential does not automatically replace those checks. Didit charges $0.20 per AML screening against 1,300+ lists, and $0.07 per person a year for ongoing monitoring, whether the identity arrived as a document or as a signed wallet attribute.

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.