withkash / kash_php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

Include via Composer:

"require": {
    "kash/kash-php": "*"
}

Documentation

Documentation is available at http://docs.withkash.com.

Tutorial

<?php

require __DIR__ . '/vendor/autoload.php';

use Kash\Kash;

Kash::setApiKey('sk_test_b746ab1e46e0d0fff0f62912ede52c52');
$customerId = "dce5d71e-0ba5-4114-b9d2-9644056a77ce";
$result = Kash::authorizeAmount($customerId, 2000);
print($result->authorization_id);

About

License:MIT License


Languages

Language:PHP 100.0%