Processes payment refunds by calling payment providers and creating refund transactions.
Supports two refund methods:
Set paymentRefunds.externalRefund = true
for external refunds when you've manually processed the refund and only need to update the order's transaction records.
The method also handles restocking inventory and sending customer notifications when specified in sideEffects
.
You can only call this method when authenticated as a Wix app or Wix user identity.
There are 6 errors with this status code.
There are 4 errors with this status code.
There are 2 errors with this status code.
This method may also return standard errors. Learn more about standard Wix errors.