Skip to main content

Age-Restricted Digital Goods & Services: A Compliant Age Gate in 2026

Gate age in tiers: selfie age estimation at $0.10 is the gate, a document check at $0.15 is stronger evidence for borderline estimates or markets that require a document, and full KYC at $0.33 adds identity behind the age.

Age-Restricted Digital Goods & Services: A Compliant Age Gate in 2026

Contents

In this guide

Jump to the part you need.

This how-to is for teams that sell or host age-restricted digital goods and services: marketplaces, SaaS and AI platforms, gaming, alcohol and tobacco retail. It covers the gate we document end to end: age estimation from a selfie at $0.10 per check, an ID document check at $0.15 when the estimate is borderline, and full KYC at $0.33 when you need identity behind the age. The caveat: age estimation is a model prediction, not legal proof of age.

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

Age gate tiers, published prices and when each one fits
TierWhat runsPublished priceUse when
1. Declared date of birthYour own form, no Didit callNo Didit chargeFirst screen, and something to compare the estimate against
2. Age estimationSelfie, model age plus passive liveness$0.10 per checkMost gated content and the first real check on a user, where your written policy says an estimate is enough and the document is the fallback near the threshold
3. Document or digital ID walletID Verification inside a workflow $0.15; ID Verification API $0.20; digital ID wallets at their published rate, $0.10 (Google Wallet) to $0.95 (iDIN)$0.15 per document checkBorderline ages, 21+ goods, and markets where a regulator expects a document
4. Full KYCID document, passive liveness, face match, device and IP analysis$0.33 per checkYou need a known identity behind the age, not only a gate

Start free in the sandbox at https://business.didit.me/, with no sales call. Developers can connect Didit to an AI assistant through the Didit MCP server, and every line above is on the pricing page. The model, its error rates and the decision rules are documented on the Age Estimation overview.

Age gate and age evidence are two different jobs

Age estimation answers one question: does this face look old enough for this product. It returns a predicted age, a passive liveness score and a decision, and it never claims the person is who they say they are. That makes it the right tool for a gate on a low-risk feature, and the wrong tool for anything that needs a document number on file.

A document check is stronger age evidence. It reads a government document, checks its authenticity, extracts the date of birth and returns the parsed MRZ. With save_api_request=true and your own retention settings in place, you can show months later what was inspected. It costs $0.15 inside a workflow. Whether the fallback is mandatory is a product and jurisdiction decision, not a technical one: some markets and some categories expect a document for every user, others accept an estimate for most traffic and escalate only near the threshold. Write the rule down per market and per product.

What the gate has to produce

An age gate that survives a review produces three things per user: a decision (approved, declined, or sent to a person), an evidence record you can show later, and a threshold that is written down per market and per product. Everything below is built to produce those three things at the lowest published price that fits the risk.

The legal frame is why the tiers differ. The GDPR sets the age of consent for information society services at 16, with member states able to lower it to 13 (Regulation (EU) 2016/679). The UK's Online Safety Act 2023 puts age assurance duties on services likely to be accessed by children (legislation.gov.uk). Requirements vary by jurisdiction, so confirm the applicable rules and regulator guidance for each market. That is also why a tiered gate with a document fallback is easier to defend than a single check.

  1. Declared date of birth. Your own form, no Didit call and no charge. It filters obvious traffic and gives you a value to compare the model estimate against.
  2. Age estimation from a selfie with passive liveness. $0.10 per check. The result declines when the predicted age is below your threshold, when the liveness score is low, when no face is found, or when a presentation attack is flagged.
  3. Document or digital ID wallet. $0.15 for an ID document inside a workflow, $0.20 through the ID Verification API, or the wallet's published rate. Use it for borderline estimates, 21+ goods, and anything your market expects a document for.

Full KYC at $0.33 is a fourth tier and a different question: you are not asking how old the user is, you are asking who they are. Add it for high-value goods, first-party payouts and regulated licences.

The estimated age is model-predicted from the face, not verified against a document. Use it for age gates and lighter checks, not as legal proof of age. Borderline ages near your threshold deserve a fallback to document-based verification.

