objectdeleted_discount
- Source
openapi/spec3.json- Commit
d70de345383d- Active snapshot
da69df7e6e11
DeletedDiscount
objectThe Checkout session that this coupon is applied to, if it is applied to a particular session in payment mode. Will not be present for subscription mode.
A coupon contains information about a percent-off or amount-off discount you might want to apply to a customer. Coupons may be applied to [invoices](https://stripe.com/docs/api#invoices) or [orders](https://stripe.com/docs/api#create_order_legacy-coupon). Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge).
The ID of the customer associated with this discount.
Always true for a deleted object
The ID of the discount object. Discounts cannot be fetched by ID. Use `expand[]=discounts` in API calls to expand discount IDs in an array.
The invoice that the discount's coupon was applied to, if it was applied directly to a particular invoice.
The invoice item `id` (or invoice line item `id` for invoice line items of type='subscription') that the discount's coupon was applied to, if it was applied directly to a particular invoice item or invoice line item.
String representing the object's type. Objects of the same type share the same value.
The promotion code applied to create this discount.
Date that the coupon was applied.
The subscription that this coupon is applied to, if it is applied to a particular subscription.