payInvoiceUsingCredits

This method will pay an invoice with LoopiaPrePAID credits provided that the right amount is availible in the account.

Syntax

status = payInvoiceUsingCredits(username, password, [customer_number,] reference_no)

Return value

status, this method returns a status code of OK if all went well.

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.
reference_no
string
Invoice number.

Hey, do you need assistance?

Our popular SuperSupport is here to assist you.
Open weekdays 7-21, weekends 11-15

 
+46 (0)21-12 82 22 Closed