mosesjust2016 / AirtelMoMoAPI

This is the airtel MoMo API which can be integrated in an application to push payments from customers. This API is used to request a payment from a consumer(Payer). The consumer(payer) will be asked to authorize the payment. After authorization, the transaction will be executed. It consists of disbursements for transferring payments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AIRTEL MOMO API FOR COLLECTING PAYMENTS FROM CUSTOMERS - PHP

AIRTEL Money Developer API using PHP For Pushing Payments From a Customer.

Documentation and official resources can be found at AIRTEL Developer Portal: https://developers.airtel.africa/login

Please note that Airtel does not provide free MoMo API Testing like MTN does. Hence for you

To get started you should complete the following in full.

Prerequisites

  1. You have Signed Up at: https://developers.airtel.africa/login

  2. You have created an application there and your application has been approved.

  3. You possess the client_id and the client_secret. Please note that When you register for an application on the developer portal you will only be given the client_id, you will not be given the client_secret, the client_secret will only be given to you when you submit your business formalities to their offices. That is when they will approve the application you created online and give you the client_secret. You cant perform any transactions or whatsoever without one of these credentials.

Getting Started

  1. After cloning or downloading this repo, open the Authorisation.php file using your text editor.

  2. Navigate to client_id and put your client_id there.

  3. Navigate to client_secret and put your client_secret there.

  4. open the push_payments.php and fill in on missing variables indicated with *******************. Do the same for disbursements if need be.

  5. You can now open your localhost (using xampp/wampp) and run the push_payments.php to push payments or disbursements.php to transfer payments.

  6. This repository is not affliated with AIRTEL.

About

This is the airtel MoMo API which can be integrated in an application to push payments from customers. This API is used to request a payment from a consumer(Payer). The consumer(payer) will be asked to authorize the payment. After authorization, the transaction will be executed. It consists of disbursements for transferring payments.


Languages

Language:PHP 100.0%