What is the M-Pesa Daraja API?
In one sentence
Daraja is Safaricom's developer platform for M-Pesa: the set of APIs businesses use to send payment prompts (STK push), receive payment notifications (C2B), pay people (B2C) and check or reverse transactions.
How it works
You create an app on the Daraja portal to get a consumer key and secret, test in the sandbox with no real money, then go live with your own Paybill or Till.
Daraja adds no fee of its own beyond normal M-Pesa charges. Your keys must stay on a server or in an automation tool, never in a website's browser code.
Example
A school registers its Paybill for payment notifications, and every fee payment arrives with the receipt number and admission number, ready to log.
Read next
More automation terms
Put it to work in your business
Start free with 3 workflows. No card needed. Install a template or build your own on the canvas.