CustomerDataNgNinDigitalSlip
Extends CustomerDataDto: the object also contains its base fields (country, documentType, firstName, lastName and the optional customerId), which are not repeated below. The fields listed here are specific to this country and document type.
The middle name(s): the given names that follow the first one. The first space or comma ends the first name ("AMINA, ZAINAB" or "AMINA ZAINAB" -> middle name "ZAINAB"), a hyphen does not ("ADA-OBI, ZAINAB" -> first name "ADA-OBI", middle name "ZAINAB"). Optional: sending all the given names together in firstName is also accepted. Every word is fuzzy-matched individually against the OCR. Never fails the match: a middle name the document does not show is reported as not matching in the breakdown, without rejecting the document.
The 11-digit National Identification Number (NIN), e.g. "12345678901". Spaces are stripped, so the grouped print ("1234 567 8901") is also accepted.
The sex of the document holder β send "M"/"F"; the slip prints the full word ("MALE"/"FEMALE")
Possible values: [F, M]
birthDate object
The date of birth as printed on the slip in DD MMM YYYY format (e.g. 14 SEP 1994)
- MOD1
- MOD2
Unix timestamp in milliseconds
Date string, ISO 8601 recommended (e.g. 1995-04-29)
issueDate object
The issue date as printed on the slip in DD MMM YYYY format (e.g. 04 FEB 2026)
- MOD1
- MOD2
Unix timestamp in milliseconds
Date string, ISO 8601 recommended (e.g. 1995-04-29)
{
"middleName": "string",
"nin": "string",
"sex": "F",
"birthDate": 0,
"issueDate": 0
}