M-Pesa payouts from your own paybill (B2C)
JMSURF PAY feature · updated 23 November 2026
Payouts let you send money to M-Pesa numbers from your own paybill: pay staff, agents, suppliers, refunds or winnings, one at a time, in bulk from a list, or from your own software through the API. The money comes from your own paybill account at Safaricom. JMSURF PAY sends the instruction, records the result and the recipient's registered name, and never holds the money.
What you need
- 1Your own paybill with B2C. A Safaricom paybill with the business-to-customer (B2C) product and an initiator user.
- 2Your own Daraja app. Approved in JMSURF PAY under Daraja Whitelisting, with the B2C initiator details entered on the Payouts tab.
- 3Approval. JMSURF PAY checks and turns payouts on for your account, with a daily limit (KES 300,000 by default; ask support to change it).
Three ways to pay
| Way | How | Confirmation |
|---|---|---|
| One payout | Payouts page: phone, amount, reference. | Your password or MFA code |
| Bulk | Paste up to 200 rows of phone, amount and reference, straight from a spreadsheet. | Your password or MFA code, once per batch |
| API | POST /api/payouts/b2c with phone, amount and an optional reference; read it back with GET /api/payouts/b2c/:id. | Your secret key; send an Idempotency-Key so a retry never pays twice |
Results you can rely on
- Each payout ends as completed (with the M-Pesa receipt and the recipient's registered name) or failed (with Safaricom's reason).
- If Safaricom's answer is lost, the payout stays as a timeout to be checked, never marked failed by guesswork, so you do not pay twice by mistake.
- Your system gets
payout.completedorpayout.failedwebhooks; payouts are in exports. - Only the account owner and team admins can send payouts. Developers and viewers cannot.
Test mode
Test keys cannot send payouts (they answerTEST_MODE_UNSUPPORTED), because payouts always move real money.Related: team roles and security.
Start on the Free plan: 1 payment channel, up to KES 50,000 a month, test keys included. Questions? WhatsApp +254 712 504 593.