Database (without UI)

AI Tools

This method is only available as a headless check. It does not use the Age Verification Services UI.

Users provide their name, date of birth and address, and Yoti checks these details with a credit reference agency.

Age thresholds for these checks differ across countries and markets impacting the comparability of checks. In some countries, users will be on a database if they have signed a credit agreement. This may exclude those in lower-income groups or younger adults and students.

We never store or share your details with anyone other than the provider.

The database check involves sending a POST request to our API with some of the user's personal information sent in the request body. This check will only confirm if the user is over/under 18; no threshold can be set.

This method is good for:

  • Low friction
  • Speed

If you wish to enable the Database service, please see below:

HTTP
Copy

The following elements are needed in the header:

HeaderDescription
Yoti-Sdk-IdYour unique Sdk id
AuthorizationYour API key (bearer token)

Request body

All fields are mandatory.

JSON
Copy

Response

Below is an example response.

JSON
Copy

Error codes

Error CodeDescription
E300001Internal server error
E300003Bad request
E300003Invalid country code
E300004Not found
E300005Unauthorised
E300006Not allowed
E300007Missing first name field
E300008Missing last name field
E300009Missing zip code field
E300010Missing country field
E300011Missing date of birth field
E300012Missing address field
E300013Invalid date of birth field
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard