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": "South Korea",
"type": "PASSPORT",
"isoAlpha3CountryCode": "KOR",
"isoAlpha2CountryCode": "KR"
},
"ocrResult": {
"front": {
"data": {
"idNumber": {
"value": "Id-Number"
},
"personalIdNumber": {
"value": "Personal Id Number"
},
"name": {
"value": "Name from passport"
},
"dob": {
"value": "Date of birth in YYYYMMDD format"
},
"gender": {
"value": "Gender from passport (M/F/O)"
},
"placeOfBirth": {
"value": "Place of birth from passport"
},
"dateOfExpiry": {
"value": "Date of expiry"
},
"dateOfIssue": {
"value": "Date of Issuance"
},
"citizenship": {
"value": "citizenship from passport"
},
"religion": {
"value": "religion from passport"
},
"issuerName": {
"value": "issuer name from passport"
},
"issuerCountry": {
"value": "issuer country from passport"
},
"issuingAuthority": {
"value": "issuing authority from passport"
},
"portraitImage":"Base64 encoded cropped face image 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"
}
]
}