PHP code example of withkash / kash-php
1. Go to this page and download the library: Download withkash/kash-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
withkash / kash-php example snippets
ash\Kash;
Kash::setApiKey('sk_test_b746ab1e46e0d0fff0f62912ede52c52');
$customerId = "dce5d71e-0ba5-4114-b9d2-9644056a77ce";
$result = Kash::authorizeAmount($customerId, 2000);
print($result->authorization_id);
js
" "kash/kash-php": "*"
}