mpesa

Integration

This module helps you to easily and securely connect to Mpesa systems to process payments in record time. This caters for both B2C and C2B payments offered by Safaricom's Mpesa! Two core endpoints that are production ready!

Try out our services

C2B(TopUp)

Testing can be done for both B2C and C2B.
For you to perform B2C, you need to have done C2B.

B2C(Withdraw)

Explore how to send money in an automated way. Think disbursements!! For you to do B2C, you need to have done C2B of the same amount.

API ENDPOINTS

Initiate B2C

This API is used in initiating a payment to client from the organization.

Initiate STK

This API is used in initiating STK push to a client. The STK is initiated on both iOS and android.

Initiate a reversal

This API reverses a C2B M-Pesa transaction. push.

Query STK status

This API is used in querying the status of an STK.

Query B2C Balance

This API is used in querying B2C balances of your short code.

Query C2B Balance

This API is used in querying C2B balances of your short code.

What we require from you

Mpesa Keys

These keys consist of a consumer key, consumer secret, and passkey, which serve as authentication tokens for accessing the M-Pesa platform.

Callback URLs

Callback urls include confirmation and validation urls. Confirmation urls is used to receive transaction callback. Validation url is used to receive validation request on clients who have enabled validation on their PayBill or BuyGoods.

Initiator Username

This is a unique identifier of an individual or business when initiating an Mpesa transaction.

Services we offer

Technical Support

A guide to how to use the module is provided starting from registering the PayBill or BuyGoods all the way to the Rest APIs.

Integration

We provide production ready module that can be used across all stacks. The APIs are in Rest format.

Consultation

Get expert advice on best practices in development, management and cloud services.

What stack our module works with

We provide production ready REST APIs which are not dependent on the technology you are using. This works on android, iOS and web apps.