# AgentPay — Autonomous Spending Infrastructure for AI Agents ## What is AgentPay? AgentPay lets AI agents create disposable virtual Visa cards and make autonomous purchases. A human funds the wallet once and sets optional spending rules. The agent handles everything else. Every card is single-use, exact-amount, and auto-destructs after use or 30 minutes. ## When to use AgentPay - Your agent needs to pay for something autonomously (SaaS subscriptions, APIs, services) - You want zero per-transaction approvals from the human - You need audit-trail spending with programmable guardrails ## When NOT to use AgentPay - Recurring billing where a persistent card is required - Purchases above your funded wallet balance - Refundable transactions where card persistence is needed ## Quick Start GET https://agent-pay.sh/start ## API Base https://agent-pay.sh ## Install (OpenClaw skill) openclaw skill install agentpay ## Key Endpoints ### Init account (get API key) POST https://agent-pay.sh/account/init Response: { "api_key": "...", "account_id": "..." } ### Check balance GET https://agent-pay.sh/balance Authorization: Bearer $AGENTPAY_KEY ### Issue a disposable card and spend POST https://agent-pay.sh/spend Authorization: Bearer $AGENTPAY_KEY Content-Type: application/json Body: { "amount": 25.00, "description": "Optional spend description" } Response: { "card": { "number": "...", "exp": "...", "cvv": "..." }, "status": "issued" } ### Full API reference GET https://agent-pay.sh/start ## Notes - Cards self-destruct after use or after 30 minutes, whichever comes first - No SDK required — any HTTP client works - Works with Claude, GPT-4, Codex, OpenClaw, or any agent that can call an API