Skip to main content

Overview

The ZBD Widget communicates with your page from the iframe using browser postMessage events. Use these events for frontend state such as widget readiness, close actions, cashout submission, identity verification, and linked payout methods. Server-side cashout status updates are delivered separately as signed webhooks. See Server Webhooks.

Listening for Events

Listen for events on the parent window:

Event Types