HTTP API for Haima — wallet, balance, transactions, payment endpoints.
Endpoints:
GET /health— health check (public, no auth)GET /state— get full financial state projection (protected)POST /v1/facilitate— x402 payment facilitation (public)GET /v1/facilitator/stats— facilitator dashboard stats (public)GET /v1/bureau/:agent_id— agent credit bureau report (public)
Auth is controlled via HAIMA_JWT_SECRET or AUTH_SECRET env var.
If neither is set, auth is disabled (local dev mode).