Identity Check
Last updated
Last updated
To run an Identity Check, you must create a check with type
set to identity_check
.
The documentId
provided must have associated image attachments that adhere to our image specifications.
Learn more about Identity Checks.
We will use the front side of the document for the Identity Check.
Attribute | Type | Description |
---|---|---|
options
object Attribute | Type | Description |
---|---|---|
The result
object is only returned when the status of the check is complete
. It has two components - outcome
and breakdown
.
The outcome attribute represents the overall check result. Returned values include:
clear
: Indicates every analysis conducted returned a successful result, and hence the identity is authentic.
attention
: Indicates at least one of the analysis results requires attention.
The breakdown comprises the following objects:
faceAnalysis
objectThe facial analysis results. It has the following constituents:
faceDetection
: Indicates whether a face is detected and that number of faces detected on the ID and live photo are valid.
facialSimilarity
: Indicates whether the faces on the live photo and document belong to the same person.
previouslyEnrolledFace
: Indicates whether the face on the live photo has been previously enrolled as a different client.
breakdown
: Breakdown related to facial analysis.
facialSimilarityScore
: Indicates the similarity level of whether two faces belong to the same person. The score will be 100 for a perfect match.
enrolledFacesMatches
: If a face is deemed to have been enrolled previously, this will contain an array of objects that contain the following:
clientId
: The unique identifier for the matching client.
entityName
: The client's full name.
livePhotoId
: The unique identifier for the matching live photo.
liveVideoId
: The unique identifier for the matching live video. Either a liveVideoId or livePhotoId will exist in the object, not both.
facialSimilarityScore
: The similarity level of the client's face against the live photo associated with the check.
authenticityAnalysis
objectThe facial analysis results. It has the following constituents:
spoofedImageAnalysis
: Indicates whether the images are spoofed, copied from the internet, or are known blacklisted images.
livenessCheck
: Indicates if the live photo is genuine and not a photo-of-an-image or photo-of-a-screen.
breakdown
: Breakdown related to authenticity analysis.
specimenCheckMatches
: If an image is deemed copied from the internet, this will contain an array of URLs pointing to the image.
livenessCheckScore
: Indicates the liveness score of the live photo. The score will be 100 when it is assumed to be authentic.
integrityAnalysis
objectThe integrity analysis results. It has the following constituents:
faceDetection
: Indicates whether the images contained the expected number of faces.
vpnDetected
: Indicates whether the client was using a Virtual Private Network (VPN) when conducting the check.
clientId
string
The ID of the client associated with this check. (Required)
type
string
This must be set to identity_check
. (Required)
documentId
string
The ID of the document. (Required)
livePhotoId
string
The ID of the live photo. (Required)
options
string
The optional settings for the check. Also, see the options object below. (Optional)
enableEnrolledFaces
boolean
Determines whether enrolled face matching is enabled. When this attribute is not provided, it will default to true.
enableSpecimenMatching
boolean
Determines whether specimen matching is enabled. When this attribute is not provided, it will default to true.
enableVpnDetection
boolean
Determines whether VPN detection is enabled. When this attribute is not provided, it will default to true.