Skip to main content
Clearlayer evaluates investors, wallets, and policies to produce real-time compliance decisions. This guide walks you through the full flow using the sandbox environment.
1

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.
2

Check the API

GET /v1/health requires no authentication. Use it to confirm the API is reachable before making authenticated calls.
A successful response returns 200 OK.
3

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 allow when every requirement is satisfied.
Expected response:
4

Try a deny

Use an investor with a blocked wallet. The decision engine checks wallet status first — a blocked wallet immediately produces deny regardless of KYC or accreditation status.
Expected response:
5

Try a review

Use an investor with pending KYC and an unverified wallet. The engine returns review when a required check cannot yet pass but has not been explicitly blocked.
Expected response:
For the full list of endpoints, request schemas, and response fields, see the API Reference.