{"service":"hivebank","name":"HiveBank — Agent Treasury Protocol","version":"1.0.0","platform":10,"description":"Yield-bearing programmable treasury layer for autonomous agents. Agents hold, earn, lend, and budget USDC without a human bank account. Dual settlement rails: USDC on Base L2 (fast, public) + USDCx on Aleo mainnet (ZK-private, Circle-backed). Bridge via Circle xReserve CCTP — no third-party bridge, 1:1 guaranteed.","endpoints":{"vault":{"create":{"method":"POST","path":"/v1/bank/vault/create","description":"Create agent vault"},"deposit":{"method":"POST","path":"/v1/bank/vault/deposit","description":"Deposit USDC into vault"},"withdraw":{"method":"POST","path":"/v1/bank/vault/withdraw","description":"Withdraw USDC from vault"},"balance":{"method":"GET","path":"/v1/bank/vault/{did}","description":"Get vault balance and yield info"},"history":{"method":"GET","path":"/v1/bank/vault/{did}/history","description":"Transaction history"},"accrue_yield":{"method":"POST","path":"/v1/bank/vault/yield/accrue","description":"Internal: daily yield accrual"},"configure_reinvest":{"method":"POST","path":"/v1/bank/vault/configure-reinvest","description":"Configure auto-reinvestment percentage for vault"},"reinvestment_stats":{"method":"GET","path":"/v1/bank/vault/{id}/reinvestment-stats","description":"Get reinvestment stats and history"},"spend_budget":{"method":"POST","path":"/v1/bank/vault/spend-budget","description":"Spend from execution budget (reinvested pool)"}},"budget":{"create":{"method":"POST","path":"/v1/bank/budget/create","description":"Create budget delegation"},"evaluate":{"method":"POST","path":"/v1/bank/budget/evaluate","description":"Evaluate transaction against budget"},"list":{"method":"GET","path":"/v1/bank/budget/{orchestrator_did}","description":"List budget delegations"},"revoke":{"method":"POST","path":"/v1/bank/budget/revoke/{delegation_id}","description":"Revoke delegation"}},"credit":{"apply":{"method":"POST","path":"/v1/bank/credit/apply","description":"Apply for credit line"},"draw":{"method":"POST","path":"/v1/bank/credit/draw","description":"Draw from credit line"},"repay":{"method":"POST","path":"/v1/bank/credit/repay","description":"Repay credit line"},"status":{"method":"GET","path":"/v1/bank/credit/{did}","description":"Credit line status"},"underwrite":{"method":"GET","path":"/v1/bank/credit/underwrite/{did}","description":"Preview credit terms"}},"streaming":{"create":{"method":"POST","path":"/v1/bank/stream/create","description":"Create revenue stream"},"pause":{"method":"POST","path":"/v1/bank/stream/pause/{stream_id}","description":"Pause stream"},"resume":{"method":"POST","path":"/v1/bank/stream/resume/{stream_id}","description":"Resume stream"},"cancel":{"method":"POST","path":"/v1/bank/stream/cancel/{stream_id}","description":"Cancel and settle stream"},"status":{"method":"GET","path":"/v1/bank/stream/{stream_id}","description":"Stream status"},"by_agent":{"method":"GET","path":"/v1/bank/streams/{did}","description":"All streams for agent"}},"stats":{"method":"GET","path":"/v1/bank/stats","description":"Platform-wide banking stats"},"perf_credit":{"apply":{"method":"POST","path":"/v1/credit/apply","description":"Apply for performance-based credit line"},"draw":{"method":"POST","path":"/v1/credit/draw","description":"Draw from credit line"},"repay":{"method":"POST","path":"/v1/credit/repay","description":"Repay credit line"},"status":{"method":"GET","path":"/v1/credit/status/{did}","description":"Credit line status for agent"},"stats":{"method":"GET","path":"/v1/credit/stats","description":"Platform-wide credit stats"}},"bonds":{"stake":{"method":"POST","path":"/v1/bonds/stake","description":"Stake USDC into a HiveBond"},"unstake":{"method":"POST","path":"/v1/bonds/unstake","description":"Unstake a matured or early bond"},"portfolio":{"method":"GET","path":"/v1/bonds/portfolio/{did}","description":"Agent bond portfolio"},"stats":{"method":"GET","path":"/v1/bonds/stats","description":"Platform-wide staking stats"},"rates":{"method":"GET","path":"/v1/bonds/rates","description":"Current staking rates and tiers"}},"cashback":{"earn":{"method":"POST","path":"/v1/cashback/earn","description":"Record cashback earned from paid API call"},"spend":{"method":"POST","path":"/v1/cashback/spend","description":"Spend cashback credits"},"balance":{"method":"GET","path":"/v1/cashback/balance/{did}","description":"Check cashback balance and tier"},"stats":{"method":"GET","path":"/v1/cashback/stats","description":"Platform-wide cashback stats"},"leaderboard":{"method":"GET","path":"/v1/cashback/leaderboard","description":"Top cashback earners"},"tiers":{"method":"GET","path":"/v1/cashback/tiers","description":"Tier definitions, thresholds, and bonus rates"}},"health":{"method":"GET","path":"/health","description":"Health check"},"graph":{"record":{"method":"POST","path":"/v1/bank/graph/record","description":"Record agent-to-agent transaction in the social graph"},"agent":{"method":"GET","path":"/v1/bank/graph/agent/:did","description":"Agent credit history — counterparties, volume, frequency"},"network":{"method":"GET","path":"/v1/bank/graph/network","description":"Aggregate network stats — top agents, services, volume trends"},"insights":{"method":"GET","path":"/v1/bank/graph/insights/:did","description":"AI-style agent insights — trust level, commerce profile, recommendations"},"explain":{"method":"GET","path":"/v1/bank/graph/explain/:txId","description":"GDPR Art. 22 — Human-readable explanation of any automated transaction decision"}},"compliance":{"eu_ai_act":{"method":"GET","path":"/v1/bank/compliance/eu-ai-act","description":"EU AI Act 2024/1689 compliance status for HiveBank automated systems"}},"settlement":{"rails":{"method":"GET","path":"/v1/bank/settlement-rails","description":"Dual settlement rails: USDC on Base L2 (fast, public) + USDCx on Aleo mainnet (ZK-private, Circle-backed)"}}},"sla":{"uptime_target":"99.9%","response_time_p95":"<200ms","yield_accrual":"daily"},"legal":{"terms_of_service":"https://www.hiveagentiq.com/terms","privacy_policy":"https://www.hiveagentiq.com/privacy","contact":"protocol@hiveagentiq.com"},"discovery":{"ai_plugin":"/.well-known/ai-plugin.json","agent_card":"/.well-known/agent-card.json","agent_card_legacy":"/.well-known/agent.json"},"compliance":{"framework":"Hive Compliance Protocol v2","audit_trail":true,"fdic_equivalent":"Agent Deposit Insurance via HiveTrust bonds"},"standards":{"w3c_did_core":true,"vcdm_version":"2.0","hahs_compliant":true,"hagf_governed":true,"cheqd_compatible":true,"recruitment_401":true,"usdc_settlement":true,"base_l2":true,"aleo_usdcx":true,"zk_private_settlement":true,"circle_xreserve_bridge":true,"transaction_graph":true,"graph_endpoints":["/v1/bank/graph/network","/v1/bank/graph/agent/:did","/v1/bank/graph/insights/:did"]}}