Delete a customer discount v1

DELETE /v1/customers/:id/discount

Removes the currently applied discount on a customer.

Parameters

No parameters.

Returns

An object with a deleted flag set to true upon success. This call returns an error otherwise, such as if no discount exists on this customer.

curl -X DELETE https://api.stripe.com/v1/customers//discount \
-u "sk_test_BQokikJOvBiI2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:"
Response
{
"object": "discount",
"deleted": true
}

Delete a subscription discount v1

DELETE /v1/subscriptions/:id/discount

Removes the currently applied discount on a subscription.

Parameters

No parameters.

Returns

An object with a deleted flag set to true upon success. This call returns an error otherwise, such as if no discount exists on this subscription.

curl -X DELETE https://api.stripe.com/v1/subscriptions//discount \
-u "sk_test_BQokikJOvBiI2HlWgH4olfQ2sk_test_BQokikJOvBiI2HlWgH4olfQ2:"
Response
{
"object": "discount",
"deleted": true
}