Refunds a delivered order for a customer in the admin dashboard.
Requires the stores.orders.refund permission.
Your API key goes here
The ID of the store the order will be refunded in.
The ID of the order to refund
The form containing the reason for the refund
Represents the form used to process a refund for an order.
Indicates a duplicate transaction or order as the reason for a refund.
0, 1, 2, 3 The object was successfully created.
Represents a default generic response for API endpoints.
Indicates whether the operation or response was successful.
A descriptive message providing additional context or information about the response.
The error code (if there was an error) to use when referencing the error
Represents a refund associated with a specific user, order, and reason for payment adjustment.