Cancel payment refund
Changed onRefunds 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.
Request
- Base URLhttps://api.mollie.com
- URLhttps://api.mollie.com/v2/payments/{paymentId}/refunds/{refundId}
- Auth
- HTTP bearer
- or HTTP bearer
- or OAuth 2Authorization code: https://my.mollie.com/oauth2/authorizeToken URL: https://api.mollie.com/oauth2/tokens scopes: refunds.write
Query parameters
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.
Headers
A unique key to ensure idempotent requests. This key should be a UUID v4 string.
Response
An empty response if the refund was successfully canceled.
Changes
- info
added the non-success response with the status
- info
- info
the endpoint scheme security
advancedAccessTokenwas added to the API - info
the endpoint scheme security
organizationAccessTokenwas removed from the API
- info