curl -X POST "{{base_url}}/v1/validation/KES" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{
"shortcode": "254712345678",
"type": "MOBILE",
"mobile_network": "Safaricom"
}'
Payments (v1)
Validation / Beneficiary infor
Validate a mobile money shortcode or bank account before payout.
POST
/
v1
/
validation
/
{currency_code}
curl -X POST "{{base_url}}/v1/validation/KES" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{
"shortcode": "254712345678",
"type": "MOBILE",
"mobile_network": "Safaricom"
}'
Resolves account names / validity for the destination currency. Defaults to Kenya (
KES) rules when the path currency is omitted.
Body by currency
KES (default)
UGX
NGN
GHS
TZS
curl -X POST "{{base_url}}/v1/validation/KES" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{
"shortcode": "254712345678",
"type": "MOBILE",
"mobile_network": "Safaricom"
}'
