Appearance
FAST Achievements Guide
Achievements are the badge and progress system. Users earn badges by hitting milestones, which drives engagement, daily return, and a sense of progression. Achievements are cosmetic (points, levels, streak tracking) but can optionally link to tangible rewards (see Rewards Guide).
Table of Contents
- Quick Start
- Availability
- How It Works
- Achievement Fields
- Criteria Types
- API Reference
- Widget Display
- Cookie Recipes
- Linking to Rewards
- Limitations
Quick Start
- Create achievements in the backoffice (Achievements page)
- Users earn them automatically when criteria are met
- Widget badges tab shows earned + locked with progress bars
- Grant achievements manually from User Lookup (Achievements tab)
No code changes needed on the operator side. It just works.
Availability
Achievements run for every tenant. The widget's badges tab and rewards tab are widget modules, on by default, that FAST support can turn off one by one; turning a tab off only hides it, the engine keeps granting. An achievement without a linked reward is a badge only. Commercially they are part of the Growth and Enterprise plans (see Pricing).
How It Works
Achievements are evaluated automatically on every lifecycle event: bet placed, bet settled, challenge completed, funded account created and withdrawal. Every event checks every enabled, unearned achievement, whatever its criteria type. When a user meets the criteria, the achievement is granted immediately and an achievement.earned webhook fires.
If the achievement has a linked reward, the reward is also granted automatically. If your loyalty program has an achievement_earned point rule, the user also earns those points.
Achievement evaluation never blocks or delays bet processing.
Achievement Fields
| Field | Required | Description |
|---|---|---|
code | Yes | Your unique key ("streak_7") |
name | Yes | Display name |
description | No | Shown in the widget |
icon | No | Icon name (default trophy) |
category | No | general, streak, volume, profit or milestone |
criteria | Yes | { "type": "<type>", "threshold": <number> } |
points | No | Points toward the user's level (default 0) |
reward | No | Linked reward, see Linking to Rewards |
PUT /v1/admin/achievements/:id can change name, description, icon, category, criteria, points and enabled.
Criteria Types
All criteria use the format: { "type": "<type>", "threshold": <number> }
| Type | What it measures | Threshold | Example use |
|---|---|---|---|
bets_placed | Total accepted bets (all time) | Count | "Place 10 bets" |
bet_count | Same as bets_placed | Count | |
bets_won | Total won bets | Count | "Win 5 bets" |
streak_days | Current consecutive active days (your operator days) | Days | "7-day streak" |
longest_streak | Best streak ever achieved | Days | "Achieve a 14-day streak at some point" |
challenges_completed | Completed challenges | Count | "Complete your first challenge" |
challenges_failed | Failed challenges | Count | "Fail 3 challenges (resilience badge)" |
first_withdrawal | Has ever withdrawn | 1 (boolean) | "Make your first payout" |
total_wagered | Cumulative stake | EUR, whole cents | "Wager 500 EUR total" |
odds_above | Highest odds ever placed | Decimal odds | "Place a bet at 5.0+ odds" |
odds_won_above | Highest odds of a winning slip | Decimal odds | "Win a slip at 5.0+ odds" |
win_streak | Winning slips in a row, in the order FAST recorded the results (a loss resets it, a void is skipped) | Count | "Win 5 slips in a row" |
clean_days | Betting days since the last session stop pause | Days | "Bet on 8 days without a pause" |
active_days | Total distinct days with bets | Days | "Be active for 10 days" |
funded_account | Has earned a funded account | 1 (boolean) | "Earn a reward account" |
win_rate | Win percentage (requires 10+ bets) | Percentage (0 to 100) | "Maintain 60%+ win rate" |
total_profit | Total withdrawn profit in EUR | EUR amount | "Earn 1000 EUR in payouts" |
comeback | Failed N challenges and completed at least one | Failures required | "Come back after 3 failures" |
Only bets FAST accepted and that were not voided count. A threshold must be a number of 0 or more; a money threshold has at most 2 decimals.
Days are your calendar days in your operator timezone (set with PUT /v1/admin/settings/timezone, default Europe/Zagreb), the same day the session stop uses. streak_days, longest_streak, clean_days and active_days all count on that day, so a bet at 00:30 Zagreb time counts on that Zagreb day, not on the UTC day before. A streak grows by one on the first bet of each new day and starts again at 1 after a day with no bet.
When Achievements Are Evaluated
Achievements are checked after every accepted bet, settlement, challenge completion, funded account creation, and withdrawal. Evaluation is idempotent: the same achievement is never granted twice to the same user, even under concurrent activity.
API Reference
Operator (backoffice)
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/admin/achievements | List all achievement definitions |
| POST | /v1/admin/achievements | Create achievement (with optional linked reward) |
| PUT | /v1/admin/achievements/:id | Update achievement |
| DELETE | /v1/admin/achievements/:id | Delete achievement (409 achievement_in_use if users have earned it) |
| GET | /v1/admin/users/:userId/achievements | View user's earned achievements |
| POST | /v1/admin/users/:userId/achievements | Manually grant: { achievementId, metadata? } (409 already_earned) |
| POST | /v1/admin/achievements/bulk-grant | Grant to 1 to 500 users |
Achievement fields
| Field | Create | Update | Description |
|---|---|---|---|
code | Required | Fixed | Unique code within your tenant |
name | Required | Yes | Display name |
description, icon | Optional | Yes | Shown on the badge |
category | Optional | Yes | general, streak, volume, profit or milestone |
criteria | Optional | Yes | { type, threshold }, see Criteria Types |
points | Optional | Yes | Points added to the user's level |
rarity | Optional | Yes | common (default), rare, epic or legendary. The widget colours the badge by it. Any other value is refused with a 400. |
sortOrder | Optional | Yes | Order of locked badges in the widget, lowest first. Default 0. |
enabled | Optional | Yes | Default true. A disabled achievement is no longer granted. |
reward | Optional | Fixed | Linked reward, see Linking to Rewards |
rarity and sortOrder come back on GET /v1/admin/achievements and on the user's GET /v1/users/:userId/achievements, which the widget reads.
Public (widget key)
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/users/:userId/achievements | achievements (earned), locked (with progress 0 to 1), streak (current, longest), totalPoints, level |
| GET | /v1/leaderboard | Top challengers by balance (period week, month or all, default week; limit up to 50) |
Widget Display
The widget shows a "Badges" tab with:
- Level indicator (totalPoints / 100, rounded down, + 1)
- Streak card (current + longest)
- Earned badges
- Locked badges with progress bars
Auto-hides if no achievements are configured.
Cookie Recipes
"Get users to come back every day"
json
{ "code": "streak_3", "name": "3-Day Streak", "criteria": { "type": "streak_days", "threshold": 3 }, "points": 40 }
{ "code": "streak_7", "name": "Week Warrior", "criteria": { "type": "streak_days", "threshold": 7 }, "points": 100 }
{ "code": "streak_14", "name": "Unstoppable", "criteria": { "type": "streak_days", "threshold": 14 }, "points": 200 }"Reward the grinders"
json
{ "code": "ten_bets", "name": "Getting Serious", "criteria": { "type": "bets_placed", "threshold": 10 }, "points": 50 }
{ "code": "fifty_bets", "name": "Veteran", "criteria": { "type": "bets_placed", "threshold": 50 }, "points": 100 }
{ "code": "hundred_bets", "name": "Legend", "criteria": { "type": "bets_placed", "threshold": 100 }, "points": 200 }"Encourage bold play"
json
{ "code": "high_odds", "name": "Daredevil", "criteria": { "type": "odds_above", "threshold": 5.0 }, "points": 60 }
{ "code": "mega_odds", "name": "Fearless", "criteria": { "type": "odds_above", "threshold": 10.0 }, "points": 120 }"Celebrate the comeback"
json
{ "code": "never_quit", "name": "Never Quit", "criteria": { "type": "comeback", "threshold": 3 }, "points": 150 }User failed 3 challenges but completed one. The badge says "you have grit."
"Sharp shooter"
json
{ "code": "sharpshooter", "name": "Sharpshooter", "criteria": { "type": "win_rate", "threshold": 60 }, "points": 100 }Requires 10+ bets. Fires when user maintains 60%+ win rate.
Linking to Rewards
Add a reward field to any achievement:
json
{
"code": "streak_7",
"name": "Week Warrior",
"criteria": { "type": "streak_days", "threshold": 7 },
"points": 100,
"reward": {
"type": "balance_bonus",
"value": 10,
"expiresInDays": 30,
"applyMode": "auto"
}
}When the user earns this achievement, a pending reward is automatically created. type is one of the eight challenge coupled reward types (balance_bonus, balance_boost_percent, purchase_discount_percent, purchase_discount_fixed, profit_split_boost, extended_duration, payout_cap_boost_percent, payout_bonus_percent); value has at most 2 decimals, up to 100000 for money, 100 for percent types and 365 days for extended_duration; applyMode is auto or claim (the snake case names expires_in_days and apply_mode are accepted too). See Rewards Guide for full reward documentation.
Limitations
- All criteria are cumulative (all-time). No time-windowed evaluation.
streak_dayschecks current streak, not longest. If user breaks a 10-day streak and rebuilds to 3, it's 3. Days are your operator days.win_raterequires minimum 10 bets before it can trigger (prevents false positives).- Achievement evaluation adds ~20-50ms per lifecycle event. Keep under 50 achievements per tenant.
- Deleting an achievement that users have earned returns 409. Disable it instead (the backoffice does this automatically).
- Disabled achievements are not granted to new users but remain visible in existing users' profiles.
Support
- API docs: https://docs.fundedfast.eu/api/endpoints
- Email: support@fundedfast.eu
- Phone: +385 99 371 341