Onboarding (KYB)
Create widget
Create a new KYB widget with a full configuration.
POST
Creates a new onboarding widget. New widgets are created in
Returns
draft status. The full config object is required and must contain every section.
Requires Authorization: Bearer $TOKEN.
Body
Human-readable name for this widget. 1–120 characters.
Template identifier the widget was built from. 1–60 characters.
One of
sandbox or live.Full widget configuration. All six sections below are required.
config.branding
1–120 characters.
Logo URL, up to 2048 characters.
Storage public ID, up to 512 characters.
Hex colour, e.g.
#6466AE.One of
sharp, soft, round.1–200 characters.
1–600 characters.
1–200 characters.
1–600 characters.
Up to 200 characters.
config.modules
A map keyed by module ID (e.g.
business_profile, cac_verification). Each value is { "enabled": boolean, "required": boolean }. See Module catalog for the 19 valid module IDs.config.flow
Ordered array of module IDs.
5–240.
Up to 2048 characters.
Up to 2048 characters.
Up to 2048 characters.
config.security
Up to 50 entries, each up to 255 characters.
Up to 250 two-letter country codes.
Up to 100 entries, each up to 64 characters.
config.risk
One of
low, standard, enhanced.0–100.
0–100.
config.notifications
Up to 200 characters.
Up to 20 entries, each up to 60 characters.
201 with the full widget object. Set the widget to live with Set widget status when ready.