MomoPay library in PHP for the MTN MobileMoney. Developers can integrate into their apps.
- Collections
- Disbursements
- Remittances
- Signup For A developer portal Account and Register
- Collections
- Disbursements
- Remittances
To Generate UUID Go to This link UUID-Generator
Add the Autoload Path to get access to the MomoPay Library
<?php
require 'vendor/autoload.php';
<?php
use Cynojine\Mtnmomo\Products\Collection;
$options = [
'subscriptionKey' => '', //Add Subscription key
'xReferenceId' => '', //Api user reference id (in UUID format) Generate your UUID https://www.uuidgenerator.net/
'apiKey' => '', // Api user key (Supply this after generating it
];
// collection
$collection = Collection::create($options);