Integration guide

AI Tools

The Proof of Age service verifies user's age by scanning and verifying the QR code on a user's Proof of Age card within their Yoti Digital ID or Post Office Easy ID app. This card will be supported by a validated Government ID added to their account.

Collecting QR code

You will first need to build a method for reading a Proof of Age QR code. Proof of Age QR codes will only be valid for 30 seconds.

The QR code will look like this

And the encoded data will look like this

QR data
Copy

Calling the Proof of Age API

HTTP
Node.JS
PHP
.NET
Go
Copy

Body

FieldExampleDescription
qr.valuemDL:VGhlIGRldmljZSBlbmdhZ2VtZW50IGRhdGEgc3RydWN0dXJlThe value of the scanned QR code
qr.scanned_at2026-01-01T00:00:00ZWhen the QR code was scanned by the reader
terminal.idpos-1234957An identifier for the terminal that is used to scan the QR code

Response

JSON
Copy
FieldExampleDescription
idYzt0sbVOSauDWPwMQvumjQUnique identifier for the Proof of Age transaction
statusSUCCESS, PENDINGStatus of the Proof of Age check
timestamp2026-01-01T00:00:00ZTime that the check was completed
providerGOV_UK
age_over21, 25Indicates the age group the individual belongs to
valid_for_alcoholtrue, falseIndicates whether this Proof of Age check is valid for alcohol sale
checks

SIGNATURE_VERIFIED,

PROVIDER_ON_DVS_REGISTER

Checks performed when issuing the Proof of Age card

Errors

If there is an error with the check, the API will return an error code with further details

CodeErrorDescription
400MALFORMED_PAYLOADThere was an issue with the construction of the payload
403FEATURE_DISABLEDProof of Age service needs to be enabled for your Organisation
422INVALID_QR_CODE_VERIFIER_TOKENThe provided QR Code contains an invalid (or expired) token
500SYSTEM_UNAVAILABLEThere is a server issue - check https://status.yoti.com
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard