Auth and key lifecycle
Bootstrap, key management, and scoped sessions.
Crypto helpers
Encrypt and decrypt labels for consumer-safe display.
Base URL
https://api.machines.cash
Consumer routes are under \/consumer\/v1.
Authentication
- Consumer API key header (for session minting):
X-Consumer-Key - Consumer session bearer (for operations):
Authorization: Bearer <token> - Web session bearer (for first-party helper):
POST /identity/consumer-api-keys
Idempotency
For state-changing financial writes, includeidempotency-key.
Common required operations include:
- deposits create and transfer
Compatibility paths
Canonical paths are shown in this reference. Compatibility behavior to know:GET /consumer/v1/usersresolves current user profile (no raw user id required).GET /consumer/v1/agreementsandPOST /consumer/v1/agreementsmap to application agreement state/actions.GET /consumer/v1/kyc/statusresolves current user KYC status.
Blocked endpoint on consumer surface
GET /consumer/v1/identity/data-key is intentionally blocked (403).
Use:
POST /consumer/v1/crypto/encryptPOST /consumer/v1/crypto/decrypt