CustomerDataDto
Also accepts any additional custom field (camelCase key, string value) to be verified against the document. The optional properties marked 'MRZ-verifiable' (plus firstName/lastName) are verified against the machine readable zone whenever it validates; any other key is verified against the OCR text only.
Customer's document serial number - MRZ-verifiable
Customer's birth date, any common format - MRZ-verifiable
Alias of birthDate - MRZ-verifiable
Document expiry date, any common format - MRZ-verifiable
Alias of expirationDate - MRZ-verifiable
Nationality as a country name, ISO alpha-2 or alpha-3 code - MRZ-verifiable
Customer's sex - MRZ-verifiable
Alias of sex - MRZ-verifiable
Personal number (TD3 passports) - MRZ-verifiable
Issuing state as a country name or ISO code - MRZ-verifiable
Issue date (French/Swiss driving-licence MRZs) - MRZ-verifiable
Language code (Swiss driving-licence MRZs) - MRZ-verifiable
Customer's country ISO Code
Customer's document type
Possible values: [other, alien-id, health-card, id-card, electronic-id-card, foreigner-certificate, id-book, passport, driving-license, refugee-id, resident-id, seaman-id, social-id, travel-docs, voting-card, ke-kra-pin, ke-army-id, zm-tpin, nin-card, nin-slip, nin-digital-slip, digital-id-card]
Customer's first name
Customer's last name
Customer's optional identifying key
Also accepts any additional custom field (camelCase key, string value) to be verified against the document. The optional properties marked 'MRZ-verifiable' (plus firstName/lastName) are verified against the machine readable zone whenever it validates; any other key is verified against the OCR text only.
{
"documentNumber": "string",
"birthDate": "string",
"dateOfBirth": "string",
"expirationDate": "string",
"expiryDate": "string",
"nationality": "string",
"sex": "string",
"gender": "string",
"personalNumber": "string",
"issuingState": "string",
"issueDate": "string",
"languageCode": "string",
"country": "string",
"documentType": "other",
"firstName": "string",
"lastName": "string",
"customerId": "string"
}