Top-up promo codes
Create a code that adds a bonus to a balance top-up, limit it by date, number of uses, amount and roles, and see how it worked out in the invoice.
By the end you have a code like SUMMER: a player types it in the top-up window and gets a percentage or a fixed amount on top of the balance. A promo code works only on balance top-ups; discounts on items are set up in the products section.
You need the admin.payments permission. For players to top up at all, connect a payment provider first.

Create a promo code
Open the form
Click "Add promo code". In "Promo code" 1 type the word a player enters when topping up, for example SUMMER. Two identical codes cannot exist.

Choose the bonus
Under "What the player gets" 2 choose "A percentage of the top-up" or "A fixed amount" and fill in "Bonus size". A percentage is taken from the amount credited to the balance and goes from 0.01 to 100. A fixed amount is given in site balance units.
Set the limits
Open "More options" 3 if the code is not for everyone or not forever. The fields are in the table below. Click "Add promo code" 4.
| Field | If empty | What it sets |
|---|---|---|
| How many times it works in total | no limit | how many paid top-ups with this code the whole site may have |
| How many times for one player | once | how many times one player may use the code |
| Minimum top-up | any amount | how many balance units the player must receive for the code to work. An amount in the payment currency is converted at the rate |
| Valid until | never expires | date and time in the site time zone after which the code is refused |
| Who can use it | every player | roles the code is allowed for. One of them is enough |
How a player enters the code
In the top-up window the player clicks "Have a promo code?", types the code and clicks "Apply". The window checks the code at once, shows a chip like SUMMER · +10% and recounts what reaches the balance. The cross on the chip removes the code.
If the code does not fit, the player sees why under the field: "Promo code expired", "You have already used this promo code", "Promo code requires minimum amount of …". The full list is in the reference below.
What happens on payment
When the payment provider confirms the payment, the site checks the code again. If the code expired or ran out of uses in the meantime, the top-up is credited without the bonus and the payment itself is not lost. A use counts only on a paid invoice, so an abandoned checkout does not spend the limit.
The promo bonus adds up with the provider's "Bonus". In the invoice card, the "Promo code" row of the Payment block shows which code the invoice had. "Credited to balance" there shows the top-up amount without the promo bonus.
The list of codes
The "Bonus" column reads +10% or +500 FC. "Uses left" shows what remains of the total limit or "Unlimited", and "Last 30 days" counts uses over the month. "Status" is "Active", "Expired" or "Depleted".
Search looks up the code, and the "Type" filter keeps percentage or fixed codes. Click a row to edit a code. Tick several rows to delete them at once.
Troubleshooting
For any other message, use the error lookup.
Enter a percentage from 0.01 to 100.
A percentage above 100 cannot be saved: the site would refuse such a top-up anyway. For a bonus bigger than the top-up itself, choose "A fixed amount".
Promo code already exists.
A code with that word is already in the list. Find it with search and edit it, or pick another word.
Reference
| Message | Reason |
|---|---|
| Promo code not found | no such code |
| Promo code expired | the "Valid until" date has passed |
| Promo code usage limit reached | "How many times it works in total" is used up |
| You have already used this promo code | the player already topped up with this code and "How many times for one player" is empty |
| You have reached the usage limit for this promo code | "How many times for one player" is used up |
| Promo code requires minimum amount of … | the amount is below "Minimum top-up" converted to the payment currency |
| You don't have permission to use this promo code | the player has none of the roles in "Who can use it" |
A guest topping up someone else's account sees "Promo code is invalid" instead of the reasons about roles and past uses, so a code reveals nothing about another account.
A percentage bonus is taken from the amount that reaches the balance after conversion at the rate. For example, a player pays 10 USD, USD has a rate of 90, 900 goes to the balance, and a 10% code adds another 90. A fixed bonus is added as is, in balance units.