Delete a customer discount
DELETE
/v1/customers/{customer}/discount https://api.stripe.com/
Parameters
path Path Parameters
| Name | Type |
|---|---|
customer
required
| string |
Request Body
application/x-www-form-urlencoded
{}
Responses
200 application/json
Successful response.
interface DeletedDiscount {
checkout_session?: string | null;
customer?:Customer | DeletedCustomer | string | null;
customer_account?: string | null;
deleted: true;
id: string;
invoice?: string | null;
invoice_item?: string | null;
object: "discount";
promotion_code?:PromotionCode | string | null;
source:DiscountSource ;
start: number;
subscription?: string | null;
subscription_item?: string | null;
}
checkout_session?: string | null;
customer?:
customer_account?: string | null;
deleted: true;
id: string;
invoice?: string | null;
invoice_item?: string | null;
object: "discount";
promotion_code?:
source:
start: number;
subscription?: string | null;
subscription_item?: string | null;
}
default application/json
Error response.
interface Error {
error:ApiErrors ;
}
error:
}