Example workflows
Please see examples for different scenarios.
Over 18 example
{
"type": "OVER",
"age_estimation": {
"allowed": true,
"threshold": 25,
"level": "PASSIVE"
},
"digital_id": {
"allowed": true,
"threshold": 18,
"age_estimation_allowed": true,
"age_estimation_threshold": 21
},
"doc_scan": {
"allowed": true,
"threshold": 18,
"preset_issuing_country": "GBR",
"authenticity": "AUTO",
"level": "PASSIVE"
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
Over 16 example
{
"type": "OVER",
"age_estimation": {
"allowed": true,
"threshold": 25,
"level": "PASSIVE"
},
"digital_id": {
"allowed": true,
"threshold": 16,
"age_estimation_allowed": true,
"age_estimation_threshold": 19
},
"doc_scan": {
"allowed": true,
"threshold": 16,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR"
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
Under 40 example
{
"type": "UNDER",
"age_estimation": {
"allowed": true,
"threshold": 40,
"level": "PASSIVE"
},
"digital_id": {
"allowed": false,
"threshold": 40
},
"doc_scan": {
"allowed": true,
"threshold": 40,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR"
},
"ttl": 900,
"reference_id": "over_18_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
"retry_enabled": false,
"synchronous_checks": true
}
Exact age example
{
"type": "AGE",
"age_estimation": {
"allowed": true,
"level": "PASSIVE"
},
"digital_id": {
"allowed": true
},
"doc_scan": {
"allowed": true,
"authenticity": "AUTO",
"level": "PASSIVE",
"preset_issuing_country": "GBR"
},
"ttl": 900,
"reference_id": "exact_age_example",
"callback": {
"auto": true,
"url": "https://www.yoti.com"
},
"notification_url": "https://yourdomain.example/webhook",
"cancel_url": "https://www.yoti.com",
"retry_enabled": false,
"synchronous_checks": true
}
Last updated on
Was this page helpful?
Next to read:
MarketplacesGot a question? Contact us here.
Welcome
API Reference
Age Verification Service
Age Verification (Headless)
Age Verification Sandbox