When you create an affiliate discount offer, you can now pick an optional Expires on date. The offer ends at 11:59 PM Eastern on that day. The Stripe coupon stops working at that moment, and so does every promo code affiliates create from the offer.
The date appears next to the offer in the offer list, and expired offers are marked Expired. Affiliates see when each available discount ends, and a code whose offer has expired shows as expired instead of offering a Copy button.
A customer who checked out with a code before it expired still counts as the affiliate’s referral, even if the checkout is processed after the expiry.
Stripe does not allow a coupon’s expiration to change once it is set, so to change the date, create a new offer.