Embedded

Concept: Betslip

Use the SDK betslip UI inside the overlay and settle bets with onPlaceBet. Omit mode or set mode: 'INTERNAL'.

Parameter and return-value reference: Betslip (feature).

await embet.init({ clientId: 'YOUR_CLIENT_ID' });

embet.betSlipConfig({
  currency: '€',
  currencyDisplay: 'prefix',
  decimalSign: ',',
  maxAmount: 1000,
  onPlaceBet: async (payload) => {
    // Call your sportsbook API, then return { success: true } or { error: '...' }
    return { success: true };
  },
});

End-to-end sample: Recipe — Embedded betslip.