function telecoms.cart.checkout

See also:


Standard Arguments

argrequired?syntaxinfo
cartIDYposintthe cartID of the cart instance; see telecoms.cart.list to get a list of all cartIDs
pay_methodYenum:interactive|stored_card|after_invoicethe method to use to pay for the items in the cart

Additional Arguments if pay_method is "after_invoice"

argrequired?syntaxinfo
paymentcardIDYposintthe paymentcardID of a previously stored payment card; see paymentcard.list to get a list of all paymentcardIDs

Additional Arguments if pay_method is "stored_card"

No additiional arguments necessary.

Return Values

This function returns the updated cart and also indicates any failures. The returned structure is the same as for telecoms.cart.create.

 

Additional Arguments for suppliers using a master account

argrequired?syntaxinfo
supplier_custIDsee descriptionposintSupply the master account custID if you're using one of our master API accounts, otherwise don't supply this argument. Requires one of billcomp, billcompID.
custIDsee descriptionposintcustID of the customer who is to own the shopping cart (leave blank to use your own account)