widget_data needed to initialize the Compliance widget.
Endpoint
Request Body
Pass the desiredlevel (1–3) and the user’s wallet. For a breakdown of what each level requires, see Verification Flows.
Field Reference
| Field | Required | Description |
|---|---|---|
action.type | Yes | Always OCC_RULES_ENGINE |
action.level | Yes | Target access level: 1, 2, or 3 |
customer.wallet.blockchain | Yes | Blockchain identifier (e.g. base_sepolia) |
customer.wallet.address | Yes | User’s wallet address |
customer.external_id | Recommended | Your internal identifier for the user |
If a user needs Level 3 but has only completed Level 1, the widget automatically walks them through all outstanding requirements in sequence — no additional API calls are needed.
Response
data object to initFortePaymentsWidget — see Integrate Widget.
Next Steps
Integrate Widget
Embed and initialize the Forte widget with the response data