Social security number

AI Tools

Yoti offers the additional method of using a social security number (SSN) to verify a users age. This check is only available to individuals from the USA that have a social security number.

The Social security number method checks the basic identity details of a user can be matched to an known social security number in order to verify a user’s age. Yoti will send the user’s details, including their social security number to one of our data providers. Once the check is complete, the provider confirms the social security number can be linked to the validation identity which is then used to determine that the user is over the age threshold.

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

IMPORTANT Please contact Yoti before enabling this method.

Endpoint

The API endpoint to request the social security number check for age:

HTTP
Copy

Headers

HeaderDescription
AuthorizationAPI Key to call the Yoti Age API. Should be sent as a Bearer {{API_TOKEN}} .
Content-Typeapplication/json
Yoti-Sdk-IdYour unique Yoti-Sdk-Id (uuid)Authorization

Request Body

You should inform the user of this check in advance

The Social Security number can either be the full SSN or the last four digits. Both examples are shown below.

SCOPE A scope of address is required to use this check. This can be enabled through the Yoti Hub in the services section under your API key.

The JSON structure for the API request (payload):

Full SSN
SSN Last 4 Digits Only
Copy
ParameterValueDescription
typeOVEROnly OVER is supported
thresholdnumberDefaults to 18
first_namestringThe first name of the user
last_namestringThe last name of the user
zip_codestringUser zip code
social_security_numberstringUser SSN
date_of_birthstringUser DOB in DD/MM/YYYY format
phone_numberstringThe phone number of the user
streetstringThe street name of the user's address

Response

JSON
Copy
FieldDescription
transaction_idUnique ID related to the request check being performed.
typeThe condition for the age check (Over threshold)
status

COMPLETE - The SSN was verified to be over the threshold

ERROR - No match found for the check

INSUFFICIENT_DATA - No match found for the check (this will eventually replace the ERROR state)

resultReturns true if the threshold (18) has been met. Returns false if not met, or on error. The result flag will eventually be deprecated so we recommend looking at the Status to determine the outcome.
ageThe threshold of the check (18)
methodThe method used. This should return as Social Security Number
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard