Skip to main content

Privacy-Preserving Over-18 Checks With Digital ID Wallets

Didit wallet APIs return issuer-signed identity attributes from wallets such as MitID, BankID and Google Wallet, from $0.10 per completed check for available wallets.

Privacy-Preserving Over-18 Checks With Digital ID Wallets

Contents

In this guide

Jump to the part you need.

Use Didit's digital ID wallet APIs when you want an over-18 gate without storing a date of birth. The person signs in with a wallet such as MitID, BankID or Google Wallet. Wallets authenticate the person and return issuer-signed identity attributes that your backend can evaluate against your age policy. Available wallets cost $0.10 to $0.95 per completed check; other published coming-soon rates exist, including OneID at $2.75. The caveat: keep a fallback for people without an eligible wallet.

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

Over-18 check options in Didit and what each one keeps
RouteWhat proves the claimAssurance tierPrice per completed checkDate of birth in your database
Digital ID walletAn identity provider authenticated the person and signed the identity attributes it sharedcryptographicAvailable wallets $0.10 to $0.95; coming-soon rates published separatelyYour choice; evaluate the returned attributes and retain only the decision if your policy allows
Age Estimation APIModel-predicted age from one selfie plus passive livenessNot an ID Verification tier$0.10No stored date of birth
ID document checkDocument captured, read and checked for authenticitydocumentary$0.15 for the ID line, $0.33 for full KYCYes, if you read the document fields
Published wallet prices: available wallets and coming-soon rates
WalletPrice per completed verificationCountriesStatus
Google Wallet$0.10United States, United Kingdom, Brazil, Singapore, TaiwanAvailable
BankID Sweden$0.20SwedenAvailable
Bank iD$0.20CzechiaAvailable
Smart-ID$0.21Estonia, Latvia, Lithuania, BelgiumAvailable
Mobile-ID$0.21Estonia, LithuaniaAvailable
MitID$0.25DenmarkAvailable
Finnish Trust Network$0.25FinlandAvailable
BankID Norway High$0.35NorwayLive price feed lists it as available; confirm in the console
Personalausweis Profile 2$0.49GermanyLive price feed lists it as available; confirm in the console
iDIN full identification$0.95NetherlandsAvailable
EUDI Wallet$0.15Countries listed in the live feedComing soon, rate published
Vipps Plus$0.25NorwayComing soon, rate published
Freja eID$0.25SwedenComing soon, rate published
Estonian ID-card$0.55EstoniaComing soon, rate published
eParaksts mobile$0.55LatviaComing soon, rate published
OneID$2.75United KingdomComing soon, rate published
Other walletsNot published or coming soonAs listed in the live feedComing soon

Start free in the sandbox at business.didit.me (no sales call). Developers can connect Didit to an AI assistant through the Didit MCP server and read pricing before the first live check.

What an over-18 gate has to answer, and what it must not keep

An age gate has one job: decide whether the person in front of you meets a threshold. Everything else the check returns is extra data you now have to protect. Under the EU GDPR, personal data must be adequate, relevant and limited to what is necessary for the purpose. For some age-gate purposes, a date of birth may be more data than necessary. Confirm the required data and retention under the law that applies to your service.

So the design question is not how to strip a birth date out of a response. It is which proof you accept, and what you write down afterwards. Didit gives you three answers with different evidence behind them, and you pick the one your regulator, your app store category and your risk appetite accept.

Three routes in Didit, and what each one keeps

Didit publishes this ranking; we explain the criteria so you can check them. The criteria are the strength of the evidence, how much personal data the check puts in front of you, and the published price.

  1. Digital ID wallet. The person authenticates with a government or bank identity, the issuer signs the attributes and Didit returns the result at the cryptographic assurance tier. Your application can retain its decision, the method and the reference after evaluating the returned attributes, subject to your legal and retention requirements. Available wallet rates start at $0.10 per completed verification.
  2. Age Estimation API. One selfie, a model-predicted age and passive liveness in the same call, $0.10. The docs describe it as suitable for age gates and lower-friction checks, not as legal proof of age, and they tell you to fall back to a document check near your threshold.
  3. ID document check. The person photographs an identity document, Didit reads it and checks authenticity, $0.15 for the document line inside the $0.33 full KYC. This is the route that puts a date of birth in front of you, because the document carries one.
Face scanning screen used for a selfie-based age estimation fallback
The face step a person sees when you run Age Estimation as the fallback for a missing wallet.

How your backend evaluates wallet attributes for an age threshold

