This is the Laravel Moncash API that allows php's developers to interract with the MonCash payment facility on their website.
Via Composer
composer require loucov/laravel-moncash-api
php artisan vendor:publish --tag=moncash-config
MONCASH_DEBUG_MODE = true //true debug mode and false live mode
MONCASH_CLIENT_ID = //client id
MONCASH_SECRET_KEY = //secret key
MONCASH_BUSINESS_KEY = //business key (optional)
$moncash = new MoncashApi();
$reponse =
$amount = 1000; // Amount
$orderId = "123456789"; // Your orderId
$response = $moncash->payment($amount, $orderId); //return object
If success, response object data:
"mode": "sandbox"
"path": "/Api/v1/CreatePayment"
"payment_token": ....
"timestamp": 1709736158019
"status": 202
"redirect": ... // Redirect link
If error
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
- [Louco COVIL][ http://www.linkedin.com/in/loucov]
To be filled by LouCov