ElevenID
ElevenID LLC
All Posts
Deployments
5 of 8
6 min read

Age Verification in Retail

Verify a customer is over 21 without ever seeing their name, birth date, or address. Zero-knowledge predicates make privacy-preserving age checks practical.


Retail age verification today requires a cashier to look at a driver's licence - exposing the customer's full name, home address, date of birth, and licence number just to confirm they are over 21. Verifiable credentials with zero-knowledge predicates eliminate this entirely. The customer proves age >= 21 without revealing any other personal information.

The Setup

The retailer configures a Presentation Policy that requires a single predicate: age_over_21 == true, from a credential type matching mDL or government-issued ID, from issuers present in the AAMVA Trust Profile. The customer's wallet app receives the request, finds a matching mDL credential, and generates a zero-knowledge proof that the predicate is satisfied.

Age verification Presentation Policy

json
{
  "id": "retail-age-check-v1",
  "requirements": [{
    "credential_type": "mDL",
    "trust_profiles": ["aamva-mdl-trust-v1"],
    "required_predicates": [
      { "claim": "age_over_21", "op": "eq", "value": true }
    ],
    "required_claims": []
  }],
  "holder_binding": "required"
}
No PII Transmitted

The verifier receives a cryptographic proof that the predicate is true - and nothing else. No name, no address, no birth date, no licence number. The proof is bound to a one-time nonce, so it cannot be replayed. The entire interaction takes less than two seconds on a phone tap.