Prerequisites

  • A Didit organization and an API key. Sandbox keys skip processing and billing.
  • Credit for live calls. The Free plan includes $10 of credit a month for organizations that sign up with a work email.
  • A written threshold decision per market: 18 or 21, and which products land on which tier.
  • A selfie image for the standalone route, in tiff, jpg, jpeg, png or webp, up to 5 MB. PDFs are not accepted by age estimation.
  • An endpoint on your side to receive the webhook, and a route for anything that comes back In Review to manual review.

Steps

  1. Choose the threshold and the tier map. The threshold is a parameter on the check, not a policy inside it. Set age_estimation_decline_threshold to 18 by default and 21 for restricted goods, per workflow.
  2. Enable age estimation on the Liveness step. In the Business Console, configure the workflow's LIVENESS feature with age estimation enabled and set the decline threshold. In hosted flows there is no separate age estimation feature: the estimate is embedded inside the Liveness step.
  3. Create a session. Send the workflow id, your user reference and your callback.
    curl -X POST 'https://verification.didit.me/v3/session/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -H 'Content-Type: application/json' \
    -d '{"workflow_id": "YOUR_WORKFLOW_ID", "vendor_data": "user-1234", "callback": "https://your-app.example/webhooks/didit"}'
  4. Send the user to session.url, or mount the Web or Mobile SDK. The user sees the selfie step; passive liveness runs on the same capture.
  5. Read the decision. The age result lives at liveness_checks[].age_estimation on each Liveness entry. It is not a top-level age_estimations[] array.
    curl -X GET 'https://verification.didit.me/v3/session/SESSION_ID/decision/' \
    -H 'x-api-key: YOUR_API_KEY'
  6. Or run the standalone gate when you already hold the selfie. One call returns age plus passive liveness:
    curl -X POST 'https://verification.didit.me/v3/age-estimation/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -F 'user_image=@./selfie.jpg' \
    -F 'age_estimation_decline_threshold=18' \
    -F 'save_api_request=true' \
    -F 'vendor_data=user-1234'
  7. Route the borderline cases to a document. The same API call shape, with the age floor set on the document instead of the face:
    curl -X POST 'https://verification.didit.me/v3/id-verification/' \
    -H 'x-api-key: YOUR_API_KEY' \
    -F 'front_image=@./id_front.jpg' \
    -F 'back_image=@./id_back.jpg' \
    -F 'perform_document_liveness=true' \
    -F 'minimum_age=18' \
    -F 'expiration_date_not_detected_action=DECLINE' \
    -F 'invalid_mrz_action=DECLINE' \
    -F 'inconsistent_data_action=DECLINE' \
    -F 'save_api_request=true' \
    -F 'vendor_data=user-1234'
  8. Keep the record. With save_api_request=true the call is stored as an API-type session in the Business Console, request_id is a real session id you can pass to the decision endpoint, and a status.updated webhook is emitted. Only then is the result retrievable later. With false, nothing is stored and the id cannot be looked up again.
The selfie capture screen a user sees before the age estimate and passive liveness run
Tier 2: one selfie capture, then the age estimate and the passive liveness score come back in the same result.

Expected output

The age estimation response carries the decision, the predicted age, the liveness score and any warnings. Field names below are the documented ones:

{
  "request_id": "...",
  "age_estimation": {
    "status": "Approved",
    "method": "PASSIVE",
    "age_estimation": 18.2,
    "score": "passive liveness, 0 to 100",
    "user_image": { "entities": [] },
    "warnings": []
  }
}

The status enum is Not Started, In Progress, Approved, In Review, Declined, Abandoned, Kyc Expired. A call is Approved only when warnings is empty: any warning declines it. A document check returns id_verification with status, date_of_birth, document type and number, the parsed MRZ, and its own warnings array.

A session in the Didit Business Console showing the liveness entry that holds the age estimation result
The evidence trail: the Liveness entry on the session detail page is where the age estimate is stored when you keep the request.

Failure cases and recovery

