Skip to content

We've built 200+ tools — open your toolbox, there's something in here you probably need.

GET/api/v1/kenya/mpesaFees

M-Pesa fees

M-Pesa send and agent-withdrawal fees for a registered-to-registered transfer, from the Safaricom tariff. Returns the fees, total cost and net received.

Try it live

Request

GET https://www.leadafrik.com/api/v1/kenya/mpesa?amount=2500

Response

Parameters

NameTypeRequiredDescription
amountnumberyesTransaction amount in KES

Call it from code

curl

curl "https://www.leadafrik.com/api/v1/kenya/mpesa?amount=2500"

JavaScript

const res = await fetch("https://www.leadafrik.com/api/v1/kenya/mpesa?amount=2500");
const { ok, data, meta } = await res.json();