getCreditsAmount

This method retrieves current Loopia Prepaid balance in current currency deposited after 2015-12-04.

Syntax

double = getCreditsAmount(username, password [, customer_number] [, with_vat])

Return value

float, method returns the current LoopiaPREPAID 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 and without effect.
Was this article helpful?

Related Articles