This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Calls relevant payment providers and creates refund transactions for the requested payments.
Refunds marked with paymentRefunds.externalRefund = true
do not call payment providers and
only update the order's transactions records.
You can only call this method when authenticated as a Wix app or Wix user identity.
Order ID.
List of payments and their amounts to refund.
Side effect actions for restocking and notifications.
List of line items, shipping and additional fees to refund.
Customer-provided reason for the refund.
Refund details.
The order's transactions records after the refunds were performed.
Partial refund of payment
There are 5 errors with this status code.
There are 4 errors with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.