Appearance
Webhook Events
FAST dispatches webhooks for all state changes. Each webhook is signed with HMAC-SHA256 and delivered to the tenant's configured webhook URL.
Payload Structure
Every webhook follows this format:
json
{
"eventId": "uuid",
"eventType": "event.type",
"userId": "user-id",
"timestamp": "2026-01-15T10:00:00.000Z",
"data": {}
}Verification
Verify the X-Webhook-Signature header:
HMAC-SHA256(webhookSecret, requestBody) === X-Webhook-SignatureHMAC the raw body bytes as received, not a re-serialised object. For 48 hours after a secret rotation, X-Webhook-Signature-Previous carries the signature made with the old secret; accept either. Every attempt also carries X-Event-Id (the body's eventId) and User-Agent: FAST-Webhook/1.0. See Rotating the secret. Respond with a 2xx quickly; timeouts, the retry schedule and deduplication are covered in Webhook Handling.
Challenge Events
challenge.activated
A new challenge was purchased and is now active.
json
{
"data": {
"challengeId": "uuid",
"challengeTierId": "uuid",
"ownStake": 100.00,
"bonusAmount": 900.00,
"startingBalance": 1000.00,
"targetBalance": 2000.00,
"expiresAt": "2026-02-04T10:00:00.000Z"
}
}challenge.passed
User met all challenge conditions (target balance, minimum bets, minimum active days). The challenge now waits in passed_pending_choice for the user to continue or refund their own stake; see User Progress.
json
{
"data": {
"challengeId": "uuid",
"programBalance": 2000.00,
"refundableOwnStake": 100.00
}
}challenge.completed
The user chose to continue after passing. The Reward Account is created (a funded_account.activated follows).
json
{
"data": {
"challengeId": "uuid",
"finalBalance": 2000.00
}
}challenge.failed
Challenge ended without completion.
json
{
"data": {
"challengeId": "uuid",
"reason": "expired"
}
}Possible reason values: expired, max_drawdown_exceeded, insufficient_active_days (the time ran out with the target reached but too few active days).
challenge.cancelled
The user cancelled an active (or passed, not yet chosen) challenge. No refund is issued: the own stake is forfeited and the bonus voided.
json
{
"data": {
"challengeId": "uuid",
"ownStakeForfeited": 100.00,
"bonusVoided": 900.00,
"finalBalance": 870.00
}
}challenge.stake_refunded
The user exited after passing instead of continuing. Refund ownStake to the user.
json
{
"data": {
"challengeId": "uuid",
"ownStake": 100.00
}
}challenge.bonus_voided
Sent alongside a stake refund (challenge or funded phase): the bonus is void.
json
{
"data": {
"challengeId": "uuid",
"bonusAmount": 900.00
}
}challenge.expiring_soon
Challenge expires within 24 hours. Sent once per challenge.
json
{
"data": {
"challengeId": "uuid",
"hoursRemaining": 18,
"currentBalance": 85.00,
"targetBalance": 100.00,
"betsPlaced": 30,
"activeDays": 8
}
}Funded Account Events
funded_account.activated
Funded account created after the user chooses to continue. rewardsApplied is present only when rewards were consumed at creation.
json
{
"data": {
"fundedAccountId": "uuid",
"fundedAmount": 5000.00,
"challengeId": "uuid",
"profitSplitPercent": 80,
"payoutCapPercent": null,
"rewardsApplied": []
}
}funded_account.payout_requested
A payout request is waiting for the operator's decision (POST /v1/admin/payout-requests/:id/confirm or /reject). The account takes no new bets until it is decided. amount is the user's share, grossAmount what will leave the balance, operatorShare the difference. isMandatory is true when FAST created the request on its own: the mandatory payout once gross profit reaches the tier's fundedMandatoryPayoutAmount, or the final payout of a closing account. isFinal is true when it is the account's last allowed payout, or the final payout of a closing account.
A server-key withdraw that executes at once sends this event and funded_account.payout together, from one transaction. One that is refused (400, such as open_bets on the last payout) sends neither and leaves no request behind.
json
{
"data": {
"fundedAccountId": "uuid",
"payoutRequestId": "uuid",
"amount": 400.00,
"grossAmount": 500.00,
"operatorShare": 100.00,
"isFinal": false,
"isMandatory": false
}
}approval.cancelled
An action you approved through your approval URL did not happen after all, or FAST cannot tell whether your handler ran: undo whatever your handler did for this approvalId (put back a stake you collected, release a reserved payout). Sent when the action failed after your yes (for example the purchase price changed or the account closed in between), and when the approval call itself timed out, failed with an HTTP error or could not reach you. Not sent when you answered approved: false: you already know nothing happened. request is the approval request you were sent, approvalId included.
json
{
"data": {
"approvalId": "uuid",
"type": "purchase",
"reason": "Operator approval timed out (5s)",
"request": { "type": "purchase", "approvalId": "uuid", "userId": "player-123", "purchasePrice": 49.00, "currency": "EUR" }
}
}funded_account.payout_rejected
A pending request was rejected. reason is the operator's text (null when none was given), account_closed when the account ended while the request waited (total drawdown or an admin revocation; a cancellation or stake refund is refused while a request waits), or profit_changed when the operator confirmed it but the payable profit had fallen below it (a void took a win back). No money moved. The account takes new bets again; a closing account that was waiting for this request closes instead when there is nothing left to pay.
json
{
"data": {
"fundedAccountId": "uuid",
"payoutRequestId": "uuid",
"amount": 400.00,
"reason": "profit_changed"
}
}funded_account.payout
Payout executed from a funded account. grossAmount left the balance; userPayout is the user's profit split of it and operatorShare the rest. On the first payout, the user's own stake is returned alongside the profit share (ownStakeReturned > 0). Subsequent payouts set it to 0. rewardBonus is what the user's payout_bonus_percent rewards add on top (0 if none); pay totalPayout = userPayout + ownStakeReturned + rewardBonus. All figures are before any tax, which is the operator's matter. When accountClosed is true, this was the account's last payout and the account is closed: the last allowed one, or the final payout of a closing account. isMandatory is true for a payout FAST created on its own (the mandatory payout, or the final payout of a closing account).
json
{
"data": {
"fundedAccountId": "uuid",
"payoutRequestId": "uuid",
"userPayout": 400.00,
"grossAmount": 500.00,
"ownStakeReturned": 100.00,
"rewardBonus": 0,
"totalPayout": 500.00,
"operatorShare": 100.00,
"newBalance": 5350.00,
"forfeitedProfit": 0,
"accountClosed": false,
"isMandatory": false
}
}forfeitedProfit is the share a cap kept from the last payout, which can no longer be paid once the account ends; otherwise 0. A payout takes only its gross amount off the balance and the rest stays on it.
funded_account.revoked
Funded account ended by its total drawdown, by the user, or by an admin. The end of the account's lifetime and inactivity do not revoke it: they close it with a final payout (see funded_account.closing).
json
{
"data": {
"fundedAccountId": "uuid",
"reason": "funded_drawdown_exceeded",
"finalBalance": 4400.00,
"debtWrittenOff": 0
}
}reason is funded_drawdown_exceeded, voluntary_cancellation, or, for an admin revocation, the reason the admin gave (default manual_admin_revoke). No profit is held apart from the balance, so whatever was on it ends with the account, as finalBalance. debtWrittenOff is any payout debt still open, now written off (see funded_account.payout_debt). A payout request still pending is rejected first, with a funded_account.payout_rejected.
funded_account.inactivity_warning
The funded account will close for inactivity soon. Sent 7 days and 1 day before, on a tier with fundedInactivityDays set (30 on the Standard program). New activity starts the count again. daysLeft is 7 or 1; closesAt is when the account starts closing if nothing happens before then.
json
{
"data": {
"fundedAccountId": "uuid",
"closesAt": "2026-12-01T10:00:00.000Z",
"daysLeft": 7,
"inactivityDays": 30
}
}funded_account.closing
The funded account started closing: its lifetime is over (reason: "expired", fundedDurationDays after it opened, 180 on the Standard program) or it was inactive for fundedInactivityDays (reason: "inactivity"). It takes no new tickets (account_closing); open ones settle. A payout request already pending is decided first. Then the profit left goes in a final payout (funded_account.payout_requested with isFinal and isMandatory true), and executing it closes the account (funded_account.payout with accountClosed: true). With no profit left, funded_account.closed ends it instead.
json
{
"data": {
"fundedAccountId": "uuid",
"reason": "expired"
}
}funded_account.closed
A closing funded account closed with no profit to pay. reason is the closing reason (expired or inactivity), finalBalance the balance it ended with, forfeitedProfit the share a lifetime payout cap kept back (otherwise 0), and debtWrittenOff any payout debt still open, now written off (otherwise 0). When there is profit to pay, this event is not sent: the final payout's funded_account.payout with accountClosed: true ends the account.
json
{
"data": {
"fundedAccountId": "uuid",
"reason": "inactivity",
"finalBalance": 2000.00,
"forfeitedProfit": 0,
"debtWrittenOff": 0
}
}funded_account.payout_debt
A void took back a win after a payout was executed, and the balance fell below the funded amount. The shortfall, at most what the payouts took out, is the payout debt: profit already paid on a result that no longer stands. Nothing is clawed back. The account is not breached or revoked; later profit repays the debt before any new payout opens, and if the account ends first the rest is written off (debtWrittenOff). A reconciliation flag is raised as for any reversal. On an account that has already ended, the shortfall goes straight to debtWrittenOff.
json
{
"data": {
"fundedAccountId": "uuid",
"externalBetId": "bet-123",
"reversedAmount": 500.00,
"debtAdded": 400.00,
"payoutDebt": 400.00,
"debtWrittenOff": 0,
"balance": 1600.00,
"fundedAmount": 2000.00,
"accountStatus": "active"
}
}funded_account.stake_refunded
Own stake refunded during the funded phase (tiers with fundedStakeRefundable). Refund ownStake to the user. A challenge.bonus_voided is sent with it.
json
{
"data": {
"fundedAccountId": "uuid",
"ownStake": 100.00
}
}Cooldown Events
cooldown.triggered
The visible balance fell through the session stop (the ruleset's dailyDrawdownPercent below the session base) and new tickets are paused. expiresAt is when the pause ends: cooldownDurationHours later, or the operator's next local midnight when that is null. See Session stop.
json
{
"data": {
"challengeId": "uuid",
"fundedAccountId": null,
"reason": "daily_drawdown_exceeded",
"expiresAt": "2026-10-30T00:00:00.000Z"
}
}cooldown.lifted
Cooldown period ended. User can place bets again. Exactly one of challengeId and fundedAccountId is set.
json
{
"data": {
"challengeId": "uuid",
"fundedAccountId": null,
"reason": "cooldown_duration_expired"
}
}Bet Events
bet.validation_result
Sent for every placed bet with its validation outcome.
json
{
"data": {
"userId": "user-001",
"betId": "BET-12345",
"status": "rejected",
"reasonCodes": ["max_stake_exceeded"]
}
}betId is your externalBetId. status is accepted or rejected; see Rejection Codes.
Wagering Bonus Events
bonus.activated
A wagering bonus was activated for a user. Every bonus amount is in EUR, whole cents, like every other amount FAST sends.
json
{
"data": {
"bonusId": "uuid",
"offerId": "uuid",
"offerName": "Weekend Reload",
"bonusAmount": 25.00,
"wageringTarget": 500.00,
"expiresAt": "2026-02-15T00:00:00.000Z"
}
}bonus.progress
Wagering progress updated (sent when a milestone is crossed, not every bet).
json
{
"data": {
"bonusId": "uuid",
"wageredSoFar": 250.00,
"wageringTarget": 500.00,
"progress": 0.5,
"milestone": 50
}
}bonus.completed
User fulfilled wagering requirements. Bonus reward released.
json
{
"data": {
"bonusId": "uuid",
"bonusAmount": 25.00,
"totalWagered": 510.00,
"completedAt": "2026-02-10T14:30:00.000Z"
}
}bonus.forfeited
Bonus was forfeited.
json
{
"data": {
"bonusId": "uuid",
"reason": "withdrawal"
}
}reason says why the bonus ended:
reason | When |
|---|---|
withdrawal | An executed funded payout, or a withdrawal you report with POST /v1/users/:userId/withdrawal-event, forfeited the user's active bonuses whose offer has forfeitOnWithdrawal set. |
cancelled | You cancelled it with POST /v1/admin/bonuses/:id/cancel. The bonus status is cancelled. |
Each bonus ends once, so this event is sent at most once per bonus. Cancelling a bonus that has already ended sends nothing.
bonus.expired
Bonus expired before completion.
json
{
"data": {
"bonusId": "uuid",
"wageredSoFar": 300.00,
"wageringTarget": 500.00,
"progress": 0.6
}
}Mission Events
In every mission event missionId is the user's enrolment in the mission (one attempt of it), the same id from mission.enrolled to mission.completed or mission.expired. missionTemplateId is the mission you created. A repeatable mission gives each attempt its own missionId.
mission.enrolled
User enrolled in a mission: by their first qualifying bet (auto), by joining (opt in), by the operator (targeted), or because the previous attempt of a repeatable mission completed. attempt counts from 1.
json
{
"data": {
"missionId": "uuid",
"missionTemplateId": "uuid",
"missionName": "Weekend Warrior",
"attempt": 1,
"target": 10,
"endsAt": "2026-01-22T00:00:00.000Z"
}
}mission.progress
Mission crossed 50% of its target (sent once per attempt).
json
{
"data": {
"missionId": "uuid",
"missionTemplateId": "uuid",
"missionName": "Weekend Warrior",
"progress": 5,
"target": 10,
"percent": 50
}
}mission.completed
User completed a mission. The reward is the one granted, read from the stored reward: rewardValue is EUR with at most 2 decimals for money types (balance_bonus, purchase_discount_fixed, free_bet, bonus_credit, cashback_credit), otherwise a percent, days or points. rewardId is the reward in reward.granted. When the mission pays nothing, or the grant failed, rewardId is null and rewardValue is 0.
json
{
"data": {
"missionId": "uuid",
"missionTemplateId": "uuid",
"missionName": "Weekend Warrior",
"rewardId": "uuid",
"rewardType": "balance_bonus",
"rewardValue": 10.00
}
}mission.expired
Mission expired before completion.
json
{
"data": {
"missionId": "uuid",
"missionTemplateId": "uuid",
"missionName": "Weekend Warrior"
}
}Tournament Events
tournament.started
A tournament transitioned from upcoming to active. A tournament created with a start in the past is born active and sends this event once, from the create call. Tournament-wide events (started, settled, cancelled) carry an empty top-level userId.
json
{
"data": {
"tournamentId": "uuid",
"name": "Weekly High Roller"
}
}tournament.user_joined
A user joined a tournament.
json
{
"data": {
"tournamentId": "uuid",
"tournamentName": "Weekly High Roller"
}
}tournament.user_invited
A user was invited to a tournament (invite-mode).
json
{
"data": {
"tournamentId": "uuid",
"tournamentName": "Weekly High Roller",
"userId": "user-001"
}
}tournament.settled
Tournament ended and prizes distributed.
json
{
"data": {
"tournamentId": "uuid",
"name": "Weekly High Roller",
"totalEntries": 128
}
}tournament.cancelled
An upcoming or active tournament was cancelled by an admin.
json
{
"data": {
"tournamentId": "uuid"
}
}Loyalty Events
loyalty.tier_upgraded
User promoted to a higher loyalty tier.
json
{
"data": {
"newTier": "Gold",
"newTierLevel": 3,
"currentPoints": 5200
}
}loyalty.tier_downgraded
User moved to a lower tier: their points stayed below the tier's minimum for the configured grace period (demotionGraceDays, 0 means at once). newTier and newTierLevel are null when the points are below every tier.
json
{
"data": {
"previousTier": "Gold",
"previousTierLevel": 3,
"newTier": "Silver",
"newTierLevel": 2,
"currentPoints": 800
}
}loyalty.cashback_settled
A period's cashback was settled: everything the user accrued before the start of the current period (the operator's local midnight of the day, the Monday or the 1st, by cashbackSettleMode). Sent once per user per period; credit amount to the user.
json
{
"data": {
"amount": 15.50
}
}Achievement and Reward Events
achievement.earned
User earned an achievement. When earned automatically:
json
{
"data": {
"achievementCode": "first_win",
"achievementName": "First Win",
"triggerEvent": "challenge_completed"
}
}When granted by an admin, data carries achievementId instead (and userId on a single grant).
reward.granted
A reward was granted to the user (from achievement, rule, or manual grant).
json
{
"data": {
"rewardId": "uuid",
"rewardType": "balance_bonus",
"rewardValue": 25,
"applyMode": "auto",
"expiresAt": "2026-02-15T00:00:00.000Z",
"achievementId": "uuid"
}
}reward.applied
A reward was consumed during purchase, at funded-account creation, or applied to an active account. When applied to an active account:
json
{
"data": {
"rewardId": "uuid",
"rewardType": "balance_boost_percent",
"rewardValue": 10,
"appliedTo": "challenge-uuid",
"effect": "+10% balance boost: +5.00 EUR on challenge"
}
}When consumed at purchase or funded-account creation, data has appliedTo, context (challenge_purchase, funded_account_creation or payout), a rewards array of { rewardId, rewardType, rewardValue, effect }, and the adjusted terms (adjustedStartingBalance, purchaseDiscount, adjustedDurationDays, or adjustedProfitSplit, adjustedPayoutCap, or for payout the payoutBonus in EUR, with appliedTo the payout request id).
reward.expired
A pending reward expired before being claimed or consumed.
json
{
"data": {
"rewardId": "uuid",
"rewardType": "purchase_discount_percent"
}
}Self-Exclusion Events
user.self_excluded
User self-excluded from the platform. excludedBy is the admin's email, or api-key when recorded with a server key. reason defaults to self_exclusion; expiresAt is null for a permanent exclusion.
When the player holds the panic button in the widget (POST /v1/users/:userId/panic-lock), reason is panic_button, excludedBy is player and expiresAt is 24 hours later. FAST refuses the player's purchases and new bets until then; lock the player's sportsbook account for the same time. A press while a longer or permanent exclusion stands changes nothing and sends no event.
json
{
"data": {
"reason": "panic_button",
"excludedBy": "player",
"expiresAt": "2026-12-01T21:00:00.000Z"
}
}json
{
"data": {
"reason": "self_exclusion",
"excludedBy": "compliance@operator.com",
"expiresAt": "2026-07-15T00:00:00.000Z"
}
}user.self_exclusion_lifted
An admin lifted the exclusion (DELETE /v1/admin/self-exclusion/:userId). An exclusion that reaches its expiresAt simply stops applying and sends no event.
json
{
"data": {
"reinstatedBy": "compliance@operator.com"
}
}Daily Export
Not an event in the delivery log: when a production tenant enables the daily export with an export webhook URL (PUT /v1/admin/settings/export), FAST POSTs the previous UTC day's summary and transactions at 00:15 UTC. A day with no activity sends nothing. It is signed like every other webhook (X-Webhook-Signature, plus X-Webhook-Signature-Previous during a rotation) and carries X-Event-Id: daily_export:<tenantId>:<date>, the same for a tenant and day. It is sent once, with a 30 second timeout, and not retried; the file stays downloadable with GET /v1/admin/settings/export/download.
json
{
"event": "daily_export",
"date": "2026-10-28",
"summary": {
"tenantId": "uuid",
"tenantName": "Operator",
"date": "2026-10-28",
"currency": "EUR",
"challengesPurchased": { "count": 3, "totalRevenue": 300.00 },
"betsPlaced": { "count": 120, "totalStake": 2400.00 },
"betsSettledWon": { "count": 50, "totalPayout": 1900.00 },
"betsSettledLost": { "count": 60, "totalStake": 1200.00 },
"betsVoided": { "count": 2 },
"withdrawals": { "count": 1, "userPayout": 400.00, "operatorShare": 100.00 },
"challengesCompleted": 1,
"challengesFailed": 2,
"fundedAccountsActivated": 1,
"fundedAccountsRevoked": 0,
"netFastRevenueShare": 30.00,
"generatedAt": "2026-10-29T00:15:02.000Z",
"downloadUrl": "https://..."
},
"transactions": [
{ "timestamp": "2026-10-28T09:12:00.000Z", "type": "bet_placed", "userId": "player-42", "referenceId": "BET-1", "amount": 20.00, "currency": "EUR", "details": "..." }
],
"generatedAt": "2026-10-29T00:15:02.000Z"
}A transaction type is one of challenge_purchase, bet_placed, bet_settled_won, bet_settled_lost, bet_voided, withdrawal, challenge_completed, challenge_failed, funded_activated, funded_revoked.
Event Type Reference
| Event Type | Category | Description |
|---|---|---|
challenge.activated | Challenge | New challenge purchased |
challenge.passed | Challenge | Challenge passed; user must choose continue or refund |
challenge.completed | Challenge | User continued; challenge completed and reward account created |
challenge.failed | Challenge | Challenge ended without completion |
challenge.cancelled | Challenge | User cancelled; no refund |
challenge.expiring_soon | Challenge | Expires within 24h |
challenge.stake_refunded | Challenge | User exited after passing; own stake to be refunded by the operator |
challenge.bonus_voided | Challenge | Bonus voided (on refund) |
funded_account.activated | Funded | Account created after the user continues |
funded_account.payout_requested | Funded | Payout request waiting for the operator's decision |
funded_account.payout_rejected | Funded | Pending payout request rejected |
approval.cancelled | Approval | An approved action did not happen, or the approval call failed: undo it |
funded_account.payout | Funded | Payout executed |
funded_account.revoked | Funded | Account ended (drawdown, cancellation, admin) |
funded_account.inactivity_warning | Funded | Account closes for inactivity in 7 days or 1 day |
funded_account.closing | Funded | Account started closing (lifetime over or inactive) |
funded_account.closed | Funded | Closing account closed with no profit to pay |
funded_account.payout_debt | Funded | A void after a payout left a debt that later profit repays |
funded_account.stake_refunded | Funded | Own stake refunded during the reward account phase |
cooldown.triggered | Cooldown | Session stop hit: new tickets paused |
cooldown.lifted | Cooldown | Cooldown period ended |
bet.validation_result | Bet | Placed bet accepted or rejected |
bonus.activated | Bonus | Wagering bonus started |
bonus.progress | Bonus | Wagering progress updated |
bonus.completed | Bonus | Wagering requirements met |
bonus.forfeited | Bonus | Bonus forfeited by a withdrawal or cancelled by you (reason) |
bonus.expired | Bonus | Bonus expired |
mission.enrolled | Mission | User enrolled in mission |
mission.progress | Mission | Mission passed 50% of target |
mission.completed | Mission | Mission completed |
mission.expired | Mission | Mission expired |
tournament.started | Tournament | Tournament went active |
tournament.user_joined | Tournament | User joined tournament |
tournament.user_invited | Tournament | User invited (invite-mode) |
tournament.settled | Tournament | Prizes distributed |
tournament.cancelled | Tournament | Tournament cancelled |
loyalty.tier_upgraded | Loyalty | User promoted |
loyalty.tier_downgraded | Loyalty | User demoted |
loyalty.cashback_settled | Loyalty | Cashback credited |
achievement.earned | Achievement | Achievement unlocked |
reward.granted | Reward | Reward given to user |
reward.applied | Reward | Reward consumed/applied |
reward.expired | Reward | Reward expired unclaimed |
user.self_excluded | Self-Exclusion | User self-excluded |
user.self_exclusion_lifted | Self-Exclusion | Exclusion lifted by an admin |