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": "en",
"message": "Phone number verified."
}Catalog
Verify a phone number
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": "en",
"message": "Phone number verified."
}Authorizations
SoleasPay merchant API key. Used for public plugin endpoints or phone verification.
Body
application/json
Response
Valid number.
⌘I
