Skip to main content

Promo codes and discounts

A promo code is a code that a player enters during checkout (or wallet top-up) to receive a discount, a free product, or bonus funds.


Promo code types (6 kinds)

TypeWhat it givesExample
discount_percentPercentage discountWELCOME → −10% on everything
discount_fixedFixed-amount discountSAVE100 → −100 ₽
free_productFree productGIFT → AK-47 for free
balance_topupBonus added to balanceBONUS500 → +500 ₽ to balance
free_shippingFree shipping(not applicable — digital products)
compositeCombinationDiscount + bonus

Promo code parameters

ParameterDescription
codeThe code itself (e.g. WELCOME2024)
typePromo code type
valueValue (percentage, amount, or product ID)
maxUsesHow many times it can be used (null = unlimited)
usedCountHow many times it has been used (counter)
minCartMinorMinimum cart amount (null = no limit)
startsAtStart date (null = immediate)
expiresAtExpiry date (null = no expiry)
isActiveOn/off

How to create a promo code

  1. Admin panel → your store → Promo → "Create promo code"
  2. Fill in the parameters
  3. Save
  4. The promo code is immediately active (if isActive: true)

How a player applies a promo code

  1. During wallet top-up or purchase — a promo code input field is shown
  2. The player enters the code → the system checks:
    • The code exists
    • It is active (isActive: true)
    • It has not expired (expiresAt)
    • The usage limit has not been reached (maxUses)
    • Cart ≥ minCartMinor
  3. If everything is valid — the discount / bonus is applied

Creator codes (referral program)

A creator code is a promo code linked to a content creator (streamer, blogger). The store owner receives a percentage of purchases made with this code.

Status: 🚧 in development (Phase 4)

Planned mechanics:

  • The streamer receives a unique code (e.g. STREAMER123)
  • A player enters the code → the streamer earns a % of the purchase
  • Revenue share is configured by the store owner
  • CreatorAttribution is recorded on the order

Next steps