refundPartially
Syntax
refundPartially( purchase_id, amount )
refundPartially to refund a parital amount of a payment (not the compelete payment). The refund amount is treated as a discount. I.e. the order status does not change.
Access rights
Full access required.
Arguments
purchase_id – the purchase ID.
amount – the amount to refund. Must be not be higher than a payment amount.
Was this helpful?