v1

latestOpenAPI 3.1.0CC-BY-NC-SA-4.02026-07-2413803.8 MB
Refunds API

Cancel payment refund

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 for more information.

🔑 Access with

API key

Advanced access token with refunds.write

OAuth access with refunds.write

delete/payments/{paymentId}/refunds/{refundId}

Query parameters

testmodeboolean

Most API credentials are specifically created for either live mode or test mode. In those cases the testmode query parameter must not be sent. For organization-level credentials such as OAuth access tokens, you can enable test mode by setting the testmode query parameter to true.

Test entities cannot be retrieved when the endpoint is set to live mode, and vice versa.

Response

An empty response if the refund was successfully canceled.