---
title: "Cancel Refund"
method: DELETE
path: "/orders/{id}/refunds/{refund_id}"
tags: ["Orders"]
---

# Cancel Refund

`DELETE /orders/{id}/refunds/{refund_id}`

Cancels a refund previously created for an order. This operation is only available when the refund is still cancellable according to its current status and the payment method rules. If the refund cannot be cancelled, the API returns an error response.

## Path parameters

- `id` string, required
- `refund_id` string, required

## Headers

- `Accept-Language` 'es' | 'en'
- `X-Child-Company-Id` string

## Response `200`

successful operation

## Other responses

- `401` — authentication error
- `402` — payment required error
- `404` — not found entity
- `422` — parameter validation error
- `500` — internal server error

---

[API](https://skmtc.dev/digitalfemsa/apis/femsa-api.md) · [All operations](https://skmtc.dev/digitalfemsa/apis/femsa-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/digitalfemsa/femsa-api/revisions/2e43caddf36b/schema)