The wallet result is not a dedicated over-18 credential. Wallets authenticate the person and return issuer-signed identity attributes. Your backend reads the result only when wallet_verification.outcome is verified and wallet_verification.simulated is false, then applies your own age policy to the attributes the issuer returned. If your policy uses a date of birth and the result includes it, compare that date to today's date and your threshold. If the attribute your policy needs is absent, the result does not prove the threshold; send the person to a fallback. Store only the decision, the wallet id, the country and the reference unless your legal and retention requirements need more.

Install routes: MCP connector, hosted journey, wallet API

Wallets are one of three ID Verification methods in Didit, which runs identity and fraud checks for 4,000+ companies across 220+ countries. There are three ways to connect. For a production age gate, use the wallet API or the Sessions API; use the MCP server to explore and shape requests from an AI assistant.

  • MCP connector. Connect an AI assistant to the Didit MCP server to read the catalogue and shape a request. The server is hosted at https://mcp.didit.me/mcp with OAuth sign-in and it is free on every plan. See MCP setup for every client. It is a good place to explore, not a place to hold your production API key.
  • Wallet API. The documented route for this page. Your backend holds x-api-key and calls a wallet start endpoint directly, with no workflow and no workflow_id. See Digital ID Wallet Verification APIs.
  • Sessions API. Didit hosts the journey and applies workflow rules and a configured document fallback. See the Create Session API. Use it when you want one link that covers both wallets and documents.
Video walkthrough of the screens a person sees during a Didit verification
What the person actually sees during the check, from the first screen to the result.

Prerequisites

What you need before the first wallet age check
ItemRequirementSource
PlanAny plan. Free is $0 a month with $10 of credit for organizations that sign up with a work email. Growth is $99 a month with $115 of credit. Scale is $299 a month with $350 of credit. Enterprise starts at $15,000 a year.Pricing
SandboxSandbox testing is free and unlimited on every plan.Pricing docs
ClientA backend that keeps x-api-key off the browser, plus a browser page for the wallet redirect or the digital credential request.Wallet APIs doc
API keyThe application API key that starts the verification. The same key reads the result, polls and cancels.Business Console
Idempotency keyA distinct Idempotency-Key per attempt, reused only when retrying that same start request.Wallet APIs doc
Return hostnameEvery bare hostname you send a person back to, registered before the first start, up to 20.PATCH /v3/webhook/
Wallet availabilityThe console uses your environment's live capability catalogue. A wallet marked Coming soon cannot be enabled in that environment.Coverage

Step by step: the wallet API recipe

  1. Read the wallet catalogue. Open the digital ID wallet catalogue for the start endpoint, the required fields and the availability of each wallet you plan to offer. Per-wallet prices are on the pricing page and in the live price feed.

  2. Register your return hostname. Redirect wallets send the person back to your app, so register the exact hostname first. Bare hostnames only, no scheme, no path, no wildcard, up to 20, and an update replaces the list.

    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"]}'
  3. Start one verification. Each wallet has its own start URL. The example is the Finnish Trust Network at /v3/id-verification/wallets/ftn/; swap the path for the wallet you enable.

    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"}'

    Save the returned request_id. A successful start means authentication has started, not that the person is verified.

  4. Hand the person to the wallet. When wallet_verification.next_action.type is redirect, send the browser to wallet_verification.next_action.url. For a Digital Credentials wallet such as Google Wallet the next action is request_digital_credential: call navigator.credentials.get in the page, then post the encrypted response from your backend.

    curl --request POST --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/response/ --header 'x-api-key: YOUR_API_KEY' --header 'Idempotency-Key: your-unique-attempt-key' --header 'Content-Type: application/json' --data '{"response": {"protocol": "openid4vp-v1-signed", "data": {"response": "<compact JWE returned by the wallet>"}}}'

    Send exactly what the wallet returned and do not alter it. A response can be submitted once, and a second submit returns the verification that was already decided.

  5. Read the result from your backend, never from the return page alone.

    curl --request GET --url https://verification.didit.me/v3/id-verification/wallets/verifications/REQUEST_ID/ --header 'x-api-key: YOUR_API_KEY'
  1. Gate on the outcome. Pass the person only when wallet_verification.outcome is verified and wallet_verification.simulated is false. Write down the outcome, the wallet id, the country and the request_id. If your policy allows, leave the returned name out of a pure age gate.

  2. Cancel what is abandoned. A cancel declines a pending verification without charging for it and returns a completed one unchanged. If the person is mid-approval the cancel answers 409 with error: "verification_in_progress" and a Retry-After header.

A session overview with its warnings in the Didit Business Console
Checking the outcome and its warnings in the console before you treat the check as passed.

