M-Pesa API

 

Web Service Interfaces


 

The M-Pesa core API defines the following web service interfaces:

RequestMgrPortType

The operation supported by this interface is GenericAPIRequest. The 3rd party invokes this operation to send an API request.

ResultMgrPortType

The operation supported by this interface is GenericAPIResult. This operation must be implemented by a Web Service at the 3rd party side if it requires notification of the final result for API request. It will be invoked by Broker to notify the 3rd party once Broker received the notification from M-Pesa Core API.

QueueTimeoutNotificationPort

The operation supported by this interface is notifyQueueTimeout. This operation must be implemented by a Web Service at the 3rd party side if it requires notification once cached requests are expired. It will be invoked by Broker to notify the 3rd party. 

QueryTransactionPort

The operation supported by this interface is queryTransaction. The 3rd party invokes this operation to query transaction information. 

Management

The operation supported by this interface is changePassword. The 3rd party invokes this operation to change their password

 

API Services


C2B

Have customers pay your organization via M-Pesa for services or product rendered 

B2C 

Pay customers for service or product offered to your business via M-Pesa

B2B 

Transfer money to other M-Pesa registered organizations

Online Checkout

Allow you customers to shop and simply checkout using M-pesa