Documentation Index
Fetch the complete documentation index at: https://clearlayer.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a policy
POST /v1/policies
Creates a compliance policy that defines the rules investors and wallets must satisfy to be granted access to an asset. Policies are referenced by asset_policy_id when requesting a compliance decision.
Request body
A human-readable display name for the policy (e.g.
"US Accredited Only").If
true, the investor’s kyc_status must be "verified" for a decision to be "allow".If
true, the investor’s accredited_status must be true for a decision to be "allow".An allowlist of 2-letter ISO country codes. If non-empty, only investors from these countries can receive an
"allow" decision. Defaults to [].A blocklist of 2-letter ISO country codes. Investors from these countries are always denied. Defaults to
[].If
true, the wallet’s screening_status must be "verified" for a decision to be "allow".Whether the policy is active. Must be
"active" or "inactive". Defaults to "active".When
allowed_countries is [] (empty), no country restriction is applied — investors from any country can pass this check. Only set allowed_countries when you want to explicitly restrict access to specific countries.Response fields
Unique policy ID. Format:
pol_...The policy display name.
Whether KYC verification is required.
Whether accreditation is required.
Allowlisted country codes. Empty array means no restriction.
Blocklisted country codes.
Whether wallet screening must be
"verified"."active" or "inactive".ISO 8601 timestamp of when the policy was created.