Overview
The ZBD Widget is an embeddable iframe that runs the cashout experience for your users — OTP verification, identity verification, bank account linking, and bank payouts. Your backend creates widget users, funds their point balances, creates sessions, and records Electronic Funds Transfer disclosure acceptance when offering ACH cashout.Prerequisites
Before integrating:- Make sure you already have a ZBD Developer Dashboard account and a project.
- Copy the project API key from the project’s API section.
- Open the Widget tab in the Developer Dashboard to configure sandbox balance and webhook settings.
- If the Widget tab is not available yet, contact ZBD support to enable it for your project.
Quick Start
To get sandbox running quickly, start with the sandbox guide:- Create a sandbox user.
- Fund the sandbox user.
- Create a widget session.
- Embed the returned
widget_urlin your frontend. - Listen for widget events and webhook deliveries.
Terms and disclosures
For widget ACH cashout, your application must present and record acceptance of the latest Electronic Funds Transfer disclosure (type6). The widget does not
render this document or collect acceptance on the publisher’s behalf. ACH
cashout is rejected until the current type 6 version has been accepted.
Disclosure types 1 through 5 are not prerequisites for widget session
creation or ACH cashout and can be ignored for this integration. Your contract
or other ZBD services may impose separate legal requirements.
Country availability
The widget uses the country resolved from the user’s IP before identity verification. After identity verification, it uses the user’s verified residential country to select the available bank rail.USD bank cashout
USD bank cashout (ACH) is available only in the United States.EUR bank cashout
EUR bank cashout (SCT) is available in Austria, Belgium, Denmark, Estonia, Finland, France, Germany, Italy, Latvia, Lithuania, the Netherlands, Poland, Portugal, Spain, and Sweden. SCT is not available in other countries, including Bulgaria, Croatia, Cyprus, Czechia, Greece, Hungary, Ireland, Luxembourg, Malta, Romania, Slovakia, Slovenia, and Switzerland.Restricted locations
The widget is not supported for users in Cuba, Iran, North Korea, or Syria.Integration Flow
POST /api/v1/widget/users/deplete to reverse an available balance that
your server previously funded, such as when a reward is canceled.
Events
The ZBD Widget emits browser events to your frontend and server webhooks to your backend.Browser Events
Handle iframe callbacks in your frontend.
Server Webhooks
Process signed backend webhook deliveries.
Authentication
Widget endpoints use two auth patterns:Embedding the Widget
After creating a session, load the returnedwidget_url in your client. Your backend should create the session; your game or web client only receives the widget_url.
- Web
- Unity
- Unreal