cURL
validatePaybill
curl --request POST \ --url https://staging.api.mavapay.co/api/v1/quote/validate-kes-identifier \ --header 'Content-Type: application/json' \ --header 'X-API-KEY: <api-key>' \ --data ' { "identifier": "247247", "identifierType": "PayBill" } '
{ "status": "ok", "data": { "organization_name": "Equity Paybill Account" } }
Validate a Kenyan M-Pesa PayBill or Till number and retrieve the associated business name. This endpoint is only available in production.
The paybill or till number to validate
"247247"
The type of identifier to validate
PayBill
Till
"PayBill"
Validation successful
"ok"
Show child attributes