/v1/kyc/* applies. The parameters are described on KYC policy and document integrity. These routes let a key read it and save new versions.
The environment is
X-Sahl-Environment or environment (sandbox by default). A Sandbox policy and a Production policy are separate. Production calls need your workspace to be approved for Production API calls (see Go live). Each key is limited to 60 calls a minute on these routes.
Read the policy
individual (stored kind kyc) and company (kyb). source is tenant (a saved version), preset (the regime’s default), legacy (the unregulated default) or fallback (a saved version that no longer validated, replaced by the default). version is 0 and policy_id is null for a default. managed_by_flow is true when the version was compiled from a dashboard flow: saving one here detaches it from the flow. parameters repeats the main tunable values; config is the complete policy, in the shape PUT accepts. regulation.locked is what the regulator mandates, and assumed is true when the regime is assumed from the country.
Save a new version
PUT /v1/partner/policy takes:
ClientPolicy (the same object as an entry of policies, with the new version). Every save is audited, with the difference, and detaches the policy from any flow that compiled it.
What an API key cannot do
A key may add locks and tighten values. It cannot remove any item that is locked in the policy in force, the workspace’s own locks included, and it cannot drop what the regulator mandates or go below the regime’s floors (for example the record-keeping days). Unlocking is a decision for a workspace admin in the console. These saves are refused with 422kyc_policy_lock_required and a locked list naming the items. Other rules of the policy still hold: sanctions_pep_action must stay refuse while sanctions screening is locked, sanctions_name_match_threshold cannot rise above 0.88 then, and liveness_strictness: "lenient" is refused while identity verification is locked.
If another save landed at the same time the call answers 409 policy_conflict: read the policy again and save again.
List the versions
next_offset is null on the last page.