✈️Passport
Last updated
Last updated
This API provides Data Extraction for Travel Passport documents, particularly the identity page containing the individual's information.
The "validity" metric in this API's successful response indicates the validity of the data extracted from the document.
POST
https://valifystage.com/api/v1/ocr/
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Download the JSON file from here.
Open Postman and click on Import.
Drop the JSON file.
Click on "Passport" and then click on "Authorization" and replace the <access token> field with your access token and then click on "Body".
Click on "Body" then fill in the required data and hit "Send".
Content-Type
string
application/json
Authentication
string
Bearer <access-token>
document_type
string
passport
data
object
Object containing the parameters below:
{
img: <base64 str>,
bundle_key: <str>,
lang: <str>
}