Development & Integration Toolkit for Cekmutasi.co.id
trijayadigital/cekmutasi-laravel is a Laravel package for development & integration toolkit for cekmutasi.co.id.
It currently has 7 GitHub stars and 5.760 downloads on Packagist.
Install it with composer require trijayadigital/cekmutasi-laravel.
Discover more Laravel packages by trijayadigital
or browse all Laravel packages to compare alternatives.
Last updated
Development & Integration Toolkit for Laravel Framework (5.0+). For other web framework/language/plugin, please go to https://github.com/trijayadigital/cekmutasi
composer require trijayadigital/cekmutasi-laravel:dev-master
'providers' => [
// other providers
Tridi\Cekmutasi\ServiceProvider::class,
],
'aliases' => [
// other aliases
'Cekmutasi' => Tridi\Cekmutasi\Facade::class,
],
composer dump-autoload
php artisan vendor:publish --provider="Tridi\Cekmutasi\ServiceProvider"
CEKMUTASI_API_KEY="place your api key here"
CEKMUTASI_API_SIGNATURE="place your api signature here"
You can use cekmutasi library by importing cekmutasi class. Here is the example of using cekmutasi class in Controller
<?php
namespace App\Http\Controllers;
use Cekmutasi;
class AnotherController extends Controller
{
public function index()
{
$mutation = Cekmutasi::bank()->mutation([
'date' => [
'from' => date('Y-m-d') . ' 00:00:00',
'to' => date('Y-m-d') . ' 23:59:59'
]
]);
dd($mutation);
}
}
?>
For further example, you can check out in example/CekmutasiController.php included in this package
Get cekmutasi account balance
Check your detected IP address. This IP should be added to Whitelist IP in your integration if you want to use HTTP Request method or some plugins
Handle callback/ipn data. This method is highly recommended for use because it has pre-build callback/ipn security verification
Load Bank service. Below are the available methods from bank service
Get bank account list
Get bank account detail
Get total balance of registered bank accounts
Get bank mutation (max 1000)
Load PayPal service. Below are the available methods from paypal service
Get paypal account list
Get paypal account detail
Get total balance of registered paypal accounts
Get paypal mutation (max 1000)
Load GoPay service. Below are the available methods from gopay service
Get gopay account list
Get gopay account detail
Get total balance of registered gopay accounts
Get gopay mutation (max 1000)
Load OVO service. Below are the available methods from ovo service
Get ovo account list
Get ovo account detail
Get total balance of registered ovo accounts
Get ovo mutation (max 1000)
Get the available destination banks
Make transfer bank inquiry
Proccess transfer from OVO to bank
Get transaction detail of bank transfer
Make transfer OVO inquiry
Proccess transfer from OVO to OVO
For the best way to handle Callback/IPN, we strongly recommend you to use the catchIPN() method with pre-build security validation to handle and verifiying incoming callback/ipn data.