<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV";
Balanced\Customer::get("/customers/CU4GAx8tZTDNIgAmwfV35e53");
示例#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\Customer::get("/customers/CU5aACCvYYfV6mcWJL4TEcK1");
示例#3
0
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY";
$merchant = Balanced\Customer::get("/customers/CU5AxbQrjAcjsbquafnvwaas");
$order = $merchant->orders->create();
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-22IOkhevjZlmRP2do6CZixkkDshTiOjTV";
$merchant = Balanced\Customer::get("/customers/CU4MnFEab304anOtUtEu5hkN");
$order = $merchant->orders->create();
示例#5
0
<?php

require __DIR__ . '/vendor/autoload.php';
Httpful\Bootstrap::init();
RESTful\Bootstrap::init();
Balanced\Bootstrap::init();
Balanced\Settings::$api_key = "ak-test-2eKlj1ZDfAcZSARMf3NMhBHywDej0avSY";
$customer = Balanced\Customer::get("/customers/CU3o1ZAd8Gtxz6ZTIFK9YmsM");
$accounts = $customer->accounts->query()->all();