ID Document to Selfie Matching
Verify the identity of a person using a Selfie Photo and an ID Document
Appruve makes it easy to implement a selfie photo verification flow using an ID Document. There are three steps involved.
1. Perform OCR
The first step is to perform an OCR on the ID Document using one of the OCR For Sequential Verification endpoints. The PII details on the document is extracted. Once the extraction is successful, Appruve will do a lookup of the ID record from the Government database. If a valid Government ID record is found, Appruve will use the photo returned (unless there is no photo associated with the record in which case Appruve will crop the photo on the ID document) to match against the face in the Selfie that is uploaded subsequently. You can pass an optional custom_params
object to store custom information. This information will be returned alongside the verification result object. A unique transaction_reference
id will be returned. Use this in the next steps where transaction_reference
is requested.
Example request:
Example response:
2. Perform Face Liveness Check (Optional)
See the Face Liveness Check section on how to do this.
3. Upload the selfie photo
Upload the selfie photo taken by the user using the Upload Selfie Photo endpoint. Appruve will match the face on the selfie photo against the face on the matched Government ID record (or the face cropped from the ID document).
Example request:
Example response:
Use Webhooks if you want to receive the verification result within your server side application.
Last updated