Creating a promo code
Navigate to Admin → Promos → Create Promo.How customers apply promo codes
- Customer navigates to Order → [Plan]
- On the checkout page, there is a Promo Code field
- Customer enters the code and clicks Apply
- If valid, the discounted price is shown before payment
- The discount is applied to the generated invoice
API validation
Codes can also be validated via the API before presenting a checkout UI:Usage tracking
Each time a promo code is used, the usage count increments. You can view usage stats per code in Admin → Promos. Whenmax_uses is reached, the code is automatically invalidated.