Skip to main content

Age policy and verification modes

Choose your verification mode and challenge age before you go live. This page explains exactly what a verified result tells you, so you can match the settings to the age requirement you need to meet.

What a verified result means​

A session is verified when one of these is true:

PathWhen it is usedWhat it establishes
Selfie age estimateL1 onlyA live person whose estimated age is at or above your challenge age.
ID checkL1 when the estimate is below the challenge age, and every L2 sessionA live person whose ID shows they are 18 or older, whose document passed authenticity checks and, unless face matching is switched off for the session, whose face matches the ID photo.
The ID check always checks for 18+

The challenge age applies only to the selfie estimate. When a user passes with an ID, SafePassage checks that the date of birth shows 18 or older, whatever challenge age you set. An ID-based verified result does not establish that the user meets a higher age such as 21.

If you must establish an age above 18, a verified result alone is not sufficient evidence today. Contact support@safepassageapp.com before relying on SafePassage for that requirement.

Why the challenge age is at least 25​

Age estimation from a face has a margin of error. Setting the challenge age above the legal age you need (for example, 25 for an 18+ requirement) means users whose estimate is close to the limit are asked for an ID instead of being passed on the estimate. The minimum challenge age is 25.

A higher challenge age sends more users to the ID check. A lower one (down to 25) lets more adults pass on the selfie alone.

L1: selfie estimate, with an ID check when needed​

  1. Camera permission and liveness check.
  2. SafePassage estimates the user's age.
  3. Estimate at or above the challenge age: verified, no ID needed.
  4. Estimate below the challenge age: the user is asked for an ID. The ID check (18+, document checks, face match) decides the result.

Use L1 when the rules that apply to you allow age estimation and you want most adults to finish without an ID.

L2: ID check every time​

  1. Camera permission and liveness check.
  2. The user always provides an ID. No age estimate is made, so the challenge age has no effect on the result.
  3. The ID check (18+, document checks, face match) decides the result.

Use L2 when the rules that apply to you require a document check for every user, or when you are unsure.

Face matching​

Face matching compares the live selfie with the ID photo. It is on by default. Where comparing a selfie with an ID photo is not permitted, your server can create a session with faceMatchEnabled: false. Only the face comparison is skipped; the liveness, document authenticity and 18+ checks still run. Publishable-key (browser) sessions always use face matching.

Where the settings come from​

SettingAccount defaultPer-session override
Verification modeDashboard → Configuration → Verification. New accounts start on L2.Server-created sessions only: verificationMode
Challenge ageDashboard → Configuration → Verification. Default 25, minimum 25.Server-created sessions only: challengeAge (whole number, 25 or above)
Face matchingAlways onServer-created sessions only: faceMatchEnabled

Sessions started in the browser with a publishable key always use the account settings; values sent from the browser are ignored.

Use the account settings by default. The examples in this documentation do not send verificationMode or challengeAge, so changing a setting in the Dashboard changes every new session. Send a per-session override only when one page or region genuinely needs a different policy, and remember that an override silently replaces your Dashboard settings for that session.

// Deliberate per-session override (server only). This session uses L2
// regardless of the Dashboard setting. Omit these fields to use the account policy.
body: JSON.stringify({
returnUrl: 'https://example.com/verify/return',
externalUserId: user.id,
verificationMode: 'L2',
})

The Validate Session response and webhooks report the verificationMode and challengeAge each session actually used, so you can confirm which policy applied.

Choosing settings​

Your requirementSuggested settings
18+, and estimation is allowedL1, challenge age 25 or higher
18+, and a document check is requiredL2
Not sure which rules applyL2, and get advice on your obligations
A minimum age above 18Contact support@safepassageapp.com first (see the warning above)

You can change modes at any time in the Dashboard. The change applies to new sessions only.