Skip to main content
PUT
Save a new KYC policy version

Authorizations

Authorization
string
header
required

API key created in the console. Scopes: kyc:extract, kyc:verify, kyc:eid; kyb:onboard, kyb:ice; statements:read; webhooks:manage; requests:read, requests:write; bank:read, bank:write (Growth plan, enabled per workspace by Sahl); registry:read; cases:read; scoring:read, scoring:write; policy:read, policy:write; usage:read. The Sandbox specimen routes, GET /v1/partner/me and GET /v1/partner/errors need any valid key.

Headers

X-Sahl-Environment
string | null

sandbox (default) or production. Same meaning as the environment parameter; if both are sent they must agree.

Body

application/json

A new version of one client type's policy.

client_type
enum<string>
required

individual (KYC) or company (KYB).

Available options:
individual,
company
config
KycPolicyConfig · object
required

The whole policy (GET returns it in this shape). Fields left out take their defaults, not the current values: send the full config back.

environment
enum<string> | null

Optional; must agree with X-Sahl-Environment when both are sent. Sandbox when neither is.

Available options:
sandbox,
production

Response

OK

The policy in force for one client type in one environment.

client_type
enum<string>
required

individual (KYC) or company (KYB).

Available options:
individual,
company
kind
enum<string>
required

The stored policy kind for this client type.

Available options:
kyc,
kyb
environment
enum<string>
required

The environment it applies to.

Available options:
sandbox,
production
source
enum<string>
required

tenant = a saved version; preset = the regime's default; legacy = the unregulated default; fallback = a saved version that no longer validates, replaced by the default with the regime's locks.

Available options:
tenant,
preset,
legacy,
fallback
policy_id
string<uuid> | null
required

The saved version's id; null for a default.

version
integer
required

The saved version number; 0 for a default.

managed_by_flow
boolean
required

True when the version was compiled from a dashboard flow. Saving here detaches it.

created_at
string<date-time> | null
required

When this version was saved.

parameters
PolicyParameters · object
required

The main tunable parameters (also in config).

locked
string[]
required

Every item locked in this policy. An API key cannot unlock any of them.

regulator_locked
string[]
required

The subset of locked items the regulator mandates.

config
KycPolicyConfig · object
required

The full policy, in the shape PUT /v1/partner/policy accepts.