/kyc_passport

Compare an image extracted from a passport to a selfie image

Endpoint

https://be.progeny.tech/api/v3/services/kyc_passport/

Purpose

Allows you to connect to the Liveness, Face Compare, and OCR_Card services, using the providers configured in the Progeny Console, to extract an image from a passport and compare it against a selfie image.

Please refer to the section on images for guidance before posting. For the best results, we recommend a maximum height of 1080px.

Sample request and response

Get a task Id

POST https://be.progeny.tech/api/v3/services/kyc_passport/

Request Body

Name
Type
Description

selfie_image*

String

The file path to an image of the user's face in PNG, JPEG, or JPG file format

passport_image*

String

The file page to an image of the passport page in PNG, JPEG, or JPG file format

extend_data

String

Set to true to retrieve the original response from the 3rd-party providers of Liveness, Face Compare, and OCR_Card services

{
    "id": "efe46711-b1d8-43f1-9d02-7a54c43b79a2"
}

Extract an image from a passport and compare it to a selfie image

GET https://be.progeny.tech/api/v3/services/task/?id={{task_id}}

Path Parameters

Name
Type
Description

id*

String

The task Id you obtained from your POST request

Last updated

Was this helpful?