shlogg · Early preview
Sospeter Mong'are @msnmongare

M-Pesa Lipa Na M-Pesa Online Payment API Guide

API Guide for M-PESA Payment Processing: Request & Response formats, error codes & callback result descriptions. Unique IDs, status codes & metadata ensure secure transactions.

The M-Pesa Express API also known as (STK/Network Initiated Push) initiates an online payment on behalf of a customer, providing a seamless payment experience for both businesses and customers. By integrating with this API, businesses can send a payment prompt to a customer’s phone, allowing them to authorize the payment by entering their M-PESA PIN. This eliminates the need to remember business paybill numbers or account numbers.


  
  
  Endpoint Overview


Method: POST

URL: https://sandbox.safaricom.co.ke/mpesa/stkpush/v1/processrequest

Authentication: Requires an access token generated...