Appearance
API Endpoints
Base URL: https://api.fundedfast.eu
All authenticated endpoints require the X-API-Key header unless noted otherwise. Admin endpoints accept either a JWT (Authorization: Bearer <token> or the backoffice session cookie) or a server key with the admin scope in X-API-Key (a production key has the integration scope unless FAST changed it, see Authentication); the public widget key is refused. Super admin endpoints require the X-Super-Admin-Key header or a JWT with the fast_admin role.
Core Endpoints (Tenant API Key)
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/challenges/purchase | Purchase a challenge |
| GET | /v1/challenge-tiers | List enabled challenge tiers |
| GET | /v1/challenge-tiers/:id/terms | Get tier terms and conditions |
| POST | /v1/bets/validate | Synchronous bet validation (accept/reject) |
| POST | /v1/bets | Bet event ingestion (placement and settlement) |
| POST | /v1/bets/batch | Batch bet event ingestion (up to 100 per request) |
| GET | /v1/users/:userId/progress | Current challenge or funded account state |
| POST | /v1/users/:userId/challenge/continue | Continue a passed challenge into the reward account |
| POST | /v1/users/:userId/challenge/refund-stake | Exit a passed challenge and refund only the own stake (voids the bonus) |
| POST | /v1/users/:userId/funded/refund-stake | Refund the own stake during the reward account phase (only if the tier allows it) |
| POST | /v1/users/:userId/challenge/cancel | Cancel an active or passed challenge; no refund |
| POST | /v1/users/:userId/funded/cancel | Cancel an active reward account; no refund |
| GET | /v1/users/:userId/history | Past challenges and funded accounts |
| GET | /v1/users/:userId/timeline | Full activity timeline |
| GET | /v1/users/:userId/ruleset | Active ruleset for user |
| GET | /v1/users/:userId/withdrawable | Payout state: gross profit, the user's share, what can be requested now and why not |
| POST | /v1/users/:userId/withdraw | Request a payout of grossAmount (the user is paid their split of it) |
| GET | /v1/users/:userId/payout-requests | The user's payout requests, newest first |
| POST | /v1/users/:userId/withdrawal-event | Record external withdrawal event |
| GET | /v1/users/:userId/achievements | User achievements list |
| GET | /v1/users/:userId/rewards | User pending/claimed rewards |
| POST | /v1/users/:userId/rewards/:rewardId/claim | Claim a reward |
| GET | /v1/users/:userId/bonuses | User active/completed bonuses |
| POST | /v1/users/:userId/bonuses/activate | Activate a bonus offer |
| GET | /v1/users/:userId/missions | User mission progress |
| POST | /v1/users/:userId/missions/:id/join | Join a mission |
| GET | /v1/users/:userId/tournaments | User tournament entries |
| POST | /v1/users/:userId/tournaments/:id/join | Join a tournament |
| GET | /v1/users/:userId/loyalty | User loyalty status (points, tier, cashback) |
| GET | /v1/leaderboard | Public leaderboard |
| GET | /v1/tournaments | Active/upcoming tournaments |
| GET | /v1/tournaments/:id/leaderboard | Tournament leaderboard |
| GET | /v1/loyalty/tiers | Public loyalty tier definitions |
| GET | /v1/widget/config | Widget module configuration for tenant |
| GET | /v1/reconciliation/:userId | Reconciliation data with date range, 1000 bet events a page (limit up to 5000, follow nextCursor) |
| POST | /v1/sse/token | Issue HMAC-signed token for SSE connections |
| GET | /v1/events | Real-time SSE event stream |
Irreversible refunds require confirmation.
POST /v1/users/:userId/challenge/refund-stakeandPOST /v1/users/:userId/funded/refund-stakeboth void the bonus (and, in the reward account phase, forfeit any accrued profit above the funded base). The funded refund is possible only until the first payout, which returns the own stake itself; after it the call answers409 stake_already_returnedand the account stays open. Each requires a JSON body of{ "confirm": true }. A request without it returns400 confirmation_required. The two cancel endpoints take the same body and return the same error.
Money actions require an idempotency key.
POST /v1/users/:userId/withdraw, bothrefund-stakeendpoints,POST /v1/admin/rewards/grant,/v1/admin/rewards/bulk-grantand/v1/admin/loyalty/users/:userId/adjustrequire anX-Idempotency-Keyheader. A grant or adjustment stores its key with the row it makes, so a retry with the same key answers with that row and moves nothing, and the same key with a different request is409 idempotency_conflict; without it they return400 missing_idempotency_key, and503 service_unavailableif the idempotency store is down. The SDK adds the header automatically. See Withdrawals.
Admin Endpoints (JWT or Server Key with the admin scope)
Challenges and Rulesets
| Method | Path | Purpose |
|---|---|---|
| GET/POST | /v1/admin/rulesets | List or create rulesets |
| PUT/DELETE | /v1/admin/rulesets/:id | Update or delete a ruleset |
| GET/POST | /v1/admin/challenge-tiers | List or create challenge tiers |
| PUT/DELETE | /v1/admin/challenge-tiers/:id | Update or delete a challenge tier |
| GET | /v1/admin/overview | Dashboard stats (month-filterable) |
| GET | /v1/admin/users/:userId | User lookup with bets and challenges |
| POST | /v1/admin/challenges/bulk-expire | Force-expire overdue challenges |
Bet Events
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/bet-events | Query bet events (max 200, filter by status and userId; status=placed lists only bets still open) |
| POST | /v1/admin/bet-events/:id/settle | Manually settle a bet |
| POST | /v1/admin/bet-events/bulk-settle | Bulk settle multiple bets |
| GET | /v1/admin/bet-events/export | CSV export of bet events (RFC 4180, UTF-8, ISO 8601 UTC times; a text cell starting with =, +, -, @, tab or CR gets a leading ' so a spreadsheet does not run it as a formula) |
Payouts and Funded Accounts
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/funded-accounts | Every funded account with its virtual figures and payout state, plus a summary over the active ones |
| GET | /v1/admin/funded-accounts/needs-decision | Closing accounts whose final payout was rejected, and accounts that ended with payout debt written off |
| GET | /v1/admin/payout-requests | Payout requests, newest first (filter by status, userId) |
| POST | /v1/admin/payout-requests/:id/confirm | Execute a pending payout request |
| POST | /v1/admin/payout-requests/:id/reject | Reject a pending payout request |
GET /v1/admin/funded-accounts takes status (active by default, closed, revoked or all) and limit (default 200, max 2,000). Nothing in it is money owed until a payout executes: balances, gross profit and the user's share are virtual, summary.payableNow is the share users could request this minute with every condition met, summary.pending is what they have requested, and only summary.executed has been paid. Open bets are reported as open.potentialReturn (stake x odds), not as a liability. The summary always covers every active account, whatever the list filter. See Withdrawals.
Webhooks
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/webhooks | Webhook delivery log |
| GET | /v1/admin/webhooks/health | Webhook delivery health stats |
| POST | /v1/admin/webhooks/:id/retry | Retry failed webhook |
| POST | /v1/admin/webhooks/rotate-secret | Rotate webhook signing secret |
| GET | /v1/admin/webhooks/dead-letters | Dead letter queue |
| POST | /v1/admin/webhooks/dead-letters/:id/replay | Replay dead letter |
| GET | /v1/admin/hooks/dead-letters | Post-bet hook dead letters (gamification/bonus/mission/loyalty accruals) |
| POST | /v1/admin/hooks/dead-letters/:id/replay | Replay a dead-letter hook run |
Adapters
| Method | Path | Purpose |
|---|---|---|
| GET/POST | /v1/admin/adapters | List or create adapter mappings |
| PUT/DELETE | /v1/admin/adapters/:id | Update or delete an adapter mapping |
Settings
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/settings | Operator settings, including timezone |
| GET/PUT | /v1/admin/integration-mode | Integration mode (sync/async) |
| PUT | /v1/admin/exposure-alert | Set exposure alert threshold |
| PUT | /v1/admin/settings/webhook | Update webhook URL |
| PUT | /v1/admin/settings/approval-urls | Purchase/withdrawal approval URLs |
| PUT | /v1/admin/settings/challenge-limit | Operator challenge limit |
| PUT | /v1/admin/settings/currency | Default currency |
| PUT | /v1/admin/settings/settlement-hold | Hours a funded win waits before its profit is payable, { "hours": 0 } to 168 (default 72, 0 on staging) |
| PUT | /v1/admin/settings/timezone | Operator timezone, IANA name (default Europe/Zagreb); 400 on an unknown zone or a bare offset |
| PUT | /v1/admin/settings/export | Daily export configuration. The export webhook is signed like every other webhook (X-Webhook-Signature, X-Event-Id = daily_export:<tenantId>:<date>) |
| GET | /v1/admin/settings/export/download | Download latest export |
| POST | /v1/admin/settings/export/test | Test export delivery |
| PUT | /v1/admin/settings/widget-layout | Widget layout preferences (funded-only mode, history nav) |
Achievements and Rewards
| Method | Path | Purpose |
|---|---|---|
| GET/POST | /v1/admin/achievements | List or create achievement definitions |
| PUT/DELETE | /v1/admin/achievements/:id | Update or delete an achievement definition |
| GET | /v1/admin/users/:userId/achievements | User achievements (admin view) |
| POST | /v1/admin/users/:userId/achievements | Manually grant achievement |
| POST | /v1/admin/achievements/bulk-grant | Bulk grant achievement |
| GET | /v1/admin/rewards | Pending rewards list |
| GET | /v1/admin/rewards/history | Reward application history |
| POST | /v1/admin/rewards/grant | Manually grant reward |
| POST | /v1/admin/rewards/bulk-grant | Bulk grant rewards |
| DELETE | /v1/admin/rewards/:id | Cancel pending reward |
| GET/POST | /v1/admin/reward-rules | List or create automated reward rules |
| PUT/DELETE | /v1/admin/reward-rules/:id | Update or delete a reward rule |
Wagering Bonuses
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/bonus-offers | List bonus offer templates |
| POST | /v1/admin/bonus-offers | Create bonus offer |
| PUT | /v1/admin/bonus-offers/:id | Update bonus offer |
| DELETE | /v1/admin/bonus-offers/:id | Delete bonus offer |
| GET | /v1/admin/bonuses | List active/completed bonuses (all users) |
| POST | /v1/admin/bonuses/grant | Grant bonus to specific user |
| POST | /v1/admin/bonuses/:id/cancel | Cancel active bonus |
| GET | /v1/admin/bonuses/stats | Bonus aggregate statistics |
Missions
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/missions | List mission templates |
| POST | /v1/admin/missions | Create mission template |
| PUT | /v1/admin/missions/:id | Update mission template |
| DELETE | /v1/admin/missions/:id | Disable mission template (the row stays) |
| POST | /v1/admin/missions/:id/enroll | Enroll users in a targeted mission (userIds, at most 500) |
| GET | /v1/admin/missions/:id/stats | Per-mission statistics |
| GET | /v1/admin/missions/stats | Mission aggregate statistics |
Tournaments
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/tournaments | List tournaments |
| POST | /v1/admin/tournaments | Create tournament |
| PUT | /v1/admin/tournaments/:id | Update tournament |
| POST | /v1/admin/tournaments/:id/cancel | Cancel tournament |
| POST | /v1/admin/tournaments/:id/settle | Force-settle tournament |
| GET | /v1/admin/tournaments/:id/entries | Tournament entries/leaderboard |
| POST | /v1/admin/tournaments/:id/invite | Invite users (invite-mode) |
| GET | /v1/admin/tournaments/:id/invites | List pending invites |
| GET | /v1/admin/tournaments/stats | Tournament aggregate statistics |
Loyalty Program
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/loyalty/config | Get loyalty configuration |
| PUT | /v1/admin/loyalty/config | Update loyalty configuration |
| GET/POST | /v1/admin/loyalty/tiers | List or create loyalty tiers |
| PUT/DELETE | /v1/admin/loyalty/tiers/:id | Update or delete a loyalty tier |
| GET | /v1/admin/loyalty/users | List loyalty users (paginated) |
| GET | /v1/admin/loyalty/users/:userId | User loyalty details |
| POST | /v1/admin/loyalty/users/:userId/adjust | Manual point adjustment |
| GET | /v1/admin/loyalty/stats | Loyalty aggregate statistics |
Notification Channels
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/notification-channels | List operator channels (Slack/Teams/Discord) |
| POST | /v1/admin/notification-channels | Create channel |
| PUT | /v1/admin/notification-channels/:id | Update channel |
| DELETE | /v1/admin/notification-channels/:id | Delete channel |
| POST | /v1/admin/notification-channels/:id/test | Send test notification |
Compliance and GDPR
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/users/:userId/gdpr-export | Per-user GDPR data export (downloadable JSON) |
| POST | /v1/admin/users/:userId/gdpr-erase | GDPR erasure (requires confirmUserId in body) |
| POST | /v1/admin/users/:userId/revoke-funded | Manually revoke an active funded account |
Self-Exclusion
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/self-exclusion | List self-excluded users |
| POST | /v1/admin/self-exclusion | Exclude a user |
| GET | /v1/admin/self-exclusion/:userId | Check user exclusion status |
| DELETE | /v1/admin/self-exclusion/:userId | Lift exclusion |
Support
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/support/requests | List support requests |
| POST | /v1/admin/support/requests | Create support request |
| GET | /v1/admin/support/requests/:id | Get request details |
| POST | /v1/admin/support/requests/:id/messages | Add message to request |
| POST | /v1/admin/support/requests/:id/close | Close a support request |
Other Admin
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/admin/audit-log | Admin action audit trail |
| GET | /v1/admin/request-log | API request log (paginated) |
| GET | /v1/admin/reconciliation/flags | Reconciliation discrepancies |
| GET/PUT | /v1/admin/theme | Operator branding/theme |
| GET | /v1/admin/leaderboard | Admin leaderboard view |
| GET | /v1/admin/templates | Challenge templates (read-only) |
| GET | /v1/admin/templates/:id | Template details |
| POST | /v1/admin/templates/:id/clone | Clone template to tier |
| POST | /v1/admin/clear-snapshots | Clear progress snapshots |
Analytics Endpoints (Admin Login or Admin Scope Key)
Backoffice login, or a server key with the admin scope. An integration key gets 403 insufficient_scope.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/analytics/challenges | Challenge analytics (day/week/month) |
| GET | /v1/analytics/revenue | Revenue analytics (day/week/month) |
| GET | /v1/analytics/users | User cohort analytics |
| GET | /v1/analytics/benchmarks | Anonymized cross-tenant benchmarks |
| GET | /v1/admin/analytics/engagement | Daily engagement metrics |
| GET | /v1/admin/analytics/funnel | Purchase-to-funded funnel metrics |
| GET | /v1/admin/analytics/rewards | Reward grant/consumption analytics |
Audit Endpoints (Admin Login or Admin Scope Key)
Backoffice login, or a server key with the admin scope. An integration key gets 403 insufficient_scope.
| Method | Path | Purpose |
|---|---|---|
| GET | /v1/audit/log | Query audit trail (bets or webhooks) |
| GET | /v1/audit/export | Bulk data export (GDPR Art. 20), streamed; at most 90 days and 200,000 rows of each kind per call (413 export_too_large past that), two at once per server (429 export_busy) |
| GET | /v1/audit/retention | Data retention policy |
Staging Reset Endpoints (Staging Tenants Only)
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/sandbox/reset | Reset all staging data |
| POST | /v1/sandbox/reset/:userId | Reset staging data for specific user |
| POST | /v1/sandbox/time-travel/:userId | Move a user forward in time (see below) |
POST /v1/sandbox/time-travel/:userId lets a demo or a test play out days in seconds. { "days": 3 } (0 to 400) moves the start and end of the user's active challenge, and the last payout of their active funded account, that many days back; { "expireInSeconds": 60 } (0 to 172,800) instead puts the active challenge's end that far from now and leaves the funded account alone. The challenge is then evaluated, so an expiry applies at once. The answer is { "status": "ok", "challenge": ..., "fundedAccount": ... }, with null for whatever was not moved. It does not move a funded account's lifetime or inactivity clock. A production tenant gets 403 forbidden, like the two reset endpoints.
Super Admin Endpoints (Super Admin Key or JWT)
| Method | Path | Purpose |
|---|---|---|
| GET/POST | /v1/super-admin/tenants | Tenant management |
| GET/PUT/DELETE | /v1/super-admin/tenants/:id | Get, update, or delete a tenant (apiKeyScope: integration or admin, audited) |
| POST | /v1/super-admin/tenants/:id/rotate-keys | Rotate API keys |
| POST | /v1/super-admin/tenants/:id/plan | Change tenant plan tier |
| POST | /v1/super-admin/tenants/:id/clone-to-production | Clone a staging tenant to production |
| PUT | /v1/super-admin/tenants/:id/widget-modules | Configure widget modules |
| GET | /v1/super-admin/tenants/:id/stats | Per-tenant statistics |
| GET | /v1/super-admin/stats | Cross-tenant statistics |
| GET | /v1/super-admin/stats/usage | Cross-tenant usage statistics |
| GET | /v1/super-admin/revenue | Revenue analytics |
| GET/PUT | /v1/super-admin/rule-boundaries | Global rule boundaries |
| GET/POST | /v1/super-admin/admin-users | Admin user management |
| PUT/DELETE | /v1/super-admin/admin-users/:id | Update or delete an admin user |
| POST | /v1/super-admin/admin-users/:id/reset-password | Reset admin password; ends every session of the account |
| GET/PUT | /v1/super-admin/admin-users/:id/tenants | Admin user tenant assignments |
| GET | /v1/super-admin/analytics/revenue | Revenue analytics (MRR/ARR) |
| GET | /v1/super-admin/analytics/funnel | Funnel metrics |
| GET | /v1/super-admin/analytics/unit-economics | Unit economics |
| GET | /v1/super-admin/analytics/tenant-health | Tenant health scores |
| GET | /v1/super-admin/analytics/retention | Retention analytics |
| GET | /v1/super-admin/analytics/benchmarks | Cross-tenant benchmarks |
| GET | /v1/super-admin/analytics/exposure | Cross-tenant exposure analytics |
| GET | /v1/super-admin/engagement/overview | Engagement overview across tenants |
| GET | /v1/super-admin/engagement/per-tenant | Per-tenant engagement breakdown |
| GET | /v1/super-admin/onboarding | List onboarding requests |
| PUT | /v1/super-admin/onboarding/:id | Update an onboarding request |
| GET | /v1/super-admin/maintenance | Maintenance mode status |
| POST | /v1/super-admin/maintenance/enable | Enable maintenance mode |
| POST | /v1/super-admin/maintenance/disable | Disable maintenance mode |
| GET | /v1/super-admin/support/queue | Support queue overview |
| GET/PUT | /v1/super-admin/support/requests/:id | Read or update a support request |
| POST | /v1/super-admin/support/requests/:id/reply | Reply to a support request |
| POST | /v1/super-admin/support/requests/:id/note | Add an internal note |
| GET/POST | /v1/super-admin/templates | Challenge template management |
| PUT/DELETE | /v1/super-admin/templates/:id | Update or delete a template |
| GET/POST | /v1/super-admin/contracts | Contract management |
| PUT/DELETE | /v1/super-admin/contracts/:id | Update or delete a contract |
| GET | /v1/super-admin/contracts/expiring | Contracts nearing expiry |
| GET | /v1/super-admin/contracts/templates | Contract templates |
| POST | /v1/super-admin/contracts/generate-pdf | Generate a contract PDF |
| GET | /v1/super-admin/invoices | List invoices |
| PUT/DELETE | /v1/super-admin/invoices/:id | Update or delete an invoice |
| POST | /v1/super-admin/invoices/generate | Generate the invoice for a tenant and period; 409 invoice_exists when a live one exists |
| GET/POST | /v1/super-admin/demo-environments | Demo environment management |
| GET | /v1/super-admin/compliance-pack | Download compliance document pack |
| GET | /v1/super-admin/audit-log | Super-admin action audit trail |
| GET/PUT | /v1/super-admin/sandbox/cleanup-config | Sandbox auto-cleanup configuration |
| POST | /v1/super-admin/sandbox/cleanup | Run sandbox cleanup now; staging tenants only (403 for a production tenant) |
Auth Endpoints (Public)
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/auth/login | Admin login (email/password) |
| POST | /v1/auth/mfa/send | Send MFA OTP code via email |
| POST | /v1/auth/mfa/verify | Complete MFA login |
| POST | /v1/auth/mfa/disable | Disable MFA |
| GET | /v1/auth/mfa/status | Check MFA status |
| POST | /v1/auth/select-tenant | Switch active tenant for a multi-tenant admin |
| GET | /v1/auth/me | Get current admin user |
| POST | /v1/auth/refresh | Refresh the JWT session |
| POST | /v1/auth/change-password | Change password; ends every session of the account, including this one, so sign in again |
| POST | /v1/auth/forgot-password | Request a reset link by email (valid 30 minutes, newest link only). Nothing changes until the link is used. Always 200 |
| POST | /v1/auth/reset-password | Set a new password with the token from the link, { token, newPassword }. Works once; ends every session of the account. 400 invalid_reset_token or weak_password |
| POST | /v1/auth/logout | End the session |
Webhook Echo (Development and demo)
In production it serves staging tenants only: a production tenant cannot point its webhook URL at it, and its key reads nothing. It stores only deliveries signed by a tenant whose webhook URL points at the echo, and each tenant sees and clears only its own. It keeps the last 200 per tenant for 7 days.
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/webhook-echo | Receive a signed webhook; unsigned or wrongly signed posts get 401 and are not stored |
| GET | /v1/webhook-echo | List your tenant's received webhooks (X-API-Key; the super admin key sees all) |
| DELETE | /v1/webhook-echo | Clear your tenant's stored webhooks |
Onboarding (Public)
| Method | Path | Purpose |
|---|---|---|
| POST | /v1/onboarding/request | Submit operator interest form |
Health (Public)
| Method | Path | Purpose |
|---|---|---|
| GET | /health | Component-level health check |
| GET | /health/ready | Readiness probe (200 only when DB is reachable) |
| GET | /health/live | Liveness probe (200 if process is running) |
| GET | /metrics | Prometheus metrics (basic auth required in production) |