icash-pl/api-php

This package is abandoned and no longer maintained. No replacement package was suggested.

iCash API PHP

1.0.4 2017-01-20 08:42 UTC

This package is not auto-updated.

Last update: 2019-10-21 10:41:08 UTC


README

Quick Installation

composer require icash-pl/api-php

Getting started

<?php
use iCashpl\ApiPhp\iCash;

if (isset($_POST['code'])) {
    
    require 'icash/api_php/src/iCash.php';
    
    $icash = new iCash('YOU_APP_KEY');
    $icash->getStatusCode(array(
            'service' => 'rGiDLltiS4OrAntBHae664P7BKbNWECL',
            'number' => '7055',
            'code' => '9AB5KJ'
    ));

    // ok
    if ($icash->statusOk()) {

    }
    // error
    else {

    }
}
?>