ID Number Regex
Validate the ID number format to prevent failed ID lookups due to invalid format
The most common reason for failure of an ID lookup is because the end user did not input their ID number correctly. One of the best ways to mitigate this is to validate ID numbers on the client-side, before sending them to Smile ID. Below we will provide validation regexes for most of our ID types. It is important to note that they change over time, and we will do our best to keep this page updated.
*: Tokenized version of the NIN
**: Returns the NIN Slip for document-less verification