Mobile

Overview

Verify your user is over 18 using their mobile provider details.

Mobile phone numbers can be checked against data sources connected to the mobile number which can help ascertain a user's over 18 status. You should ensure the phone is in the possession of the contract holder before checking their details and be aware parents can take out contracts for their children.

Good for:

  • Accounts linked to a mobile number
  • Background checks
  • Specific countries

Yoti will send the user’s details to one of our data providers. Yoti offers the ability to send the user an OTP ahead of performing the check, this is to confirm they are in possession of the phone. Once the check is complete, the provider confirms the user’s details from their mobile account which are used to determine that the user is over 18.

We never store or share the user’s details with anyone other than the provider.

Mobile - Headless check

Send mobile OTP

When verifying someones age via the mobile method, you can optionally send a one time password (OTP) to the phone number that the user provides, to ensure they have access to this mobile phone. If the phone number has already been verified (i.e. through a pre-existing OTP), this step may be skipped.

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
phone_numberStringThis should be the target phone number to receive an OTP, including the country prefix.
consent_idStringReference stored by the telco for each check.

Example response

Success
Failure
Copy

Mobile check

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
phone_numberStringThe phone number to verify. This must include the country code prefix.
consent_idStringReference stored by the telco for each check.
otp*String

Optional, if an OTP was requested, this can be sent to verify the recipient has received the OTP.

If the phone number is already verified, an OTP may not be required.

Example response

Success
Error
Copy
FieldDescription
methodThe AV method used. MOBILE is returned for mobile checks
typeDictates the threshold type. For mobile checks only OVER is returned
thresholdThe age threshold that has been met
ageThe age threshold that has been met
resultReturns true if the threshold (18) has been met. Returns false if not met, or on error
status

COMPLETE - The phone number has been associated with an Over 18 individual

ERROR - We could not provide an age result, because we didn't have enough info associated with that phone number

FAIL - The phone number has been associated with an Under 18 individual

evidence_idThe Evidence ID can be re-shared with Yoti to provide evidence that a check of a mobile phone number was performed. The mobile phone number or associated personal information is not stored by Yoti, this can never be retrieved. Yoti will be able to confirm that a check took place at a specific time, the processing steps and result of the check

Error codes

Error CodeDescription
E200001Internal server error
E200003Unable to get a response from requesting OTP
E200006Invalid country code
E200007Bad request
E200008Unauthorised
E200009Not allowed
E200010Not found
E200011Invalid message template
E200012Phone number not whitelisted
E200013Error received from supplier
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard