Skip to content

0xhuman/mtn-api-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MTN Mobile Money API for PHP

A super-simple PHP file that gives you ready-to-go functions for collections and disbursements.

Supported Functions

Collections

  1. POST/GET Collection Access Token
  2. POST Request to Pay
  3. GET Collection Status

Disbursements

  1. GET Disbursement Access Token
  2. POST Transfer
  3. GET Disbursement Status

How do I use this in my project?

  1. Download the repo into your project folder
  2. Replace values in the config.php file
  3. Add the following to your main php file (or autoload)
require_once('mtn.php');
require_once('config.php');
  1. Call the functions in your code. See testCollect.php for an example usage.

Need Help?

Email me at celowhale@gmail.com

About

MTN Mobile Money API for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages