PHP code example of blessedjasonmwanza / moneyunify
1. Go to this page and download the library: Download blessedjasonmwanza/moneyunify library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
blessedjasonmwanza / moneyunify example snippets
use Blessedjasonmwanza\MoneyUnify\MoneyUnify;
$muid = 'your_unique_muid'; // Replace with your actual MUID - obtain it at https://MoneyUnify.com
$moneyUnify = new MoneyUnify($muid);
$payerPhoneNumber = '0xxxxxxxx'; // Replace with payer's phone number
$amountToPay = '10'; // Amount to be paid
$response = $moneyUnify->requestPayment($payerPhoneNumber, $amountToPay);