Clearlayer evaluates investors, wallets, and policies to produce real-time compliance decisions. This guide walks you through the full flow using the sandbox environment.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.
Get your API key
The sandbox API key is pre-provisioned and ready to use:Use this key in the
Authorization header for all authenticated requests. See Authentication for details.Check the API
GET /v1/health requires no authentication. Use it to confirm the API is reachable before making authenticated calls.200 OK.Request a decision — allow
Request a compliance decision for a verified, accredited US investor with a clean wallet against the US Accredited Only Fund policy. The engine evaluates all checks in order and returns Expected response:
allow when every requirement is satisfied.| Seed ID | Profile |
|---|---|
inv_seed_001 | KYC verified, accredited, country: US |
wal_seed_001 | Screening: verified, risk level: low |
pol_seed_001 | Requires KYC, accredited, US only, verified wallet |
Try a deny
Use an investor with a blocked wallet. The decision engine checks wallet status first — a blocked wallet immediately produces Expected response:
deny regardless of KYC or accreditation status.| Seed ID | Profile |
|---|---|
inv_seed_003 | KYC verified, accredited, country: US |
wal_seed_003 | Screening: blocked, risk level: high |
Try a review
Use an investor with pending KYC and an unverified wallet. The engine returns Expected response:
review when a required check cannot yet pass but has not been explicitly blocked.| Seed ID | Profile |
|---|---|
inv_seed_002 | KYC pending, not accredited, country: GB |
wal_seed_002 | Screening: pending, risk level: medium |
For the full list of endpoints, request schemas, and response fields, see the API Reference.