Skip to content

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 ​

  1. Create achievements in the backoffice (Achievements page)
  2. Users earn them automatically when criteria are met
  3. Widget badges tab shows earned + locked with progress bars
  4. 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 ​

FieldRequiredDescription
codeYesYour unique key ("streak_7")
nameYesDisplay name
descriptionNoShown in the widget
iconNoIcon name (default trophy)
categoryNogeneral, streak, volume, profit or milestone
criteriaYes{ "type": "<type>", "threshold": <number> }
pointsNoPoints toward the user's level (default 0)
rewardNoLinked 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> }

TypeWhat it measuresThresholdExample use
bets_placedTotal accepted bets (all time)Count"Place 10 bets"
bet_countSame as bets_placedCount
bets_wonTotal won betsCount"Win 5 bets"
streak_daysCurrent consecutive active days (your operator days)Days"7-day streak"
longest_streakBest streak ever achievedDays"Achieve a 14-day streak at some point"
challenges_completedCompleted challengesCount"Complete your first challenge"
challenges_failedFailed challengesCount"Fail 3 challenges (resilience badge)"
first_withdrawalHas ever withdrawn1 (boolean)"Make your first payout"
total_wageredCumulative stakeEUR, whole cents"Wager 500 EUR total"
odds_aboveHighest odds ever placedDecimal odds"Place a bet at 5.0+ odds"
odds_won_aboveHighest odds of a winning slipDecimal odds"Win a slip at 5.0+ odds"
win_streakWinning 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_daysBetting days since the last session stop pauseDays"Bet on 8 days without a pause"
active_daysTotal distinct days with betsDays"Be active for 10 days"
funded_accountHas earned a funded account1 (boolean)"Earn a reward account"
win_rateWin percentage (requires 10+ bets)Percentage (0 to 100)"Maintain 60%+ win rate"
total_profitTotal withdrawn profit in EUREUR amount"Earn 1000 EUR in payouts"
comebackFailed N challenges and completed at least oneFailures 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) ​

MethodEndpointPurpose
GET/v1/admin/achievementsList all achievement definitions
POST/v1/admin/achievementsCreate achievement (with optional linked reward)
PUT/v1/admin/achievements/:idUpdate achievement
DELETE/v1/admin/achievements/:idDelete achievement (409 achievement_in_use if users have earned it)
GET/v1/admin/users/:userId/achievementsView user's earned achievements
POST/v1/admin/users/:userId/achievementsManually grant: { achievementId, metadata? } (409 already_earned)
POST/v1/admin/achievements/bulk-grantGrant to 1 to 500 users

Achievement fields ​

FieldCreateUpdateDescription
codeRequiredFixedUnique code within your tenant
nameRequiredYesDisplay name
description, iconOptionalYesShown on the badge
categoryOptionalYesgeneral, streak, volume, profit or milestone
criteriaOptionalYes{ type, threshold }, see Criteria Types
pointsOptionalYesPoints added to the user's level
rarityOptionalYescommon (default), rare, epic or legendary. The widget colours the badge by it. Any other value is refused with a 400.
sortOrderOptionalYesOrder of locked badges in the widget, lowest first. Default 0.
enabledOptionalYesDefault true. A disabled achievement is no longer granted.
rewardOptionalFixedLinked 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) ​

MethodEndpointPurpose
GET/v1/users/:userId/achievementsachievements (earned), locked (with progress 0 to 1), streak (current, longest), totalPoints, level
GET/v1/leaderboardTop 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.


"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_days checks current streak, not longest. If user breaks a 10-day streak and rebuilds to 3, it's 3. Days are your operator days.
  • win_rate requires 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 ​

BLACKLINE CONSULTING d.o.o.