Refund specific order items across multiple orders.
The 'Bearer' token can be obtained from the token management interface or via the login endpoint using your admin user credentials.
Request body for refunding order items.
The list of order item IDs to refund.
When true, the items will be restocked. If no value is passed, this will always default to true.
When true, if this item is a wallet topup, the value will be deducted from the wallet. The default behaviour is true.
When true, the processing fee will be refunded. If no value is passed, this will always default to true.
When true, the reseller fee will be refunded. If no value is passed, this will always default to true.
When true, the customer will be notified of their refund. If no value is passed, this will always default to true.
True for online refunds, false otherwise. If true is passed here but the transaction has no payment gateway or has a total of zero, it will revert this value to false.
Set the type for the refund. If set to balance or cancellation, the online flag will be ignored
refund, balance_refund, cancellation The uuid to store against the transaction, which allows the existing transaction to be returned if the refund has already been processed. This is ignored for cancellations, as they don't have a transaction
Successfully refunded order item transactions.