Face Match (Image & Transaction ID)
Last updated
Last updated
Instead of sending two images, you can provide one face image and the Transaction ID of a valid Data Extraction service transaction, so we can compare the face from this transaction's document with the face image provided. The transaction ID can be found in the data extraction API response.
You can use the Face Match service by providing two face images to be compared. The result will be "True" if similar or "False" if not.
POST
https://valifystage.com/api/v1/face/match/
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Download the JSON file.
Open Postman and click on Import.
Drop the JSON file.
Click on "Face Match" then click on "Authorization" and replace the <access token> field with your access token and then click on "Body".
Click on "Face Match" then "Body" and fill in the required fields then click on "Send".
Please note that the front and back images should be converted to base 64 format. This can be done via an online tool; https://base64.guru/converter/encode/image/jpg
Content-Type
string
application/json
Authentication
string
Bearer <access-token>
first_img
string
A base64-encoded face image.
transaction_id
string
An ID of a successful Data Extraction transaction
bundle_key
string
A bundle key provided to you by Valify.
lang
string
The preferred language for the error messages.