Validate a Phone Number
The Phone Number Basic verification endpoint ensures that the phone numbers of your customers are accurate and valid. This endpoint provides basic customer information like name and date of birth, ensuring the legitimacy of the number.
Main Feature(s):
- Provides basic details such as the customer's first name, surname, and date of birth.
GET (LIVE)
{{URL}}/dikript/verification/api/v1/getphonenumberbasic
GET (TEST)
{{URL}}/dikript/test/api/v1/getphonenumberbasic
Parameter
Key | Description |
---|---|
phoneNo | Phone Number |
Header (LIVE)
Key | Description |
---|---|
x-api-key | Your Secret Key |
Header (TEST)
Key | Description |
---|---|
x-api-key | Your Public Key |
Responses
{
"status": true,
"message": "Successful",
"code": "200",
"apiVersion": "v1",
"transactionRef": "N202401101342134573",
"data": {
"phoneNumber": "09036265686",
"firstName": "TEST",
"middleName": "TEST",
"surname": "TEST",
"dateOfBirth": "1990-10-08"
},
"error": null
}
{
"status": false,
"message": "Unsuccessful",
"code": "400",
"apiVersion": "v1",
"transactionRef": "N202401101345487388",
"data": "",
"error": {
"code": 400,
"message": null
}
}