CDN Endpoint
The FAST Widget
Drop-in challenge engine for any sportsbook. One script tag. Shadow DOM isolation.
Full white-label support. No build step required.
<script
src="https://widget.fundedfast.eu/fast-widget.iife.js"
data-api-key="pk_your-widget-key"
data-user-id="current-user-id"
data-fast-widget
></script>
<script
src="https://widget.fundedfast.eu/fast-widget.iife.js"
data-api-key="pk_your-widget-key"
data-user-id="current-user-id"
data-lang="en"
data-theme="dark"
data-position="bottom-right"
data-brand-color="#c9a227"
data-brand-color-end="#f0d78c"
data-brand-logo="https://..."
data-brand-font="Inter"
data-currency="EUR"
data-show-leaderboard="true"
data-show-badges="true"
data-show-history="true"
data-show-shop="true"
data-show-confetti="true"
data-show-lang-picker="true"
data-fab-size="56"
data-fast-widget
></script>
<script>
window.FastWidget.mount({
apiKey: 'pk_your-widget-key',
userId: 'player-42',
beforePurchase: async (tierId, tier) => {
const payment = await yourAPI.charge(tier.purchasePrice);
return payment.success;
},
onEvent: (event, data) => {
if (event === 'challenge.purchased') { }
if (event === 'challenge.purchase_blocked') { }
}
});
</script>
Security Model
The widget uses a pk_ public key - safe to embed in frontend code.