Updates the status of an order's payment.
Note: To issue a refund and update the payment status to refunded, use the Order Billing API instead.
You can only call this method when authenticated as a Wix app or Wix user identity.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.