Skip to content

Bonuses Guide ​

Wagering bonuses with playthrough requirements. Users receive a bonus amount and must wager a multiple of it before it's unlocked.

Works standalone: no challenge or funded account required.


How It Works ​

  1. Operator creates bonus offers in the backoffice
  2. A user activates an offer, your backend activates it on a deposit, or an operator grants it
  3. Every qualifying bet contributes stake toward the wagering target
  4. On completion (target met), bonus.completed webhook fires
  5. If you report a sportsbook withdrawal and the offer has forfeitOnWithdrawal, the bonus is forfeited

Deployment Modes ​

ModeDescription
Challenges + BonusesBonus wagering runs alongside challenge progress
Bonuses onlyPure wagering bonuses. Decoupled from challenges entirely.

Bonus Offer Fields ​

Money fields are EUR with at most 2 decimals (whole cents).

FieldRequiredDefaultDescription
nameYesDisplay name ("Welcome 100% Match")
descriptionNoLonger text for the offer
bonusTypeYesdeposit_match, free_bet, no_deposit, cashback or reload. Cannot be changed later
maxBonusAmountYesMost bonus in EUR. For non-match types this is the bonus amount
matchPercentNo100Match percentage for deposit_match and reload, 1 to 1000 (100 = 100% match)
wageringMultiplierNo8Times the bonus must be wagered, whole number 0 to 100
minOddsNo1.50Minimum decimal odds for a bet to count, 1 to 1000 (1 = no minimum)
maxBetFromBonusNoMost of a single stake that counts toward wagering, in EUR
excludedMarketsNoMarket identifiers whose bets never count
durationDaysNo30Days the bonus stays active after activation, 1 to 3650
minQualifyingDepositNoMinimum deposit in EUR. An offer with a minimum is deposit based: only the operator activates it
maxActivationsNounlimitedTotal activations across all users
maxPerUserNo1Activations per user, 1 to 1000
stackableNofalseIf true, the bonus may run beside other active bonuses
forfeitOnWithdrawalNotrueIf true, a reported withdrawal forfeits the bonus
enabledNotrueCreate with false to prepare an offer unseen
startsAt / endsAtNoISO 8601 window in which the offer can be activated
sortOrderNo0Display order, lower first

Bonus Types ​

TypeBonus amount
deposit_matchmatchPercent of the deposit, rounded down to the cent and capped at maxBonusAmount. 100% on a 50 EUR deposit = 50 EUR
reloadSame calculation as deposit_match. FAST does not check that it is not the first deposit: offer it only when it fits
free_betmaxBonusAmount
no_depositmaxBonusAmount
cashbackmaxBonusAmount. FAST does not compute it from losses: grant it with the amount you want as the offer's maxBonusAmount

Wagering Mechanics ​

  • Target = bonus amount * wageringMultiplier
  • Only accepted bet placements count, with odds >= minOdds and a market not in excludedMarkets
  • Contribution = min(stakeAmount, maxBetFromBonus) per bet
  • Progress is cumulative (doesn't reset on loss)
  • A voided bet takes its stake back out of an active bonus. If the bonus was already completed with that stake, it stays completed and FAST opens a reconciliation flag for you to review
  • A user may hold one non-stackable bonus at a time. A stackable offer can be activated beside other bonuses

Activation errors ​

Activation answers 409 with one of these codes:

CodeMeaning
offer_not_foundNo enabled offer with that id
offer_not_yet_activeBefore startsAt
offer_expiredAfter endsAt
max_per_user_reachedThe user used up maxPerUser
max_activations_reachedThe offer used up maxActivations
active_bonus_existsThe offer is not stackable and the user already has an active bonus
deposit_requiredA deposit based offer activated with no deposit
deposit_below_minimumThe deposit is below minQualifyingDeposit
bonus_amount_zeroThe bonus works out to 0

API Reference ​

Operator (admin) ​

MethodEndpointPurpose
GET/v1/admin/bonus-offersList all offers
POST/v1/admin/bonus-offersCreate an offer
PUT/v1/admin/bonus-offers/:idUpdate an offer
DELETE/v1/admin/bonus-offers/:idDisable an offer (it is kept, answers disabled: true)
GET/v1/admin/bonusesList user bonuses (userId, status, offerId, limit up to 200, offset)
POST/v1/admin/bonuses/:id/cancelCancel an active bonus. Returns { cancelled: true } and sends bonus.forfeited with reason cancelled. A bonus that is not active returns { cancelled: false } and sends nothing
POST/v1/admin/bonuses/grantGrant an offer to a user: { userId, bonusOfferId, depositAmount? }
GET/v1/admin/bonuses/statsactiveCount, completionRate30d, totalOutstanding, avgProgress

Public (widget key) ​

MethodEndpointPurpose
GET/v1/users/:userId/bonusesactive, available and completed. An available offer carries activatedOnDeposit when only the operator can activate it
POST/v1/users/:userId/bonuses/activateActivate an available offer that needs no deposit

Who activates a deposit offer ​

Only your backend knows a deposit happened, so only your backend can name one. A deposit-based offer (deposit_match, reload, or any offer with a minQualifyingDeposit) is activated by your server, with the server key, when the player deposits: call POST /v1/users/:userId/bonuses/activate with the real depositAmount in EUR, whole cents (300.50). An amount with a third decimal is refused with 400 validation_error. The deposit must meet minQualifyingDeposit.

  • A widget user token that sends depositAmount gets 403 deposit_from_operator_only.
  • A deposit-based offer activated with no deposit gets 409 deposit_required.
  • A deposit below the minimum gets 409 deposit_below_minimum.

The widget shows a deposit-based offer with the note that the operator activates it on a deposit, and no activate button. POST /v1/admin/bonuses/grant is the manual override: it may grant a minimum-deposit offer with no deposit. A match offer granted with no deposit matches nothing and is refused.

Withdrawal notification ​

MethodEndpointPurpose
POST/v1/users/:userId/withdrawal-eventReport a sportsbook withdrawal: { amount, currency }. Returns processed and bonusesForfeited

SDK Usage ​

typescript
const offers = await fast.admin.bonuses.listOffers();
await fast.admin.bonuses.createOffer({
  name: 'Welcome 100%',
  bonusType: 'deposit_match',
  matchPercent: 100,
  maxBonusAmount: 50,
  wageringMultiplier: 8,
  durationDays: 30,
});

// Activate for user when they deposit (server key, EUR)
await fast.admin.bonuses.activate('player-42', offerId, 50); // 50 EUR deposit

// Notify withdrawal (triggers forfeit if applicable)
await fast.users.notifyWithdrawal('player-42', 100, 'EUR');

Webhook Events ​

EventWhen
bonus.activatedBonus started for user
bonus.progressWagering passed 25%, 50% or 75% of the target
bonus.completedWagering requirement met
bonus.forfeitedBonus ended early: reason is withdrawal (a withdrawal forfeited it) or cancelled (you cancelled it)
bonus.expiredTime expired before completion

BLACKLINE CONSULTING d.o.o.