Skip to content

Commit

Permalink
Update scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
rserna2010 committed Jan 8, 2015
1 parent 1062345 commit 6607515
Show file tree
Hide file tree
Showing 99 changed files with 112 additions and 116 deletions.
2 changes: 1 addition & 1 deletion scenarios/account_credit/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$payable_account = Balanced\Account::get("");
$payable_account = Balanced\Account::get("/accounts/AT2E6Ju62P9AnTJwe0fL5kOI");
$payable_account->credits->create(array(
"amount" => "1000",
"appears_on_statement_as" => "ThingsCo",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/account_credit/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$payable_account = Balanced\Account::get("");
$payable_account = Balanced\Account::get("/accounts/AT2E6Ju62P9AnTJwe0fL5kOI");
$payable_account->credits->create(array(
"amount" => "1000",
"appears_on_statement_as" => "ThingsCo",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/account_list_customer/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$customer = Balanced\Customer::get("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$customer = Balanced\Customer::get("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");
$accounts = customer->accounts->query()->all();

?>
2 changes: 1 addition & 1 deletion scenarios/account_list_customer/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$customer = Balanced\Customer::get("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$customer = Balanced\Customer::get("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");
$accounts = customer->accounts->query()->all();

?>
Expand Down
2 changes: 1 addition & 1 deletion scenarios/api_key_delete/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$api_key = Balanced\APIKey::get("/api_keys/AK2Phglc8FZEbSJWy3H7UeB7");
$api_key = Balanced\APIKey::get("/api_keys/AK5GPcrSGuD1jtq6cEctwa3j");
$api_key->unstore();

?>
2 changes: 1 addition & 1 deletion scenarios/api_key_delete/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$api_key = Balanced\APIKey::get("/api_keys/AK2Phglc8FZEbSJWy3H7UeB7");
$api_key = Balanced\APIKey::get("/api_keys/AK5GPcrSGuD1jtq6cEctwa3j");
$api_key->unstore();

?>
Expand Down
2 changes: 1 addition & 1 deletion scenarios/api_key_show/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

Balanced\APIKey::get("/api_keys/AK2Phglc8FZEbSJWy3H7UeB7")
Balanced\APIKey::get("/api_keys/AK5GPcrSGuD1jtq6cEctwa3j")

?>
2 changes: 1 addition & 1 deletion scenarios/api_key_show/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

Balanced\APIKey::get("/api_keys/AK2Phglc8FZEbSJWy3H7UeB7")
Balanced\APIKey::get("/api_keys/AK5GPcrSGuD1jtq6cEctwa3j")

?>
%endif
4 changes: 2 additions & 2 deletions scenarios/bank_account_associate_to_customer/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$bank_account->associateToCustomer("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA6g0aWJb8TNd7sXXs17t0Q0");
$bank_account->associateToCustomer("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");

?>
4 changes: 2 additions & 2 deletions scenarios/bank_account_associate_to_customer/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$bank_account->associateToCustomer("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA6g0aWJb8TNd7sXXs17t0Q0");
$bank_account->associateToCustomer("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");

?>
%endif
2 changes: 1 addition & 1 deletion scenarios/bank_account_credit/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA6g0aWJb8TNd7sXXs17t0Q0");
$bank_account->credits->create(array(
"amount" => "5000",
));
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_credit/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA6g0aWJb8TNd7sXXs17t0Q0");
$bank_account->credits->create(array(
"amount" => "5000",
));
Expand Down
4 changes: 2 additions & 2 deletions scenarios/bank_account_debit_order/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$order = Balanced\Order::get("/orders/OR2JfBYxYlDAF3L48u9DtIEU");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT");
$order = Balanced\Order::get("/orders/OR5e6wrps4tp9QarDxWa01O5");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$order->debitFrom(
$bank_account,
"5000"
Expand Down
4 changes: 2 additions & 2 deletions scenarios/bank_account_debit_order/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$order = Balanced\Order::get("/orders/OR2JfBYxYlDAF3L48u9DtIEU");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT");
$order = Balanced\Order::get("/orders/OR5e6wrps4tp9QarDxWa01O5");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$order->debitFrom(
$bank_account,
"5000"
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_delete/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");
$bank_account->unstore();

?>
2 changes: 1 addition & 1 deletion scenarios/bank_account_delete/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");
$bank_account->unstore();

?>
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_show/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");

?>
2 changes: 1 addition & 1 deletion scenarios/bank_account_show/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");

?>
%endif
2 changes: 1 addition & 1 deletion scenarios/bank_account_update/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");
$bank_account->meta = array(
"facebook.user_id" => "0192837465",
"my-own-customer-id" => "12345",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_update/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3gt4RLskm2w09aXHPDaCb3");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA65yqzcgV6DIdGkEpk7fI8E");
$bank_account->meta = array(
"facebook.user_id" => "0192837465",
"my-own-customer-id" => "12345",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_create/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// NOTE: Bank account must be associated with a customer before initiating a verification

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$verification = $bank_account->verify();

?>
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_create/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

// NOTE: Bank account must be associated with a customer before initiating a verification

$bank_account = Balanced\BankAccount::get("/bank_accounts/BA305R4Vwumo1KjT9kwVrdfT");
$bank_account = Balanced\BankAccount::get("/bank_accounts/BA3uzbngfVXy1SGg25Et7iKY");
$verification = $bank_account->verify();

?>
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_show/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$verification = Balanced\BankAccountVerification::get("/verifications/BZ37ck8caI06gKMmpz70Zt6w");
$verification = Balanced\BankAccountVerification::get("/verifications/BZ5XxtvPAMXrKcmyaN1DFqfK");

?>
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_show/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$verification = Balanced\BankAccountVerification::get("/verifications/BZ37ck8caI06gKMmpz70Zt6w");
$verification = Balanced\BankAccountVerification::get("/verifications/BZ5XxtvPAMXrKcmyaN1DFqfK");

?>
%endif
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_update/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$verification = Balanced\BankAccountVerification::get("/verifications/BZ37ck8caI06gKMmpz70Zt6w");
$verification = Balanced\BankAccountVerification::get("/verifications/BZ5XxtvPAMXrKcmyaN1DFqfK");
$verification->amount_1 = 1;
$verification->amount_2 = 1;
$verification->save();
Expand Down
2 changes: 1 addition & 1 deletion scenarios/bank_account_verification_update/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$verification = Balanced\BankAccountVerification::get("/verifications/BZ37ck8caI06gKMmpz70Zt6w");
$verification = Balanced\BankAccountVerification::get("/verifications/BZ5XxtvPAMXrKcmyaN1DFqfK");
$verification->amount_1 = 1;
$verification->amount_2 = 1;
$verification->save();
Expand Down
2 changes: 1 addition & 1 deletion scenarios/callback_create/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$callback = new Balanced\Callback(array(
"url" => "http://www.example.com/callback"
"url" => "http://www.example.com/callback_test"
));
$callback->save();

Expand Down
2 changes: 1 addition & 1 deletion scenarios/callback_create/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$callback = new Balanced\Callback(array(
"url" => "http://www.example.com/callback"
"url" => "http://www.example.com/callback_test"
));
$callback->save();

Expand Down
2 changes: 1 addition & 1 deletion scenarios/callback_show/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$callback = \Balanced\Callback::get("/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh");
$callback = \Balanced\Callback::get("/callbacks/CB2AtfpEvqtqX33050qgLBtu");

?>
2 changes: 1 addition & 1 deletion scenarios/callback_show/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$callback = \Balanced\Callback::get("/callbacks/CB3BP8jjVy8RBUFdb2fYw0mh");
$callback = \Balanced\Callback::get("/callbacks/CB2AtfpEvqtqX33050qgLBtu");

?>
%endif
4 changes: 2 additions & 2 deletions scenarios/card_associate_to_customer/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC4fWSr1PpCAh6mlDzNfr0Gs");
$card->associateToCustomer("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$card = Balanced\Card::get("/cards/CC3bspNmYxyJu9J52MbgArDy");
$card->associateToCustomer("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");

?>
4 changes: 2 additions & 2 deletions scenarios/card_associate_to_customer/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC4fWSr1PpCAh6mlDzNfr0Gs");
$card->associateToCustomer("/customers/CU2DRnwOXfbxBlKb5CUWwWJi");
$card = Balanced\Card::get("/cards/CC3bspNmYxyJu9J52MbgArDy");
$card->associateToCustomer("/customers/CU4CZc7Xjn8gGJXl1LyzZk7S");

?>
%endif
4 changes: 2 additions & 2 deletions scenarios/card_credit_order/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$order = Balanced\Order::get("/orders/OR2JfBYxYlDAF3L48u9DtIEU");
$card = Balanced\Card::get("/cards/CC4fWSr1PpCAh6mlDzNfr0Gs");
$order = Balanced\Order::get("/orders/OR5e6wrps4tp9QarDxWa01O5");
$card = Balanced\Card::get("/cards/CC3bspNmYxyJu9J52MbgArDy");
$order->creditTo(
$card,
"5000"
Expand Down
4 changes: 2 additions & 2 deletions scenarios/card_credit_order/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$order = Balanced\Order::get("/orders/OR2JfBYxYlDAF3L48u9DtIEU");
$card = Balanced\Card::get("/cards/CC4fWSr1PpCAh6mlDzNfr0Gs");
$order = Balanced\Order::get("/orders/OR5e6wrps4tp9QarDxWa01O5");
$card = Balanced\Card::get("/cards/CC3bspNmYxyJu9J52MbgArDy");
$order->creditTo(
$card,
"5000"
Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_debit/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC48j1De9eVYELLivrgDeCM8");
$card = Balanced\Card::get("/cards/CC2SHYWrrAN9Vvl3vuznGeHu");
$card->debits->create(array(
"amount" => "5000",
"appears_on_statement_as" => "Statement text",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_debit/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC48j1De9eVYELLivrgDeCM8");
$card = Balanced\Card::get("/cards/CC2SHYWrrAN9Vvl3vuznGeHu");
$card->debits->create(array(
"amount" => "5000",
"appears_on_statement_as" => "Statement text",
Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_delete/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC48j1De9eVYELLivrgDeCM8");
$card = Balanced\Card::get("/cards/CC2SHYWrrAN9Vvl3vuznGeHu");
$card->unstore();


Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_delete/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC48j1De9eVYELLivrgDeCM8");
$card = Balanced\Card::get("/cards/CC2SHYWrrAN9Vvl3vuznGeHu");
$card->unstore();


Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_hold_capture/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$hold = Balanced\CardHold::get("/card_holds/HL3QlUen3sZjc3dPbgK40F7G");
$hold = Balanced\CardHold::get("/card_holds/HL44qbPoom3uVlTlEGBZV7z2");
$hold->capture();

?>
2 changes: 1 addition & 1 deletion scenarios/card_hold_capture/php.mako
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Balanced\Bootstrap::init();

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$hold = Balanced\CardHold::get("/card_holds/HL3QlUen3sZjc3dPbgK40F7G");
$hold = Balanced\CardHold::get("/card_holds/HL44qbPoom3uVlTlEGBZV7z2");
$hold->capture();

?>
Expand Down
2 changes: 1 addition & 1 deletion scenarios/card_hold_create/executable.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Balanced\Settings::$api_key = "ak-test-1xLFE6RLC1W3P4ePiQDI4UVpRwtKcdfqL";

$card = Balanced\Card::get("/cards/CC2IDFuWSoETEIxLBJ73fXgs");
$card = Balanced\Card::get("/cards/CC48j1De9eVYELLivrgDeCM8");
$card->card_holds->create(array(
"amount" => "5000",
"description" => "Some descriptive text for the debit in the dashboard",
Expand Down
Loading

0 comments on commit 6607515

Please sign in to comment.