Validate the phone number.
POST/business/validate/phonenumber
Checks whether the phone number is valid.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
phoneNumberstringrequired
The phone number to validate.
Example:
(+81) 090-1234-5678
countryCodestring
Short abbreviation of a country.
Example:
JP
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
phoneNumberstringrequired
The given phone number to validate.
Example:
(+81) 090-1234-5678
internationNumberstring
The international number formated.
Example:
"+81 90 1234 5678
numberstring
The international based on E164Number Code.
Example:
+819012345678
nationalNumberstring
The national number of the country.
Example:
9012345678
countryCodestring
The country code based on the phone number.
Example:
JP
possibleNumberboolean
Checks if the given number is an possible phone number.
Example:
true
isValidboolean
Checks whether the phone number is valid.
Example:
true
{
"phoneNumber": "(+81) 090-1234-5678",
"internationNumber": "\"+81 90 1234 5678",
"number": "+819012345678",
"nationalNumber": "9012345678",
"countryCode": "JP",
"possibleNumber": true,
"isValid": true
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}