The Identities data point, in most cases, contain the meat of the data about the user as made available from the provider. Putting together various identity data from different providers can give you a fuller view of the user's information as well as opportunities to verify their data across multiple providers.
After the user connects an Account via Smile, Smile retrieves the user's Identity data from the Provider and makes it available for retrieval. You may listen for the appropiate events and webhooks (outlined below) in order to determine when their Identity data is ready.
Verifying User Identity
Most platforms will contain at least a first name and last name, with middle names and suffixes varying from platform to platform. You can use these information to match your customer's provided information with data from verifiable sources, such as government records and social security agencies.
Fallback Methods
If the sources your user provided are not enough you can also make use of Smile's Archive API to encourage the user to upload their own IDs. This can be a drivers' license, passport, or even banking or payroll documents.
The Identity object
Attribute
Type
Description
id
string
Unique ID of the identity information on the Smile Network
fullName
string
Full name of the user, if available from the provider. Null if not available
firstName
string
First name of the user, if available from the provider. Null if not available
middleName
string
Middle name of the user, if available from the provider. Null if not available
lastName
string
Last name of the user, if available from the provider. Null if not available
suffix
string
Suffix of the user (i.e. Jr, Ss, MD, etc), if available from the provider. Null if not available
gender
string
Gender of the user, if available from the provider. Null if not available. Possible values: Male, Female, Non-binary
dob
date
Birth date of the user, if available from the provider. Null if not available
maritalStatus
string
Marital status of the user, if available from the provider. Null if not available. Possible values: Divorced, Lifetime Partner, Married, Separated, Single, Widowed
countryResidence
string
Country of residence of the user, if available from the provider. Null if not available. Provided in 2-character alpha ISO-3166 codes, i.e. PH, ID, etc.
citizenship
string
Citizenship status of the user in their country of residences, if available from the provider. Null if not available. Possible values: Citizen, Resident Alien, Non-resident Alien, Undocumented, Others
photoUrl
string
Fully-formed URL to user's photo or avatar, if available from the provider. Null if not available
referenceId
string
Reference ID of the user's profile from the provider, if available. Null if not available
profileUrl
string
Fully-formed URL to user's public profile with the provider, , if available. Null if not available
emails
array
Contains email address(es) of the user as available from the provider. See object below
phones
array
Contains phone numbers of the user as available from the provider. See object below
socialProfiles
array
Contains any social profiles connected to the user's account as available from the provider. See object below
addresses
array
Contains physical addresses of the user as available from the provider. See object below
metadata
object
Contains data about this identity data point. See object below
The Email Address object
Attribute
Type
Description
address
string
Email address of the user
type
string
Type of email address provided by the user. Possible values: Primary, Secondary, Work, Personal
The Phone Number object
Attribute
Type
Description
number
string
Phone number of the user in international E.164 format
type
string
Type of phone number provided by the user. Possible values: Mobile, Fixed, Unspecified
The Social Profiles object
Attribute
Type
Description
socialUrl
string
Fully-formed URL to the user's public social media page
type
string
Provider of social media account to the user. Possible values: Twitter, Facebook, LinkedIn, Others
The Address object
Attribute
Type
Description
fullAddress
string
Full physical address of the user
line1
string
First line of the user's address, i.e. street address
line2
string
Second line of the user's address
city
string
City of the user's address
region
string
Geographic region of the user's address such as state or province
zip
string
Zip or post code of the user's address
country
string
Country of the user's address. Provided in 2-character alpha ISO-3166 codes, i.e. PH, ID, etc.
latitude
string
Latitude coordinates of the user's address
longitude
string
Longitude coordinates of the user's address
type
string
Type of address provided by the user. Possible values: Primary, Secondary
The Meta Data object
Attribute
Type
Description
createdAt
date-time
Date/time when the account record was created
itemCreatedAt
date-time
Date/time when the identity record was created
accountId Deprecated
string
ID of the user's account in the Smile Network
sourceId
string
ID of the user's account or archive in the Smile Network
sourceType
string
Indicates whether the source associated with this object is an account or archive. Possible values: ACCOUNT, UPLOAD, ARCHIVE