Authentication
Table of Contents
API key format, registration, storage, and what happens when a key is lost. All billing endpoints require a Bearer token: No auth, no body. The response contains your API key and a USDC funding address on Base. Registration is rate-limited per source IP. The server stores only a SHA-256 hash of the key's secret part. The raw key is returned exactly once, at registration, and never again. Consequences: There is no in-place rotation: keys are tied to an account and its balance. To rotate, register a new account, fund it, and retire the old key by letting it go idle. Each account is separate; balances do not transfer.Authorization: Bearer macs_a1b2...c5d6Key format
macs_Registration
POST /api/v1/registerKey storage
Rotation