Revoke mandate

Mandates API v1

Warning

The v1 API has been deprecated. The v1 API will be supported for the foreseeable future, at least until July 2023. However, new features will only be added to the v2 API.

The documentation for revoking mandates in the new v2 API can be found here. For more information on the v2 API, refer to our v2 migration guide.

DELETEhttps://api.mollie.com/v1/customers/*customerId*/mandates/*id*

Revoke a customer’s mandate. You will no longer be able to charge the consumer’s bank account or credit card with this mandate.

Parameters

Replace customerId in the endpoint URL by the customer’s ID, and replace id by the mandate’s ID. For example: /v1/customers/cst_stTC2WHAuS/mandates/mdt_pWUnw6pkBN.

Access token parameters

If you are creating an app with Mollie Connect, the testmode parameter is also available.

testmodebooleanoptional

Response

204 No Content

Example

Request

1
2
curl -X DELETE https://api.mollie.com/v1/customers/cst_stTC2WHAuS/mandates/mdt_pWUnw6pkBN \
    -H "Authorization: Bearer test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM"

Response

1
HTTP/1.1 204 No Content