Skip to main content

Trends, tech news, and tool comparisons.

How to create a launch discount code in Stripe

· 7 min read
Dealpuffin
Proof points and live coupons for early adopters

To create a launch discount code in Stripe, make a coupon that defines the discount, then create a promotion code on top of it with an expiry date, a redemption cap and a first-time-customer restriction. The coupon holds the money logic and the promotion code is the string people type at checkout. Below is a worked setup for a 30% launch offer, plus the settings that behave differently from what most people expect.

Everything about Stripe's behavior comes from its documentation, read on 18 November 2026.

Decide the offer first​

Settle three things before you open the Dashboard: the size of the discount, how long it lasts for each customer, and how long the code can be claimed. They are separate settings in Stripe, and it is easy to confuse them.

A coupon's duration is how long one customer keeps the discount. Stripe's coupon docs say it defaults to once, which covers only the first invoice. Use repeating with a number of months for "30% off your first three months", or forever if you want a permanent deal. The code's expiry is a different clock: it decides when new customers can no longer redeem it.

For this guide the offer is 30% off for 3 months, redeemable for the first two weeks after launch, limited to 100 redemptions and to people who have never bought from you. If you are still unsure about the base price, how to price a SaaS product at the early stage comes first. A discount on a price you picked at random only hides the problem.

Create the coupon​

  1. Open the Products page in the Dashboard and click Coupons.
  2. Click New and give the coupon a name. The name appears on receipts and invoices, so write something a customer understands, such as "Launch offer".
  3. Choose percentage off and enter 30.
  4. Set the duration to repeating and the number of months to 3.
  5. Optionally limit the coupon to specific products. Stripe allows up to 100, and any promotion code made from the coupon inherits the restriction.
  6. Create the coupon.

The name is the only setting you can edit afterward. Everything else needs a new coupon, so check the percentage and duration before saving.

Add the promotion code​

On the same creation screen, use the button for customer-facing promotion codes. Enter the code, for example LAUNCH30. If you leave it blank Stripe generates one. Per the API reference, codes may contain letters, digits and dashes, and matching ignores case.

Then set the restrictions from the plan above:

  • Add an expiration date two weeks out.
  • Limit the number of redemptions to 100.
  • Tick the first-time order option so existing customers cannot use it.
  • Add a minimum order value only if you need one.

Two rules from Stripe's docs are worth knowing. A promotion code's expiry cannot be later than its coupon's, and its redemption cap cannot exceed the coupon's. If you plan to hand out several codes, say one for newsletter readers and one for a launch-day post, create one coupon and several promotion codes. Each code then has its own expiry and counter, and the coupon carries the shared discount.

The same thing through the API is one call: a POST to /v1/promotion_codes with the coupon in the promotion object, plus expires_at, max_redemptions and restrictions[first_time_transaction]=true.

Let customers enter the code at checkout​

If you use Stripe Checkout, set allow_promotion_codes to true on the Checkout Session and Stripe shows a code box on the payment page. This is the right choice for a public launch code.

If you would rather apply the discount yourself, for example through a link in an email, skip the box and pass the coupon in the discounts parameter of the session. The docs show this for subscription mode. The customer never types anything, and you decide who gets it.

Settings to check before you publish the code​

  1. The first-time restriction is broader than it sounds. Stripe blocks the code if the customer ever started a PaymentIntent, even one that never completed, or subscribed to a trial period that was later canceled. Someone who tried your free trial in October cannot use a first-time launch code in November. If your launch includes a trial, decide which of the two incentives you want to give them.
  2. The minimum amount only checks the first payment. Restrictions are evaluated when the code is redeemed, so a minimum order value applies to the initial payment of a subscription and not to renewals.
  3. Expiry and duration are independent. If a coupon lasts forever and the code expires, anyone who redeemed before the expiry keeps the discount for good. New customers cannot use it after the date.
  4. Redemptions count every application. Stripe counts both a customer entering a code and your backend attaching the coupon directly toward the same max_redemptions limit on the coupon.
  5. Codes are archived and coupons are deleted. You can switch a promotion code off by archiving it. Coupons can only be deleted, which stops new applications but leaves existing discounts in place. A promotion code that hits its expiry or redemption cap becomes permanently inactive and cannot be reactivated.
  6. Discounts stack. A subscription can carry up to 20 discounts, and the order matters when you mix a percentage with a fixed amount.

If the same offer might also go to annual subscribers, read how to offer an annual discount in Stripe, since a yearly price and a coupon interact in ways worth deciding up front. Stripe coupons versus promotion codes explains the object model in more detail.

Measure it​

The promotion code object carries a times_redeemed counter, so you can see uptake in the Dashboard or by listing codes through the API. Before judging the launch, compare redemptions with the signups you would have expected without a code. A discount that mostly goes to people who were going to pay anyway costs you revenue and brings in no new customers.

Where else to publish the code​

A code on your own site only reaches people who are already there. If you want it visible to early adopters browsing for tools, Dealpuffin lets founders who bill through Stripe, Paddle or Polar publish coupons from their provider. The buyer still pays on your own checkout.

Frequently asked questions​

What is the difference between a Stripe coupon and a promotion code?​

A coupon defines the discount, such as 30% off for three months. A promotion code is the customer-facing string that points to a coupon, and many codes can share one coupon.

How do I make a Stripe discount code expire?​

Set an expiration date when you create the promotion code. It cannot be later than the coupon's own expiry, and after the date new customers cannot redeem it.

Can I limit a Stripe promotion code to new customers?​

Yes. Turn on the first-time order restriction. Stripe treats a customer as returning if they ever started a PaymentIntent or subscribed to a trial, even if it was canceled.

Does a discount code apply to every renewal?​

Only for the coupon's duration. The default is the first invoice only, so choose repeating with a number of months or forever if you want it to continue.