Delete customer

Customers API v2
DELETEhttps://api.mollie.com/v2/customers/*id*

Delete a customer. All mandates and subscriptions created for this customer will be canceled as well.

Parameters

Replace id in the endpoint URL by the customer’s ID, for example cst_8wmqcHMN4U.

Mollie Connect/OAuth parameters

If you’re creating an app with Mollie Connect/OAuth, the testmode parameter is also available.

testmode

boolean
optional
Set this to true to delete a test mode customer.

Response

204 No Content

Example

Request

1
2
curl -X DELETE https://api.mollie.com/v2/customers/cst_8wmqcHMN4U \
    -H "Authorization: Bearer test_dHar4XY7LxsDOtmnkVtjNVWXLSlXsM

Response

1
HTTP/1.1 204 No Content