Skip to main content

Creating a promo code

Navigate to Admin → Promos → Create Promo.

How customers apply promo codes

  1. Customer navigates to Order → [Plan]
  2. On the checkout page, there is a Promo Code field
  3. Customer enters the code and clicks Apply
  4. If valid, the discounted price is shown before payment
  5. The discount is applied to the generated invoice

API validation

Codes can also be validated via the API before presenting a checkout UI:
Response:

Usage tracking

Each time a promo code is used, the usage count increments. You can view usage stats per code in Admin → Promos. When max_uses is reached, the code is automatically invalidated.