Phone Number
Required Inputs
Input | Value |
---|---|
country | NG |
id_type | PHONE_NUMBER |
id_number | Phone number |
Response Fields
The product returns the textual match result for the phone number service. You can perform a textual matching for the following fields:
First name
Middle name
Last name (also known as family name or surname)
Date of birth
Gender
ID Number Regular Expression (Regex)
To limit the probability of your user mistyping the id number, we advice that you enforce the format of the id number field in your app. You can use the regex below:
/^[0-9]{11}$/
Supported Products
The Nigeria phone number can be used on any of the following products:
For the supported integration options, you can check the integration options supported by each product here.
Sample ID Numbers
To test the Nigeria phone number in our Sandbox, we provide you with 5 different id numbers to mirror various scenarios you can experience with real IDs in production.
ID Number | Result | Result Code |
---|---|---|
00000000000 | Success with PII return | 1012 |
00000000001 | Failure, no record found | 1013 |
00000000002 | Invalid ID number format | 1014 |
00000000003 | Database unavailable/unknown network issue | 1015 |
00000000004* | Success with custom PII return | 1012 |
* You can read more about customising the PII response in sandbox in our documentation here.
Last updated