Social security number

Yoti offers the additional method of using a social security number 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 that 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 if 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.

The social security number check requires provisioning through Yoti. Please get in touch through support.yoti.com if interested in using this solution

Endpoint

The API endpoint to request the SSN check for age:

HTTP
Copy

Authentication & Headers

The HTTP headers for the API request:

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)

Request Payload

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
Last 4 Digits
Copy
FieldValueDescription
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_birthstring (dob)User DOB
phone_numberstringThe user phone number
streetstringThe user street name

Example Response

The JSON structure for the API 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