Treasury

Unified balance + ledger across FBO banking fiat and direct stablecoins.

GET /api/treasury

Bearer apk_

Returns the snapshot + 25 most-recent ledger entries.

{
"snapshot": {
  "fiatUsdCents": 1248050,
  "stablecoinUsdCents": 842000,
  "totalUsdCents": 2090050,
  "monthSpendUsdCents": 124800
},
"ledger": [
  {
    "id": "le_…",
    "source": "card_settlement",
    "direction": "debit",
    "amountCents": 1500,
    "reference": "auth:reap_auth_…",
    "transferGroup": "uuid…",
    "cardId": "card_…",
    "createdAt": "2026-05-20T08:31:12Z"
  }
]
}

POST /api/treasury/deposits

Bearer apk_ · write:treasury · Idempotent

Sandbox-only. In production, deposits arrive via the /api/webhooks/column-transfer or /api/webhooks/reap-stablecoin-deposit handlers.

{
"source": "reap_stablecoin",
"asset": "USDC",
"chain": "polygon",
"amountUsdCents": 100000
}