curl --request POST \
--url https://api.mysoleas.com/phone-numbers/verify \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"wallet": "650020109",
"country": "CMR"
}
'
{
"code": 200,
"success": true,
"data": {
"valid": true,
"country": {
"alpha2": "CM",
"alpha3": "CMR",
"calling_code": "237"
},
"number": {
"e164": "+237650020109",
"international": "+237 6 50 02 01 09",
"national": "650020109",
"provider_wallet": "650020109"
},
"type": "MOBILE",
"operator": "MTN Cameroon",
"supported_country": true,
"support_message": null
},
"locale": "fr",
"message": "Numero de telephone verifie."
}
Catalogue
Verifier un numero de telephone
Validates a mobile number through the public gateway, detects its country when the international format allows it, and returns the national wallet expected by SoleasPay providers.
POST
/
phone-numbers
/
verify
curl --request POST \
--url https://api.mysoleas.com/phone-numbers/verify \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"wallet": "650020109",
"country": "CMR"
}
'
{
"code": 200,
"success": true,
"data": {
"valid": true,
"country": {
"alpha2": "CM",
"alpha3": "CMR",
"calling_code": "237"
},
"number": {
"e164": "+237650020109",
"international": "+237 6 50 02 01 09",
"national": "650020109",
"provider_wallet": "650020109"
},
"type": "MOBILE",
"operator": "MTN Cameroon",
"supported_country": true,
"support_message": null
},
"locale": "fr",
"message": "Numero de telephone verifie."
}
Autorisations
API key marchand SoleasPay. Utilisee pour les endpoints publics plugin ou verification telephone.
Corps
application/json
Réponse
Numero valide.
⌘I
