Getting Started

From zero to your first API call in three steps.

Step 1 — Create a merchant account

Go to cloakd.ai/merchants and connect your wallet to create a merchant account. Fill in your business details and configure your settlement settings (which coin and network you want to receive).

Step 2 — Generate an API key

  1. 1Log into your merchant dashboard.
  2. 2Go to Settings → API Keys.
  3. 3Click Create API Key.
  4. 4Give it a descriptive name (e.g. "Production Server").
  5. 5Copy and securely store the key — it is only shown once.

Security

Never expose your API key in client-side code, public repositories, or environment files that get committed to source control. Use environment variables on your server.

Step 3 — Verify your API key

Call GET /v1/status to confirm your key is working:

curl -X GET https://api.cloakd.ai/v1/status \
  -H "X-API-Key: sk_live_your_api_key"

A successful response:

{
  "status": "ok",
  "version": "1.0.0",
  "timestamp": "2026-01-03T10:30:00.000Z",
  "authenticated": true,
  "merchant_id": "cm1a2b3c4d5e6f7g8h9i0j1k"
}

Next steps