Passports
Last updated
{
"operations": ["ocr"],
"payload": {
"partnerTrxId": "{{$guid}}",
"groupId":"{{$guid}}",
"country": "KOR",
"idType": "PASSPORT",
"idSubtype": "N/A",
"idFrontSideImage":"Base64 encoded image of passport front side"
},
"userConsent": {
"userIp": "226.80.211.232",
"country": "IND",
"obtained": true,
"obtainedAt": "1680700959"
}
}{
"transactionId": "unique transaction id generated to identify this transaction",
"partnerTrxId": "partner transaction id submitted by customer in request",
"groupId": "partner group id submitted by customer in request",
"card": {
"country": "Country",
"type": "PASSPORT",
"isoAlpha3CountryCode": "iso Alpha 3 Country Code of the country the card belongs to",
"isoAlpha2CountryCode": "iso Alpha 2 Country Code of the country the card belongs to"
},
"ocrResult": {
"front": {
"idNumber": "Id-Number",
"name": "Name from Passport",
"dob": "YYYYMMDD",
"gender": "Gender from Passport",
"placeOfBirth": "Place of birth from passport",
"dateOfExpiry": "Date of expiry",
"dateOfIssue": "Date of Issuance",
"citizenship": "citizenship from passport",
"issuerName": "issuer name from passport",
"issuerCountry": "issuer country from passport",
"issuingAuthority": "issuing authority from passport"
}
}
}{
"transactionId": "unique transaction id generated to identify this transaction",
"partnerTrxId": "partner transaction id submitted by customer in request",
"groupId": "partner group id submitted by customer in request",
"errors": [
{
"code": 5005,
"operations": [
"idVerification",
"ocr"
],
"message": "extraction_failed"
}
]
}