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.
-
You have Signed Up at: https://developers.airtel.africa/login
-
You have created an application there and your application has been approved.
-
You possess the
client_idand theclient_secret. Please note that When you register for an application on the developer portal you will only be given theclient_id, you will not be given theclient_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 theclient_secret. You cant perform any transactions or whatsoever without one of these credentials.
-
After cloning or downloading this repo, open the
Authorisation.phpfile using your text editor. -
Navigate to
client_idand put yourclient_idthere. -
Navigate to
client_secretand put yourclient_secretthere. -
open the
push_payments.phpand fill in on missing variables indicated with*******************. Do the same for disbursements if need be. -
You can now open your localhost (using xampp/wampp) and run the
push_payments.phpto push payments ordisbursements.phpto transfer payments. -
This repository is not affliated with AIRTEL.