Skip to main content
POST

Description

Provisions a user in ZBD for your project. Idempotent — if a user with the same reference_id or email already exists for your project, the existing user is returned. Call this from your server before creating a widget session.
Disclosure status does not block widget session creation. For widget ACH cashout, filter outstanding_disclosures for Electronic Funds Transfer disclosure type 6, present that document, and record its acceptance before the ACH request is submitted. Types 1 through 5 can be ignored for widget eligibility. See Disclosure Agreements.

Configuration

Header Parameters

string
required
Your ZBD project API key (production scope).
string
Content Type

Body Parameters

string
required
Your stable internal user identifier. Must be unique per project.
string
required
User’s email address. Used for OTP verification in the widget.

Response

The response data includes the new (or existing) user plus an outstanding_disclosures array containing current disclosure versions the user has not accepted. This is returned on the first user request, so you can check immediately whether Electronic Funds Transfer disclosure type 6 is outstanding before offering ACH cashout.
array
Current disclosure versions the user has not yet accepted. The array can include types that do not affect widget eligibility. For ACH, only an outstanding entry with type_id: 6 must be accepted. Each entry includes id, type_id, name, description, version, content_uri, created_at, and due_date.
outstanding_disclosures lists only what is still outstanding. To list a user’s full acceptance state (including what they have already accepted), call Get Disclosure Status at any time. See Disclosure Agreements for the full model.