# Delete a customer (and all their payment methods) This is used to delete a customer by its unique Id Endpoint: DELETE /customers/{customerId} Version: 1.1.0 Security: secretApiKeyAuth ## Path parameters: - `customerId` (string, required) Customer to delete Example: "cus_01FCTS1XMKH9FF43CAFA4CXT3P" ## Response 200 fields (application/json): - `id` (string) The Id of the deleted customer Example: "cus_01G0EYVFR02KBBVE2YWQ8AKMGJ" ## Response 404 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON" ## Response 500 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON"