Overview
Some widget flows require the user to accept the latest legal disclosure before continuing. ZBD tracks acceptance by disclosure type and version, so a user may need to accept a new version even if they accepted an older version before. The widget session exposes outstanding session disclosures, and the cashout backend separately verifies cashout-specific disclosures before a payout is submitted.End-to-end Flow
If your integration only embeds the hosted widget, the disclosure prompt and acceptance flow are handled inside the widget. Your backend still creates users, funds balances, creates sessions, and processes webhooks as usual.
Outstanding Disclosures on User Creation
You do not need a separate call to discover what a user still owes. The Create User response (POST /api/v1/widget/users) already includes an outstanding_disclosures array on that first user request — the disclosure versions this user has not yet accepted. Surface or record them right away; if the array is empty, the user is current.
outstanding_disclosures only lists what is still outstanding. When you need the complete picture — including which disclosures a user has already accepted and when — use the dedicated endpoints:
- Get Disclosure Status — list every current disclosure type with the user’s acceptance state (
is_current,accepted_at), so you can show accepted vs. outstanding. - Submit Disclosure Acceptance — record acceptance of the latest version from your server.
The same
outstanding_disclosures shape also appears in the widget session status during a session (see Session Status). Create User is the initial snapshot at provisioning time; Get Disclosure Status is the source of truth for the full, up-to-date acceptance state.Disclosure Types
The widget disclosure endpoints can check and record acceptance for all current disclosure types.ACH cashout submission requires the current Electronic Funds Transfer disclosure to be accepted. If the user has not accepted the latest Electronic Funds Transfer disclosure, the cashout request is rejected until acceptance is recorded.
Session Status
During a widget session, ZBD returns outstanding session disclosure information to the widget runtime. The field is namedoutstanding_disclosures.
Today this session response includes Terms of Service and Privacy Policy disclosure checks. Cashout-specific checks, such as Electronic Funds Transfer acceptance for ACH, are enforced when the user submits the cashout.
Example session status shape:
outstanding_disclosures is empty, the user is current on all session disclosures returned by this endpoint.