Skip to content

Redemption Overview ​

Admin generates in bulk → distribute to users → users redeem at /redeem → quota arrives.

What is a redemption code ​

A "voucher". Looks like ABCD-1234-EFGH-5678-... (24 chars).

Each code is bound to:

  • A quota amount (added directly to the user balance)
  • Or a plan (redeeming starts a subscription)
  • Redemption count (default 1)
  • Expiry

Use cases ​

  • New user promotion: send a 50-credit code after sign-up
  • Community: drop codes in a community
  • Customer support: small compensation for an issue
  • Partner channel: bulk codes for the partner to distribute

Three code types ​

When creating in the admin:

TypeWhat the user gets on redeem
Quota codeUser balance += N (converted via QuotaPerUnit)
Plan codeA new Subscription with the plan's duration_days
Free-trial codeInternal "limited free" marker (in development)

Full lifecycle ​

Admin creates in bulk
    │
    ▼
Export (CSV / TXT)
    │
    ▼
Distribute (community / email / event)
    │
    ▼
User enters at /redeem
    │
    ▼
Validate: not expired / not exhausted / not disabled
    │
    ▼
Credit: balance += N or activate subscription

vs. other ways ​

MethodWhat the user getsIssued by
Redemption codeBalance / SubscriptionAdmin backend
Plan orderSubscriptionUser purchases
Top-upBalanceUser purchases

Codes suit "bulk distribution"; orders / top-ups suit "user-initiated purchase".