<?php

# $card_hold_href is the stored href for the CardHold
$hold = Balanced\CardHold::get($card_hold_href);
$hold->void();
Example #2
0
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY";
Balanced\CardHold::get("/card_holds/HL4iHX8OBNW7nVsu6MqyjnQ9");
Example #3
0
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY";
$hold = Balanced\CardHold::get("/card_holds/HL4u4T2877PfgYwnbhD2XweV");
$hold->void();
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV";
$hold = Balanced\CardHold::get("/card_holds/HL4bdnO7ELS2JfyJ2T8elYOl");
$hold->capture();
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV";
$hold = Balanced\CardHold::get("/card_holds/HL4joUazeM3BJE6emmv2Q8EF");
$hold->void();