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

# Cancel payment refund

`DELETE /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.

> 🔑 Access with
>
> [API key](/reference/authentication)
>
> [Advanced access token with **refunds.write**](/reference/authentication)
>
> [OAuth access with **refunds.write**](/reference/authentication)

## Query parameters

- `testmode` boolean

## 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/accepting-payments.md) · [All operations](https://skmtc.net/mollie/apis/accepting-payments/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mollie/accepting-payments/revisions/4b45df3039ef/schema)