Field and event mapping

Mapping wallet result fields to an over-18 record
Didit fieldWhere it appearsWhat to storeKeep it?
request_idStart responseYour verification referenceYes, it is the key for later reads
wallet_verification.outcomeResult readThe gate decisionYes
wallet_verification.wallet.idResult readMethod used, for the audit trailYes
wallet_verification.countryResult readJurisdiction of the issuerYes
wallet_verification.simulatedResult readReal or test checkYes, a test result must never pass the gate
wallet_verification.expires_atResult readHow long the attempt stays readableOptional
wallet_verification.errorResult readReason a check failedYes, for support
vendor_dataYour start requestYour own customer reference, up to 2,000 UTF-8 bytesYes, it comes back with the result
metadataYour start requestAny JSON object you want returnedOptional
wallet_verification.identity.full_nameResult readNot needed for a pure age gateDrop it if you only need the decision

Two notifications matter. The wallet flow emits a completion webhook, and vendor_data and metadata come back with the result and with that webhook, which is how you join a completion to your own record without storing identity fields. The Age Estimation API emits a status.updated webhook when save_api_request stays at its default of true.

Test in the sandbox

Sandbox testing is free and unlimited on every plan. Use a sandbox API key for every call in this section.

On the wallet path, expect the start call to return a request_id and a next action, the return page to load on your registered hostname, and the result read to return a terminal outcome. The docs do not describe a scripted sandbox approval for wallets, so read wallet_verification.simulated: a real identity check is verified with simulated at false.

On the fallback path the expected result is deterministic. The Age Estimation endpoint with a sandbox key skips processing and billing, and after request validation returns a static Approved payload with age_estimation at 30 and no warnings. Assert against that fixture in your test suite.

Error cases and fixes on the wallet age check
SymptomWhat it meansFix
409 with error: "verification_in_progress"Your cancel arrived while a poll was checking the approvalWait the seconds in the Retry-After header, then read the completed result
409 with error: "not_a_digital_credentials_wallet"You posted a wallet response to a verification that does not take oneUse the redirect or poll path for that wallet instead
A second submit on the response endpointThe response is single useNothing to fix, the call returns the verification that was already decided
outcome is cancelledThe person or your application cancelledNo charge for a pending verification, start a new attempt with a new Idempotency-Key
outcome is timeoutThe authentication window expiredStart a new attempt, do not reuse the old key
outcome is failedAuthentication or identity validation failedRoute to the fallback: another wallet, Age Estimation or a document check
A conflict on startThe request changed while its Idempotency-Key stayed the sameThat is a conflict, not a new attempt, so send a distinct key for a new verification
The person lands on a dead return pageThe hostname is not in allowed_return_hostsRegister the exact bare hostname and include every hostname you want to keep, because the update replaces the list
429You exceeded the shared write budget of 300 requests a minute per API key across POST, PATCH and DELETESlow the caller down and retry

Disconnect

There is nothing installed on your side to remove, because the wallet integration is a set of calls. To stop it, stop calling the start endpoint, cancel the attempts still pending, and send PATCH /v3/webhook/ with only the hostnames you want to keep. If you connected Didit to an AI assistant while exploring, remove the connector there. Verifications you already created are read with the API key of the application that started them, so settle your retention before the first live check rather than after.

What both ends cost

There is one line to pay. The listed Didit price includes the wallet identity check, and Didit adds no separate national eID transaction fee. A pending verification you cancel is not charged.

A month of 20,000 over-18 checks using published unit prices and the Scale plan's 10% discount on Didit prices:

  • 12,000 Smart-ID verifications. List price $0.21, Scale price $0.21 times 0.90 = $0.189. 12,000 times $0.189 = $2,268.00.
  • 6,000 Google Wallet verifications. List price $0.10, Scale price $0.10 times 0.90 = $0.09. 6,000 times $0.09 = $540.00.
  • 2,000 Age Estimation fallbacks. List price $0.10, Scale price $0.10 times 0.90 = $0.09. 2,000 times $0.09 = $180.00.
  • Total: $2,268.00 + $540.00 + $180.00 = $2,988.00.

On Scale that month is $2,988.00 of usage before credit. The $350 monthly credit pays the first $350, so $2,988.00 minus $350.00 = $2,638.00 comes from top-up balance, and the plan itself is $299 a month. On Free, the $10 of monthly credit buys 100 Google Wallet checks at $0.10 each, or about 30 full KYC checks at $0.33 each. Growth and Scale plan discounts apply to Didit prices, and the price book inside the console shows the discounted line for each module you enable.

