
Stripe API Integration Profile
Information and guides about integrating with Stripe API
Add Stripe Integration to Your ProductHow to work with Promotion Codes in Stripe API
Promotion Codes Fields
| Field Name | API Key | Type | Description |
|---|---|---|---|
| Active | active | boolean | Whether the promotion code is currently active. A promotion code is only active if the coupon is also valid. |
| Code | code | string | The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. |
| Coupon | coupon | object | 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 [subscriptions](https://stripe.com/docs/api#subscriptions), [invoices](https://stripe.com/docs/api#invoices), [checkout sessions](https://stripe.com/docs/api/checkout/sessions), [quotes](https://stripe.com/docs/api#quotes), and more. Coupons do not work with conventional one-off [charges](https://stripe.com/docs/api#create_charge) or [payment intents](https://stripe.com/docs/api/payment_intents). |
| Amount Off | coupon.amount_off | integer | Amount (in the `currency` specified) that will be taken off the subtotal of any invoices for this customer. |
| Created | coupon.created | integer | Time at which the object was created. Measured in seconds since the Unix epoch. |