Methods - CheckNumber
CheckNumber
This method is used to check the validity of a mobile phone number. It returns the mobile phone’s country, correctly formatted number and the cost in Message Credits of sending a text message to this mobile phone.
Please note the returned cost in Message Credits is based on one message part sent from the UK in pounds sterling at our standard published message tariffs. Any variations to this are not accounted for in the returned cost in credits.
» Number | » String |
Returns a comma separated string in the format Country, Formatted number, Cost. Ex: for the Number +447912345678 CheckNumber returns |
United Kingdom (+44),447912345678,1 |
If there was an error processing the supplied Number, the return is
“This is not a correctly formatted number”.