# Delete a customer discount

Removes the currently applied discount on a customer.

## Prerequisites

Before you can run the following code snippet, you need to call these APIs with the provided parameters to set up the prerequisite API object(s).

1. createCustomer
POST /v1/customers {"name":"Jenny Rosen","email":"jennyrosen@example.com"}

## Request

```curl
curl -X DELETE https://api.stripe.com/v1/customers/{{CUSTOMER_ID}}/discount \
  -u "<<YOUR_SECRET_KEY>>"
```

### Response

```json
{
  "object": "discount",
  "deleted": true
}
```

## Returns

An object with a deleted flag set to true upon success. This call returns [an error](https://docs.stripe.com/api/errors.md) otherwise, such as if no discount exists on this customer.
