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"
}
}{
"message": "<string>",
"status": "error"
}Quote
Validate KES identifier
Validate a Kenyan M-Pesa PayBill or Till number and retrieve the associated business name. This endpoint is only available in production.
POST
/
quote
/
validate-kes-identifier
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"
}
}{
"message": "<string>",
"status": "error"
}Authorizations
ApiKeyAuthbearerAuth
Body
application/json
