Cancel payment refund
For certain payment methods, like iDEAL, the underlying banking system will delay refunds until the next day. Until that time, refunds may be cancelled manually in your Mollie account, or automatically by using this endpoint.
paymentId in the endpoint URL by the payment's ID, and replace
id by the refund's ID. For example:
Some endpoints allow you to indicate if you want more information to be included in the API response via the
include querystring parameter.
- No includes supported for this endpoint.
$mollie = new Mollie_API_Client; $mollie->setApiKey('test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM'); $mollie->payments_refunds->withParentId("tr_WDqYK6vllg") ->cancel("re_4qqhO89gsT");
HTTP/1.1 204 No Content