← Product surface
02/ 04
API primitive · age_verify

Age verification

Prove the threshold, not the birthday.

Successful result$0.05Charged only when this step verifies

Calculate an arbitrary age threshold from a verified credential while redacting identity from the business result.

Use in the flow builder →
Small request surface

Input on the left.
Fact on the right.

Alentra captures and reports cryptographic facts. Your application decides what the result means and whether the session continues.

RequestPOST /v1/sessions
{
  "steps": [
    {
      "primitive": "age_verify",
      "params": {
        "min_age": 18
      }
    }
  ]
}
Completed stepwebhook
{
  "primitive": "age_verify",
  "result": {
    "min_age": 18,
    "satisfied": true
  },
  "audit_id": "sess_…_0"
}
Business result

What you receive.

The business receives only the requested threshold and true or false. Alentra processes the date of birth to calculate it.

Evidence boundary

What remains provable.

The identity and wallet presentation remain encrypted in the immutable audit; the business-facing result remains redacted.

Where it fits

A verb,
not a vertical.

Alentra keeps primitives horizontal. Your product owns the industry-specific policy around them.

01Age-gated services
02Restricted goods
03Minor-protection flows
Composition is the product

Add age_verify to a complete flow.

Order multiple wallet-attested actions under one bound subject and one audit chain.

Compose a session

Government-wallet proof, ready to repeat.

Start with Alentra