addBalanceToPurchase
Syntax
addBalanceToPurchase( purchase_id, amount )
For subscription and installment payments: add balance to the order. This will be billed with the next payments.
Access rights
Full access required.
Arguments
purchase_id – the Digistore24 order ID amount – the balance to be added in the currency of the order. If the amount is <0, the balance will be reduced. The balance cannot be less than 0.
Return data
old_balance – the old balance new_balance – the new (current) balance
Was this helpful?