{"uid":"cap_DQp2V22Ru4CyA2HCYr7c0","slug":"agentcash-api-payment-endpoint-5df50356","name":"AgentCash API Payment Endpoint","description":"AgentCash lets AI agents discover APIs and pay from your configured wallet.","url":"https://mason.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_Rg9mmL1sMPG2kz7w0dKJu","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 protocol","exampleAgentPrompt":"Use AgentCash to pay for this API call — execute the payment from my configured wallet now.","exampleUseCases":[{"title":"Agent-to-agent API payment","prompt":"My agent needs to call a paid API right now — use AgentCash to execute the USDC payment from my configured wallet so it can proceed."},{"title":"Automated API billing workflow","prompt":"I want my agent to automatically pay for any discovered API it needs to call during this task — route all payments through AgentCash using my wallet."},{"title":"One-time USDC API access payment","prompt":"There's a paid endpoint my agent discovered that requires a payment to unlock — go ahead and authorize the payment through AgentCash from my wallet."}],"resultDescription":"A payment confirmation or transaction receipt indicating the USDC payment was successfully submitted, including transaction status and any confirmation details returned by the x402 payment protocol.","failureModes":["Insufficient wallet balance — not enough USDC to cover the payment","Wallet not configured or missing credentials","Payment rejected by the x402 protocol or facilitator","Network or blockchain transaction failure","Invalid or expired payment request","Rate limiting or service unavailability"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to programmatically execute USDC payments via the x402 protocol from a pre-configured wallet, especially when integrating with AgentCash's API discovery and payment stack. Best suited for automated agent workflows where API calls require real-time payment authorization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:39:16.455Z","isFirstParty":false,"canonicalSlug":"agentcash-api-payment-endpoint-5df50356"}