---
title: "Cancel payment refund"
method: DELETE
path: "/v2/payments/{paymentId}/refunds/{refundId}"
tags: ["Refunds API"]
---

# Cancel payment refund

`DELETE /v2/payments/{paymentId}/refunds/{refundId}`

Refunds will be executed with a delay of two hours. Until that time, refunds may be canceled manually via the
Mollie Dashboard, or by using this endpoint.

A refund can only be canceled while its `status` field is either `queued` or `pending`. See the
[Get refund endpoint](get-refund) for more information.

## Query parameters

- `testmode` boolean

## Headers

- `idempotency-key` string

## Response `204`

An empty response if the refund was successfully canceled.

## Other responses

- `404` — No entity with this ID exists.
- `429` — Rate Limit has been reached.

---

[API](https://skmtc.net/mollie/apis/mollie-api.md) · [All operations](https://skmtc.net/mollie/apis/mollie-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mollie/mollie-api/revisions/d2a3bd80c1fa/schema)
