/ocr_card
Endpoint
https://be.progeny.tech/api/v3/services/ocr_card/
Purpose
Allows you to connect to the OCR_Card service, using the provider configured in the Progeny Console, to extract an image from a driving license or ID.
Sample request and response
Get task Id
POST
https://be.progeny.tech/api/v3/services/ocr_card/
Request Body
Name
Type
Description
front_id*
String
Scanned Image of user's ID (front) in PNG, JPEG or JPG file format
back_id*
String
Scanned Image of user's ID (back) in PNG, JPEG, or JPG file format
extend_data
String
Set to true to retrieve the original response from the 3rd-party provider of the OCR_Card service
{
"id": "08bcb59c-c01c-42b9-b666-44df639cff78"
}
Extract an image from a driving license or ID
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
{
// Response
}
Last updated
Was this helpful?