Orders
Refund an order
This endpoint issues a refund for a specific order identified by id. The x-store-id header must be provided for authentication. Optionally, a reason and amount (for partial refunds) can be specified in the request body. On success, the refund ID and details are returned. An order must have an associated payment intent and must not already be refunded.
POST
Refund an order
Authorizations
Path Parameters
ID of the order to refund.
Body
application/json
Response
Order refunded successfully.
Refund an order