Skip to main content

STK push, refunds, reversals and payouts

How STK push payments work, how missed ones are recovered, and how reversals, adjustments and payouts are approved.

2 min readUpdated 2026-11-20AccountantOwner / Admin

STK push#

An STK push sends a payment prompt to the customer's phone. They enter their M-Pesa PIN; no account number to type, so fewer mistakes.

STK push is used by:

  • The customer app Pay tab
  • The WhatsApp menu: 1-Click Renew
  • The hotspot captive portal

Each STK request is registered, so when Safaricom calls back Metron knows exactly which request and customer it belongs to.

If STK push says the integration is not configured#

The branch has no paybill and your ISP has no default. Add or bind a paybill in Integrations.

Missed confirmations are recovered#

Occasionally Safaricom confirms a payment but the callback never reaches Metron. Metron periodically looks for payments Safaricom reported as successful that never reached the ledger, re-checks the amount and phone, and credits them once. It is safe: each receipt is credited at most once.

Reversals and adjustments#

Payment reversals and manual adjustments need maker-checker: one person requests, another approves. Every change is recorded in an audit trail with who and why.

Money out (B2C)#

M-Pesa B2C sends money from your business to a phone, for example a reseller payout or a refund. It uses the B2C shortcode, initiator name and security credential saved on your paybill connection.

  • Funds are held when requested and approved by a different user.
  • The result is paid, failed or rejected. A failed or rejected payout is refunded exactly once.
  • If Safaricom times out and the result is unclear, the payout stays submitted rather than being paid twice.
Something missing or wrong in this guide?WhatsApp usEmail feedback