This is a functionality that simplifies registered customers’ payment journey for utility bills, goods, and services using M-Pesa. In addition, a merchant can request cash-out on behalf of the customer.
In STK Push, the merchant captures customer’s details and initiate transaction on their behalf. The M-Pesa registered customer gets a pop-up notification to confirm the initiated transaction after which the transaction request is processed accordingly. Both the customer and merchant gets transaction confirmation messages.
This M-Pesa API supports both REST+JSON and SOAP web service clients.
A php tutorial on how to integrate STK Push is coming soon.