{"uid":"cap_5YS_5fvAilBUQm4EJ3hk7","slug":"agentcash-api-payment-endpoint-51704c27","name":"AgentCash API Payment Endpoint","description":"AgentCash lets AI agents discover APIs and pay from your configured wallet.","url":"https://rsproule.agentcash.me/api/pay?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["amount"],"properties":{"memo":{"type":"string","maxLength":280},"amount":{"type":"number","maximum":10000,"exclusiveMinimum":0}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"10000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$10000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"10000","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"10000","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tec4Pi7x3w8-UwAnxiABg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"10000","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Enables AI agents to discover APIs and execute payments from a configured wallet via the x402 payment protocol","exampleAgentPrompt":"Use AgentCash to pay for my next API call — charge 10000 USDC from my configured wallet and complete the x402 payment so I can access the service.","exampleUseCases":[{"title":"Agent-to-API micropayment automation","prompt":"I want my AI agent to automatically pay for each API it needs to call — use AgentCash to send 10000 USDC from my wallet whenever the agent needs to access a paid endpoint."},{"title":"x402 protocol payment for agent workflow","prompt":"My agent is trying to access a paywalled API that uses the x402 standard — trigger the AgentCash payment endpoint to authorize and disburse 10000 USDC from my configured wallet so the workflow can continue."},{"title":"Crypto wallet disbursement for AI service access","prompt":"My AI agent discovered a new API it needs to use — have it pay 10000 USDC from my AgentCash wallet right now to unlock access to that service."}],"resultDescription":"A payment confirmation or receipt indicating whether the USDC transaction was successfully executed from the configured wallet, along with any authorization token or proof of payment needed to access the target API.","failureModes":["Insufficient wallet balance — wallet does not hold enough USDC to cover the 10000 USDC fee","Wallet misconfiguration — agent's wallet is not properly set up or authorized","Network/blockchain errors — USDC transfer fails due to on-chain congestion or node issues","Invalid recipient endpoint — target API endpoint is not recognized or registered","Payment protocol mismatch — endpoint or caller does not conform to x402 specification","Rate limiting or duplicate payment rejection"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to autonomously execute a USDC payment using the x402 protocol to access a paywalled API, especially when the agent is operating within the AgentCash ecosystem with a pre-configured wallet. Prefer this over generic payment rails when the target API explicitly requires x402-compliant payment authorization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:39:02.734Z","isFirstParty":false,"canonicalSlug":"agentcash-api-payment-endpoint-51704c27"}