external_id (your identifier for the merchant) and receive a
public_id to embed in the widget flow. Optionally, you can pre-fill form
fields you already know so the merchant does not re-enter them.
Create a case
POST /api/v4/kyb/cases — authenticated with your API key. The backend creates
(or reuses) the business applicant bound to external_id and returns the
public_id.
- Curl
- Python
If the merchant already has an in-flight case (
draft / action_required),
that existing case is returned with 200 instead of creating a new one — so
the call is safe to retry.Pre-fill form fields
Pass an optionalfields object to pre-populate the widget. It is grouped by
section, then by field key:
- Curl
- Python