Development & Integration Toolkit for CodeIgniter Framework (2.x+). For other web framework/language/plugin, please go to https://github.com/trijayadigital/cekmutasi
- PHP 5.4+
- CodeIgniter Framework v2.0+
- cURL extension enabled
- Copy folder Cekmutasi to your application/libraries
- Copy cekmutasi.php to your application/config
- Add your API Key & Signature in application/config/cekmutasi.php
Here is the example:
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
class Cekmutasi extends CI_Controller
{
public function balance()
{
$this->load->library('cekmutasi/cekmutasi');
$balance = $this->cekmutasi->balance();
print_r($balance);
}
}
?>
Object data will return as data type of result
For further example, you can check out in TestCekmutasi.php included on 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.