Managing your Account with the API
The API provides a number of commands to help you manage your money on a Questblue customer account.
To look at your current rates you can run the command accountRates() with no parameters.
You can modify your refill settings with three different functions, and check your balance with the accountGetBalance() function.
accountSetRefill() enables or disables automatic refill with "disable" or "enable" as the parameters.
accountRefill() refills when ran with a minimum amount of $10.
accountRefillConfig() will modify when and for how much you refill your account:
minimum balance before reload: can be 5, 25, 30, 35, 40, 45, 50
how much to refill: 25, 50, 60, 70, 80, 90, 100, 200, 300, 400, 500
$api = new QBapi();
$rates = $api->accountRates();
$balance = $api->accountGetBalance();
$autoRe = $api->accountSetRefill("enable");
$config = $api->accountRefillConfig(50,100);