What comes back, what it means, and what to do
ResultMeaningRecovery
HTTP 400Missing or oversized user_image, unsupported extension, or a PDFValidate type and size client side, ask for a retake
HTTP 403Out of credits, or a missing or invalid API keyTop up, or check the key; this API never returns 401
HTTP 429Over the shared write budget of 300 requests per minute per keyBack off and retry
AGE_BELOW_MINIMUMEstimate below the configured thresholdDecline, and offer the document route only if your policy allows it
AGE_NOT_DETECTEDThe model could not extract an age, usually poor image qualityAsk for a retake in better light
LOW_LIVENESS_SCORE or LIVENESS_FACE_ATTACKScore at or below 30, or a suspected presentation attackDecline or escalate; do not retry into an approval
NO_FACE_DETECTED, MULTIPLE_FACES_DETECTEDNo usable face, or more than one; the largest face drives the estimateRetake with one face in frame, or set rotate_image=true for sideways captures
MIN_AGE_NOT_REACHED, DOCUMENT_EXPIRED, INVALID_MRZ, INCONSISTENT_DATATerminal document warningsShow the first warning's long description to the user and stop the flow
In Review with DOCUMENT_LIVENESS_NOT_COMPUTEDThe forgery check produced no usable scoreTreat the document as unchecked and route it to a person

Inputs and outputs

Fields on the age gate calls
FieldDirectionNotes
user_imageInputRequired for age estimation. tiff, jpg, jpeg, png, webp. Maximum 5 MB. No PDF
age_estimation_decline_thresholdInputDefaults to 18
minimum_ageInputAge floor on the document check
save_api_requestInputDefaults to true; false stores nothing and returns a one-off id
vendor_dataInputYour user reference, returned with the session
statusOutputThe decision, from the enum above
age_estimationOutputModel-predicted age in years, null when not detectable
scoreOutputPassive liveness score from 0 to 100
warnings[]OutputRisk codes: AGE_BELOW_MINIMUM, AGE_NOT_DETECTED, LOW_LIVENESS_SCORE, NO_FACE_DETECTED, LIVENESS_FACE_ATTACK, MULTIPLE_FACES_DETECTED, MIN_AGE_NOT_REACHED, DUPLICATED_DOCUMENT, DOCUMENT_LIVENESS_NOT_COMPUTED
date_of_birthOutputExtracted on the document route
The document capture screen used when a borderline age estimate is escalated to an ID check
Tier 3: the document capture that answers a borderline estimate, with the age floor enforced on the extracted date of birth.

You pay per completed check from prepaid credit, and only when a check finishes with a result. The paid lines in this flow are age estimation at $0.10, an ID document check at $0.15 inside a workflow, the ID Verification API at $0.20, and full KYC at $0.33. Digital ID wallets run at their published per-wallet rates. If you add AML screening to a gated sign-up that becomes a payment relationship, that is a separate $0.20 check. The Workflow Orchestrator, the MCP server and reusable KYC are free lines.

The review boundary is mechanical. Approved happens only when the warnings array is empty. In Review goes to your manual queue and must not be auto-approved, including the DOCUMENT_LIVENESS_NOT_COMPUTED case where the document was effectively never checked. Anything declined on AGE_BELOW_MINIMUM is a policy outcome, not an error, so it belongs in your product copy rather than your incident channel.

Worked cost example

Take 50,000 monthly age gates, with 6% escalating to a document because the estimate lands near the threshold.

  • Age estimation on all 50,000: 50,000 x $0.10 = $5,000.00
  • Document check on the 3,000 escalations: 3,000 x $0.15 = $450.00
  • Total at list price: $5,450.00 per month, or $5,450.00 / 50,000 = $0.109 per gate
  • Same volumes on Scale, at 10% off every price: 50,000 x $0.09 = $4,500.00, plus 3,000 x $0.135 = $405.00, total $4,905.00
  • If the escalated 3,000 need identity rather than an age, full KYC replaces the document line: 3,000 x $0.33 = $990.00, so the list total becomes $5,990.00

Matching the gate to your business

Online marketplaces

Put the gate on the restricted listing and again at checkout, not only at sign-up, and keep the session attached to the order so a dispute can be answered months later. Age estimation at $0.10 covers the traffic, document checks at $0.15 cover 21+ goods. Seller onboarding is a different product: business verification starts at $2.00 per company.

SaaS and AI platforms

