Skip to main content

CustomerDataNgNinSlip

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.

middleNamestring

The MIDDLE NAME printed in its own labelled field on the slip (e.g. "KAYODE"). Absent on some documents, leave it out then. Optional: sending it together with the first name 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.

ninstring

The 11-digit National Identification Number (NIN), e.g. "12345678901". This slip prints it contiguous; spaces are stripped, so a grouped form is also accepted.

sexstring

The sex of the document holder β€” send "M"/"F"; the slip prints the short form directly (no normalization happens)

Possible values: [F, M]

addressstring

The residential address as printed on the slip β€” street/description, city and state code may all be included (e.g. "56 ILOROMU QUARTERS 3 ILE-IFE OS"). Every word is fuzzy-matched individually.

CustomerDataNgNinSlip
{
"middleName": "string",
"nin": "string",
"sex": "F",
"address": "string"
}