{"service":"MarketNow Mandates API","version":"1.1.0","protocol":"ACP/AP2 (delegated mandates)","persistence":"github","persistence_detail":"Each mandate stored as a JSON file in the GitHub repo — durable, transparent, audit-log via commit history.","description":"Pre-approved spending allowances that a human principal grants to an AI agent. Agents buy autonomously within the limit; beyond it, human approval is required.","endpoints":{"create":{"method":"POST","path":"/api/mandates"},"get":{"method":"GET","path":"/api/mandates?id=mand_xxx"},"listByOwner":{"method":"GET","path":"/api/mandates?owner=0x..."},"listByAgent":{"method":"GET","path":"/api/mandates?agent=agent_xxx"},"revoke":{"method":"POST","path":"/api/mandates?action=revoke&id=mand_xxx"},"spend":{"method":"POST","path":"/api/mandates?action=spend","body":{"id":"mand_xxx","amount":1.99,"txHash":"0x..."}}},"limits":{"maxTotalLimitUsd":500,"maxPerPurchaseCapUsd":50,"defaultTtlDays":90},"audit_log":"Every create / spend / revoke is a git commit on master — visible in the repo history at _data/mandates/.","ui":"https://marketnow.site/mandates"}