Hi Eric,
You can see how this is done in our documentation here. I've also posted the examples below for you.
//credit Spark.getPlayer().credit("shortCode", amount); //debit Spark.getPlayer().debit("shortCode", amount); //getBalance Spark.getPlayer().getBalance("shortCode");
Regards,
Liam
Thanks :)
Eric Moncada
I saw that it was now possible to defines currencies.
Good, better than the 6 positions.
But then, how to modifiy them, adding or substracting values ?
The SparkCurrency doesn't have such functions...