We are Kenya's most preferred Web Experts. We are excited to be part of your online journey.

   Call:  +254 727 00 93 93   Kingstone Residences 5th Floor, Ngong Rd, Nairobi

How to integrate M-PESA Paybill or Till Number to your Website or Application

M-PESA has approximately 30 million users in Kenya. This number extends by 20 million when you add users across other parts of Africa, such as Tanzania, the Democratic Republic of Congo (DRC), Mozambique, Lesotho, Ghana, and Egypt. This reach can work as a gold mine for an African business that wishes to collect and receive payments using M-PESA. Getting access to M-PESA will be a long, strenuous process. However, there are less stressful alternatives to getting started on the M-PESA API. We highly recommend using KopoKopo instead. For the brave, this article will address how to connect M-PESA to your business processes using the MPESA Daraja API.

What is an M-PESA API, and how does its Integration with businesses work?

M-PESA API is an application programming interface that allows developers to access and integrate the M-PESA platform with other applications. It allows developers to create applications that can be used to send and receive money, pay bills, and even make purchases. The API also provides businesses access to various other services, such as airtime top-up, balance inquiry, and customer registration. The M-PESA API integration enables businesses to receive payments from their customers via M-PESA Paybill or Till Number. Businesses can access the M-PESA API to integrate payments into their websites, mobile apps, and other platforms if they want to be involved. Through the Integration, customers are able to pay for goods and services using their M-PESA account on a business’s platform. Through the Integration, businesses can also access customers’ transaction history, reverse payments, and more. All transactions between businesses and customers into their accounts are secure, and they comply with the terms and conditions of M-PESA and local banks.

What are the benefits of having M-PESA integration?

The M-PESA API integration with businesses allows them to sync payment transactions to their application, website, or system with the Mpesa web API to automate payment verification and management of payments. With the M-PESA Paypal integration, it is only a matter of time before users can pay directly from Paypal to their M-PESA pay bill. This is not to forget the recently announced Visa/Mastercard integrations. Its Integration with businesses has brought many benefits that every business seeks. Let’s find out more of these benefits as stated down below;

Increased customer base

M-PESA has been one of the most significant financial inventions for every business looking to serve its customers. Its expansive user base in Kenya, with over 23 million customers in Kenya alone, has enabled businesses to expand their customer base.

Improved cash flow

The M-PESA integration with businesses has been able to cater to services that involve securing payments and higher transaction limits into users’ accounts, making it easy for every business’s operation. This has led to an improvement in the cash flow observed by businesses.

Reduced transaction costs

With the costly transaction charges that may come with withdrawing a large sum of money from traditional payment accounts, M-PESA has been able to cut transaction costs for customers dealing with the business resulting in lower transaction charges.

Enhanced convenience

The transactions made through the M-PESA account have been secure and convenient to all customers dealing with businesses that have integrated M-PESA into their business systems. Payments can be made anywhere, whether at home or outside the office, regardless of the customer’s environment.

Increased sales

With M-PESA API being easy to use and input by customers all over, the application has given businesses a seamless and smooth run that will get customers paying without the fear of being scammed. This has enabled customers to trust the businesses they are dealing with and make more orders leading to more sales.

How to integrate M-PESA into your business processes.

To integrate your business with M-PESA API, here are 4 steps you can follow for it to be successful;

1. Request for a Paybill or a Till Number.

There are multiple ways to request a Paybill or Till number. The easiest is via the ‘M-PESA for business‘ portal. The others include sending an email to mpesabusiness@safaricom.co.ke and dialing *234# from your Safaricom phone number. Then select ‘merchant services’ followed by ‘my request’. Before making your application, make sure you have the following documents

1. Company KRA Pin certificate

2. Copy of CR12 (Validity 90 days)

3. A scanned copy of the certificate of registration

4. Front and back scanned copies of the directors’ IDs or Passport

5. M-PESA Authorization Form signed by two directors.

6. Directors’ KRA PIN certificates

7. Bank details.

All the above documents need to be in PDF format. You can find answers on the FAQs page if you have any questions about the process. Once your application has been reviewed and approved, you will receive an email from Safaricom with your new M-PESA Paybill or Till Number. Otherwise, you will receive an email asking for more documents if they need clarification. Note that it might take 24 hours for a response to each communication. To cut on the turnaround time, ensure you provide the correct details.

2. Request for access to the G2 portal.

 

Most developers in Kenya are familiar with M-PESA Daraja, but many might not know of the G2 Portal. To access the M-PESA G2 Portal, you must send the following documents to lipanampesa@safaricom.co.ke in PDF,

1. A scan of your company’s CR12 and company registration certificate.

2. A scan of the elected Administrator’s ID both front and back.

3. A signed and stamped Administrator Form signed by at least two signatories.

Indicate this in bold if it’s a sole proprietorship or a company with a single director. Cross your fingers; in 24 – 48 hours, you should receive an email with your username and password, with instructions on how to log in to the G2 portal. Ensure you visit the M-PESA portal to sign in and change your passwords before you proceed. Create both a Business Admin and a Business Manager user and log in to them.

3. Go Live on Daraja

 

Congratulations on getting to this step. You are a moment away from going live and activating your M-PESA access tokens. Head over to Daraja click on ‘Go Live’ and input the following values:

1. Verification Type: Short Code

2. Organization Short Code : [Your Paybill or BuyGoods]

3. Organization Name: [As submitted in your application]

4. Mpesa Username: [Either the Business Admin or Business Manager]

If you get an error like “Verification failed! Paybill or M-PESA username keyed in does not exist”, write an email to apisupport@safaricom.co.ke. Finally, write an email to apisupport@safaricom.co.ke and ask them to approve your Daraja App. You are now ready to get started.

4. To code or no code?

That should not be the question. Once your application is approved, you will receive an email from Safaricom with the keys and instructions on how to proceed. Use a platform like Hello Duty to add Mpesa into your business process without requiring code or a developer.

How to integrate M-PESA into your website

The process of integrating M-PESA into your website is easy with all the necessary documents at hand. With us are some of these steps simplified and put together for your understanding as follows;

1. The first step you need to take is to download and sign up for an M-PESA business account that you will be using.

2. The next step you need to do is to integrate the M-PESA payments API into your website so that, through the mobile checkout flow, you will be able to collect payments.

3. Install and set up webhooks that will automatically notify you once payments are made to your M-PESA account.

4. If you want to confirm or check the status of payments made to your account, use the M-PESA Query API to get the correct information.

5. Consider integrating the M-PESA Disbursement API into your account for refunds and other transactions.


Leave a Reply

Your email address will not be published. Required fields are marked *

× Let's chat!