Giter VIP home page Giter VIP logo

cekmutasi-codeigniter's Introduction

Cekmutasi X CodeIgniter Framework

Development & Integration Toolkit for CodeIgniter Framework (2.x+). For other web framework/language/plugin, please go to https://github.com/trijayadigital/cekmutasi

Requirements

  • PHP 5.4+
  • CodeIgniter Framework v2.0+
  • cURL extension enabled

Installation

  • Copy folder Cekmutasi to your application/libraries
  • Copy cekmutasi.php to your application/config
  • Add your API Key & Signature in application/config/cekmutasi.php

How To Use?

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

Available Methods

  • balance()

    Get cekmutasi account balance

  • checkIP()

    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

  • catchIPN()

    Handle callback/ipn data. This method is highly recommended for use because it has pre-build callback/ipn security verification

  • bank()

    Load Bank service. Below are the available methods from bank service

    • list()

      Get bank account list

    • detail()

      Get bank account detail

    • balance()

      Get total balance of registered bank accounts

    • mutation()

      Get bank mutation (max 1000)

  • paypal()

    Load PayPal service. Below are the available methods from paypal service

    • list()

      Get paypal account list

    • detail()

      Get paypal account detail

    • balance()

      Get total balance of registered paypal accounts

    • mutation()

      Get paypal mutation (max 1000)

  • gopay()

    Load GoPay service. Below are the available methods from gopay service

    • list()

      Get gopay account list

    • detail()

      Get gopay account detail

    • balance()

      Get total balance of registered gopay accounts

    • mutation()

      Get gopay mutation (max 1000)

  • ovo()

    Load OVO service. Below are the available methods from ovo service

    • list()

      Get ovo account list

    • detail()

      Get ovo account detail

    • balance()

      Get total balance of registered ovo accounts

    • mutation()

      Get ovo mutation (max 1000)

    • transferBankList()

      Get the available destination banks

    • transferBankInquiry()

      Make transfer bank inquiry

    • transferBank()

      Proccess transfer from OVO to bank

    • transferBankDetail()

      Get transaction detail of bank transfer

    • transferOVOInquiry()

      Make transfer OVO inquiry

    • transferOVO()

      Proccess transfer from OVO to OVO

Security Advice

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.

cekmutasi-codeigniter's People

Contributors

trijayadigital avatar zerosdev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

cikaldev bangnaga

cekmutasi-codeigniter's Issues

CodeIgniter 4.x

Kalau bisa disediakan library untuk CodeIgniter 4.x

Terima kasih.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.