curl -X PATCH https://api.vouchmark.com/v1/kyb/widgets/wgt_aBcD... \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme KYB v2"
}'
{
"success": true,
"data": {
"id": "wgt_aBcD...",
"name": "Acme KYB v2",
"status": "live",
"environment": "live",
"templateId": "fintech",
"config": { "branding": { "...": "..." }, "modules": { "...": "..." }, "flow": { "...": "..." }, "security": { "...": "..." }, "risk": { "...": "..." }, "notifications": { "...": "..." } },
"embedLinkToken": "elt_...",
"createdAt": "2026-06-01T10:00:00Z",
"updatedAt": "2026-06-01T10:05:00Z"
}
}
Onboarding (KYB)
Update widget
Update a widget’s name or configuration.
PATCH
/
v1
/
kyb
/
widgets
/
{id}
curl -X PATCH https://api.vouchmark.com/v1/kyb/widgets/wgt_aBcD... \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme KYB v2"
}'
{
"success": true,
"data": {
"id": "wgt_aBcD...",
"name": "Acme KYB v2",
"status": "live",
"environment": "live",
"templateId": "fintech",
"config": { "branding": { "...": "..." }, "modules": { "...": "..." }, "flow": { "...": "..." }, "security": { "...": "..." }, "risk": { "...": "..." }, "notifications": { "...": "..." } },
"embedLinkToken": "elt_...",
"createdAt": "2026-06-01T10:00:00Z",
"updatedAt": "2026-06-01T10:05:00Z"
}
}
Updates a widget’s
name, config, or both. Only the fields you send are applied. When config is sent it must be a complete, valid configuration object (same shape as Create widget). Returns the full updated widget.
Requires Authorization: Bearer $TOKEN.
Path parameters
string
required
The widget ID.
Body
string
New display name. 1–120 characters.
object
Full widget configuration object — see Create widget for every section and sub-field.
curl -X PATCH https://api.vouchmark.com/v1/kyb/widgets/wgt_aBcD... \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme KYB v2"
}'
{
"success": true,
"data": {
"id": "wgt_aBcD...",
"name": "Acme KYB v2",
"status": "live",
"environment": "live",
"templateId": "fintech",
"config": { "branding": { "...": "..." }, "modules": { "...": "..." }, "flow": { "...": "..." }, "security": { "...": "..." }, "risk": { "...": "..." }, "notifications": { "...": "..." } },
"embedLinkToken": "elt_...",
"createdAt": "2026-06-01T10:00:00Z",
"updatedAt": "2026-06-01T10:05:00Z"
}
}
