This method retrieves the current Loopia Prepaid balance, in the current currency, for amounts deposited after 2015-12-04.
Syntax
float = getCreditsAmount(username, password [, customer_number] [, with_vat])
Return value
float, the method returns the current Loopia Prepaid balance.
Parameters
- username
string
Username for LoopiaAPI. - password
string
Password for LoopiaAPI. - customer_number
string
Customer ID for the account. Used only by resellers who work with the customer’s account. - with_vat
boolean
1 if the amount should include VAT, 0 otherwise. Optional; retained for backward compatibility and has no effect on the returned value.