The ClearBox API is organized around REST. It uses predictable resource-oriented URLs, returns JSON, and uses standard HTTP verbs and status codes.Documentation Index
Fetch the complete documentation index at: https://docs.clear-box.io/llms.txt
Use this file to discover all available pages before exploring further.
Base URLs
| Environment | Base URL |
|---|---|
| Production | https://api.clearbox.example.com |
| Sandbox | https://sandbox.api.clearbox.example.com |
Authentication
All requests use a bearer API key in theAuthorization header. See Authentication.
cb_sandbox_...) to send live requests against the sandbox.
Conventions
- All request and response bodies are JSON.
- Timestamps are ISO 8601 in UTC.
- Amounts are decimal strings (e.g.
"100.00") to avoid floating-point errors. - Object IDs are prefixed by type (
idn_,wlt_,crd_,txn_,mer_,loc_,trm_,stl_).
Tags
| Tag | What it covers |
|---|---|
| Identity | Create and look up verified ClearCheck identities. |
| Wallets | Provision, fund, and read non-custodial wallets. |
| Cards | Issue cards and provision them into Apple Wallet. |
| Merchants | Onboard merchants, register terminals, configure settlement. |
| Transactions | Read authorization and settlement records. |
The endpoints documented here are ClearBox program endpoints. The full machine-readable spec lives in
openapi.json at the root of this repo — replace base URLs and field names with your program’s actual values before publishing.