Sources

Next step: create an application in the sandbox at business.didit.me, register one return hostname, and run a single wallet verification before you enable a second wallet. No sales call is needed to get there.

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

Can I check that someone is over 18 without collecting their date of birth?

Yes, if you accept evidence that is not a document and your policy allows it. With the wallet API the person authenticates with a digital identity they already hold, the issuer signs the identity attributes, and your backend evaluates those attributes against your age policy. Your application can retain only its decision, the wallet id, the country and the request_id after evaluating the result, subject to your legal and retention requirements. The document route is the one that puts a date of birth in front of you, because the document carries one.

How much does an over-18 digital ID wallet check cost?

It depends on the wallet and whether it is available. Available rates per completed verification include $0.10 for Google Wallet, $0.20 for BankID Sweden and Bank iD, $0.21 for Smart-ID and Mobile-ID, $0.25 for MitID and the Finnish Trust Network, $0.35 for BankID Norway High, $0.49 for Personalausweis Profile 2 and $0.95 for iDIN full identification. Published coming-soon rates include $0.15 for EUDI Wallet, $0.25 for Vipps Plus and Freja eID, $0.55 for Estonian ID-card and eParaksts mobile, and $2.75 for OneID. The listed Didit price includes the wallet identity check, and Didit adds no separate national eID transaction fee.

Which wallets can I use for an age check, and where are they live?

The live price feed lists MitID in Denmark, BankID in Sweden, iDIN in the Netherlands, the Finnish Trust Network in Finland, Smart-ID in Estonia, Latvia, Lithuania and Belgium, Mobile-ID in Estonia and Lithuania, Bank iD in Czechia, BankID Norway High in Norway, Personalausweis Profile 2 in Germany, and Google Wallet in the United States, the United Kingdom, Brazil, Singapore and Taiwan as available. Availability is specific to your environment, and the console uses its environment's live capability catalogue when you save a workflow. Confirm each wallet in the console catalogue before you promise it to a user.

Does a wallet sign-in prove age as strongly as an ID document?

It proves something different, not more or less. The wallet result carries the cryptographic assurance tier: an identity provider authenticated the person and signed the attributes it returned. A document carries the documentary tier: a physical document was captured, read and checked for authenticity. The docs are explicit that the tiers describe different evidence rather than a ranking, so match the tier to what your regulator accepts for the threshold you enforce.

Can an Age Estimation result be treated as legal proof of age?

No. The Age Estimation API predicts age from a face and runs passive liveness in the same call, and the docs describe it as suitable for age gates and lower-friction checks, not as legal proof. An estimate below your threshold adds the AGE_BELOW_MINIMUM warning, with the threshold defaulting to 18, and the docs recommend a document fallback for faces close to the limit because the model's error grows there. It costs $0.10 per check.

What does a pending or cancelled wallet outcome mean for my gate?

A pending outcome means authentication is still in progress, and a pending response can still carry a next action. Cancelled, timeout and failed are terminal outcomes, and a terminal response has no next action. Only verified with simulated at false should pass an age gate.

Do I need a workflow or a workflow_id to run a wallet age check?

No. The wallet endpoints are standalone: you call a wallet's start endpoint with your application API key and you do not create or publish a workflow, or pass a workflow_id. If you want Didit to host the journey with workflow rules and a document fallback, use the Sessions API instead.

How do I test an over-18 check without spending credit?

Use a sandbox application. Sandbox testing is free and unlimited on every plan. A sandbox Age Estimation key skips processing and billing and returns a static Approved payload with age_estimation at 30, which makes it a stable fixture for a test suite. On the wallet path, assert that your gate rejects anything where simulated is not false.

What happens if the person has no wallet I support?

Offer a fallback and say so in the interface before they start. The two documented options are a document check at $0.15 for the ID line inside a $0.33 full KYC, or Age Estimation at $0.10 when a face-based estimate meets your policy. In a workflow with a wallet configured, an on_failure setting of fallback_to_document runs a separate document check, which is billed as its own line.

How many return hostnames can I register, and what happens when I update them?

Up to 20 bare hostnames, each registered without a scheme, a path or a wildcard. Updating allowed_return_hosts replaces the whole list, so include every hostname you want to keep. GET /v3/webhook/ returns the current list.

Can I cancel a wallet check the person abandoned, and am I charged?

Yes, you can cancel. A cancel declines a pending verification without charging for it and returns a completed verification unchanged. For Smart-ID and Mobile-ID the cancel waits a few seconds for a poll that is already running, then declines the verification, or returns it as verified if the person had already approved.

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.