Gate by feature, not by account, so a free account can browse and the restricted feature asks for a selfie. Many teams treat age estimation at $0.10 with passive liveness as enough for a feature gate; that is a product-policy assumption for you to write down and revisit, not a measured statistic. Teams building agents can wire the same checks into an assistant through the MCP server.

Regulated industries and retail

Gambling, alcohol, tobacco and adult content carry the strictest expectation, so lead with the document route at $0.15 and use the selfie estimate only as a pre-screen. Where the market has a national digital ID wallet, the wallet can supply an age attribute at its published rate, from $0.10 for Google Wallet in the US, UK, Brazil, Singapore and Taiwan.

Sources

Next step: open the sandbox at https://business.didit.me/, create a workflow with age estimation enabled on the Liveness step, and run one test session. No sales call is involved, 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 the fastest way to add age verification to an app in 2026?

Use a hosted session with age estimation enabled on the Liveness step: create one session, send the user to session.url, and read the result at liveness_checks[].age_estimation from the decision endpoint. Didit charges $0.10 per age estimation check, and the sandbox is free, so you can build the gate before you buy credit.

Age estimation vs document-based age verification, which should I use?

Use age estimation from a selfie as the age gate: $0.10 per check, no document needed, and the model's mean absolute error is 1.1 years at ages 16 and 17. Use document verification as stronger age evidence for legal proof, for 21+ goods, or when an estimate lands close to your threshold, because the model's error grows near the limit. Whether that document fallback is mandatory depends on the product and the jurisdiction, so check the rules for each market you sell into.

What does age verification cost per check?

$0.10 for age estimation from a selfie, $0.15 for an ID document check inside a workflow or $0.20 through the ID Verification API, and $0.33 for full KYC with face match and device and IP analysis. Digital ID wallet checks start at $0.10. Billing is per completed check from prepaid credit, and the Free plan includes $10 of credit a month for organizations that sign up with a work email.

Do we need dedicated age verification devices?

No. Both documented routes use the user's own camera: a selfie for age estimation, or a photo of a government document for verification. If you also want a device signal, device and IP analysis is a $0.03 line inside a full KYC check.

How should an online marketplace handle age-restricted third-party goods?

Gate the listing and the order, keep the session id with the order record, and set the tier by category rather than by seller. Age estimation at $0.10 handles most traffic and document checks at $0.15 cover 21+ items. Verifying the sellers themselves is business verification, from $2.00 per company.

Can we gate age without storing selfies?

Set save_api_request=false and nothing is stored: the returned request_id is a one-off correlation value that cannot be looked up later. That also removes the audit trail, because the session will not appear in the Business Console. Keep it at the default true when you need to show a regulator or a payment provider what was checked.

What is age assurance technology and how is it different from age verification?

Age assurance is the umbrella term for establishing age with evidence weaker than a document, such as a face estimate or a declared date of birth with follow-up. Age verification is the stricter end, where a government document or a digital ID wallet is checked. A practical gate uses both, at different price points, and records which one produced each decision.

When should an age check go to human review?

Send a session to a person whenever the status is In Review, and never auto-approve it. That includes a document check where the requested forgery check produced no usable score, reported as In Review with DOCUMENT_LIVENESS_NOT_COMPUTED: the document is effectively unchecked.

Should the threshold be 18 or 21?

Set age_estimation_decline_threshold to 18 by default and 21 for goods that require it, and use minimum_age on document checks for the same market. The threshold is a parameter, so record per session which value was used. Different products in one account can carry different thresholds.

How do we test an age gate without spending credits?

A sandbox API key skips processing and billing and returns a static Approved payload with the age set to 30 and no warnings. Because the mock always approves, you cannot exercise decline paths by changing the threshold there, so test those against your own fixtures. Sandbox testing is free and unlimited.

How do we evaluate a third-party age verification provider?

Ask for the published price per check, the exact result fields and warning codes, and whether the evidence is retrievable later. Check that the decline logic is documented rather than implied, and that a borderline result has a documented escalation route to a document. Didit publishes every price line and serves 4,000+ companies, so you can compare before you talk to anyone, and our switch page covers moving from another provider.

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.