1. Go to this page and download the library: Download blockchyp/blockchyp-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/ */
blockchyp / blockchyp-php example snippets
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'amount' => '55.00',
];
$response = BlockChyp::charge($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'amount' => '27.00',
];
$response = BlockChyp::preauth($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'transactionId' => '<ORIGINAL TRANSACTION ID>',
'amount' => '32.00',
];
$response = BlockChyp::capture($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'transactionId' => '<PREVIOUS TRANSACTION ID>',
// Optional amount for partial refunds.
'amount' => '5.00',
];
$response = BlockChyp::refund($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'transactionId' => '<PREVIOUS TRANSACTION ID>',
];
$response = BlockChyp::void($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'transactionRef' => '<LAST TRANSACTION REF>',
];
$response = BlockChyp::reverse($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'amount' => '50.00',
];
$response = BlockChyp::giftActivate($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'cardType' => BlockChyp::CARD_TYPE_EBT,
];
$response = BlockChyp::balance($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
];
$response = BlockChyp::closeBatch($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'linkCode' => '<PAYMENT LINK CODE>',
];
$response = BlockChyp::resendPaymentLink($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'linkCode' => '<PAYMENT LINK CODE>',
];
$response = BlockChyp::cancelPaymentLink($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'linkCode' => '<PAYMENT LINK CODE>',
];
$response = BlockChyp::paymentLinkStatus($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'transactionId' => '<TRANSACTION ID>',
];
$response = BlockChyp::transactionStatus($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'amount' => '100.00',
'cashDiscount' => true,
'surcharge' => true,
];
$response = BlockChyp::cashDiscount($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'maxResults' => 250,
'startIndex' => 0,
];
$response = BlockChyp::batchHistory($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'batchId' => '<BATCH ID>',
];
$response = BlockChyp::batchDetails($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'maxResults' => 10,
'batchId' => '<BATCH ID>',
];
$response = BlockChyp::transactionHistory($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::listQueuedTransactions($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
'transactionRef' => '*',
];
$response = BlockChyp::deleteQueuedTransaction($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::ping($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::locate($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::clear($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::terminalStatus($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
// File format for the signature image.
'sigFormat' => BlockChyp::SIGNATURE_FORMAT_PNG,
// Width of the signature image in pixels.
'sigWidth' => 200,
];
$response = BlockChyp::captureSignature($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'message' => 'Thank you for your business.',
];
$response = BlockChyp::message($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
'prompt' => 'Would you like to become a member?',
'yesCaption' => 'Yes',
'noCaption' => 'No',
];
$response = BlockChyp::booleanPrompt($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
// Type of prompt. Can be 'email', 'phone', 'customer-number', or
// 'rewards-number'.
'promptType' => BlockChyp::PROMPT_TYPE_EMAIL,
];
$response = BlockChyp::textPrompt($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
];
$response = BlockChyp::terminals($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalId' => '<TERMINAL ID>',
];
$response = BlockChyp::deactivateTerminal($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
'activationCode' => '<ACTIVATION CODE>',
];
$response = BlockChyp::activateTerminal($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::reboot($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
// Alias for a Terms and Conditions template configured in the BlockChyp
// dashboard.
'tcAlias' => 'hippa',
// Name of the contract or document if not using an alias.
'tcName' => 'HIPPA Disclosure',
// Full text of the contract or disclosure if not using an alias.
'tcContent' => 'Full contract text',
// File format for the signature image.
'sigFormat' => BlockChyp::SIGNATURE_FORMAT_PNG,
// Width of the signature image in pixels.
'sigWidth' => 200,
// Whether or not a signature is
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
];
$response = BlockChyp::tcTemplates($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'templateId' => '<TEMPLATE ID>',
];
$response = BlockChyp::tcTemplate($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'alias' => 'HIPPA',
'name' => 'HIPPA Disclosure',
'content' => 'Lorem ipsum dolor sit amet.',
];
$response = BlockChyp::tcUpdateTemplate($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'templateId' => '<TEMPLATE ID>',
];
$response = BlockChyp::tcDeleteTemplate($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'logEntryId' => '<LOG ENTRY ID>',
];
$response = BlockChyp::tcLog($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'logEntryId' => '<ENTRY ID>',
];
$response = BlockChyp::tcEntry($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'test' => true,
'terminalName' => 'Test Terminal',
];
$response = BlockChyp::enroll($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'token' => '<TOKEN>',
];
$response = BlockChyp::tokenMetadata($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'token' => '<TOKEN>',
'customerId' => '<CUSTOMER ID>',
];
$response = BlockChyp::linkToken($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'token' => '<TOKEN>',
'customerId' => '<CUSTOMER ID>',
];
$response = BlockChyp::unlinkToken($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;
// For composer based systems
_once('/path/to/blockchyp/init.php');
use BlockChyp\BlockChyp;
BlockChyp::setApiKey(getenv('BC_API_KEY'));
BlockChyp::setBearerToken(getenv('BC_BEARER_TOKEN'));
BlockChyp::setSigningKey(getenv('BC_SIGNING_KEY'));
// Populate request values
$request = [
'token' => '<TOKEN>',
];
$response = BlockChyp::deleteToken($request);
// View the result
echo 'Response: ' . print_r($response, true) . PHP_EOL;