STK Push
Trigger a payment prompt directly on a customer's phone. The customer enters their M-Pesa PIN to complete the transaction.
Initiate STK Push — M-Pesa Express
How STK Push works
Daraja sends a payment prompt to the customer's phone via USSD. The customer enters their M-Pesa PIN to authorise the payment.
Daraja then sends an asynchronous callback to your server with the final result (success or failure).
In sandbox mode the phone 254708374149 simulates this flow without a real SIM card.