Electronic ID

The Electronic ID method allows you to use various electronic ID's in order to verify a user's age. If you are looking to perform age checks in any of the countries that we support eIDs we recommend offering these methods as an option to users. These eID schemes are widely adopted and regularly used, and therefore should lead to high success rates.

To integrate the electronic ID methods without using our UI you must go through the 3 step process detailed below:

  1. Request a session
  2. Launch URL
  3. Retrieve Results

Request a session

The first step is to request a session for a specific electronic ID method.

HTTP
Copy
HeaderDescription
AuthorizationAPI Key to call the Yoti Age API. Should be sent as a Bearer token
Content-Typeapplication/json
Yoti-SDK-IdYour unique Yoti-Sdk-Id (uuid)

Request Body

JSON
Copy
ParameterTypesDescription
methodString

electronic Id method:

  • CZECH_BANK_ID
  • CZECH_MOJE_ID
  • POLISH_EDO_APP
return_urlStringUrl that the user will be redirected towards after they complete the verification process
enhanced_checksbooleanToggle for enhanced checks, must be set to true

Example Response

JSON
Copy
ParameterDescription
urlThe url that the user needs to be directed towards to complete the verification
conversion_idUnique Id needed to retrieve results

Launch URL

The second step in the integration process is to simply launch the url that is retrieved in the API call detailed above. The user will be directed to the relevant electronic Id method, where they will be able to complete the verification process. On completion, the user will be redirected to the "return_url" that was configured in the API call detailed above.

Retrieve Results

The final step in the integration would be to retrieve the results of the age verification. To do this a final call to our API will need to be made.

HTTP
Copy
HeaderDescription
AuthorizationAPI Key to call the Yoti Age API. Should be sent as a Bearer token
Content-Typeapplication/json
Yoti-SDK-IdYour unique Yoti-Sdk-Id (uuid)

The conversion Id that is returned in the API call to request a session must also be used as a query parameter in this API call.

Example Response

JSON
Copy
ParameterDescription
status

IN_PROGRESS - User has not yet completed the process.

COMPLETE - The session has been completed, data has successfully been returned.

ERROR - We could not provide any Data or an error occurred.

FAIL - We have only received a partial result.

dataThe data of the individual who underwent the verification, including the date of birth.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard