Due to discrepancies of keys returned from our providers, we have filtered and standardized the JSON top-level keys below to simplify the use of our JSON response across all our supported ID types.
Sample JSON Response
},"Country": "NG","IDType": "BVN","IDNumber": "00000000000","ExpirationDate": "Not Available","FullName": "Doe Joe Leo","DOB": "2000-01-20","Photo": "/9j/4AAQSkZJRgABAgAAAQABAAD/"PhoneNumber": "12345678900","Gender": "Male","Address": "10, Workbox, Ojora Close, Victoria Island, Lagos State","IDNumberPreviouslyRegistered": <true | false>,"UserIDsOfPreviousRegistrants": ["12134", "23456"],.."FullData": {"BVN": "00000000000","FirstName": "Doe","MiddleName": "Joe","LastName": "Leo","DateOfBirth": "20-January-2000","PhoneNumber1": "12345678900","Gender": "Male","enrollmentBank": "000","enrollmentBranch": "...","email": "...","lgaOfOrigin": "....","lgaOfResidence": "Victoria Island","maritalStatus": "Single","nin": "00000000000","nameOnCard": "Doe Joe Leo","nationality": "Nigeria","residentialAddress": "10, Workbox, Ojora Close, Victoria Island,Lagos State","stateOfOrigin": "LagosState","stateOfResidence": "Lagos State","title": "","watchListed": "NO","LevelOfAccount": "Level 2 - Medium Level Accounts","registrationDate": "","ImageBase64": "/9j/4AAQSkZJRgABAgAAAQABAAD/}
Growth in user base is accompanied by challenges, one of such is the threat of rogue or fraudulent sign ups. One such threat is multiple signups with the same ID number. To find out more about this issue and our suggested best practices, you can read here in our docs. To help you manage this issue, Smile ID added two Top Level Keys in our response JSON in order to track previously used regulatory ID numbers. "IDNumberPreviouslyRegistered" is a boolean which tells you if this ID number has been used before to register one of your users.* "UserIDsOfPreviousRegistrants" If the ID Number has been previously used for successful registration, an array of the previous user IDs will be returned.*
*This only applies to responses on Job Type 1 - "User Registrations with ID Number”
The table below summaries the breakdown of the top-level keys that are consistently returned by our supported ID types (e.g. NIN, BVN, SSNIT etc) across all coverage services. This will guide and ensure you interact with the JSON data appropriately.
IDType/Key Returned | IDNumber | Full Name | Photo | Gender | DOB | Phone Number | Address | Expiration Date |
NIN | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
BVN | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
VOTER’S ID | ✅ | ✅ | ✅ | ✅ | | ✅ | ✅ | |
DRIVER’S LICENSE | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
TIN | | | | | | | | |
CAC | | | | | | | | |
IDType/Key Returned | IDNumber | Full Name | Photo | DOB | Gender | Expiration Date | Address | Phone Number |
SSNIT | ✅ | ✅ | ✅ | ✅ | ✅ | | | |
VOTER’S ID | ✅ | ✅ | ✅ | | ✅ | | ✅ | |
DRIVER’S LICENSE | ✅ | ✅ | ✅ | ✅ | | ✅ | | |
PASSPORT | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | | |
IDType/Key Returned | IDNumber | Full Name | DOB | Photo | Gender | Expiration Date | Address | Phone Number |
NATIONAL ID | ✅ | ✅ | ✅ | ✅ | ✅ | | ✅ | |
ALIEN CARD | ✅ | ✅ | ✅ | ✅ | ✅ | | ✅ | |
PASSPORT | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | |
Please note some fields (such as Address, Phone numbers) are the most recent officially on file at the ID Authority and might not be current or active. Update of such fields is at the discretion of the ID Authority and User.