Skip to content
Constaia

Age verification (21+)

21+ checks at checkout or at the venue, read from the ID itself

Alcohol, cannabis where legal and 21+ events: date of birth and expiry read from the ID and its barcode.

The problem

  • Staff do date math under pressure, at the door or at delivery.
  • Expired IDs, and IDs whose front and barcode disagree.
  • Keeping ID images as proof of the check creates liability.

With Constaia

  • min_age_years: 21 against today or against your event date with reference_date.
  • AAMVA barcode compared with the printed front; mismatches go to review.
  • Keep only the verdict and the time of the check with storage "none".
  • Constaia checks the document, not the face: it does not confirm that the person holding the ID is its owner. Local age verification rules still apply.

Typical documents

Sample request

curl https://api.constaia.com/v1/analyze \
  -H "Authorization: Bearer $CONSTAIA_API_KEY" \
  -F "file=@document.pdf" \
  -F 'options={
    "expect": [
      "us_driver_license",
      "us_state_id",
      "passport",
      "us_passport_card"
    ],
    "checks": {
      "not_expired": true,
      "min_age_years": 21
    },
    "storage": "none"
  }'

And for the record…

Create your account, copy the test key and validate your first document in five minutes.