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_id
and 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.php
file using your text editor. -
Navigate to
client_id
and put yourclient_id
there. -
Navigate to
client_secret
and put yourclient_secret
there. -
open the
push_payments.php
and 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.php
to push payments ordisbursements.php
to transfer payments. -
This repository is not affliated with AIRTEL.