{"uid":"cap_FgGTRVOQOrCVYrDyGXoVG","slug":"agent-caf-basic-test-endpoint-api-402-coffee-5cd062bf","name":"Agent Café Basic Test Endpoint (api.402.coffee)","description":"x402 client conformance — basic. Pay to certify your agent can complete a real x402 payment; get a public certificate + README badge.","url":"https://api.402.coffee/test/basic","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","properties":{},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"pathParams":{"type":"object"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tx":"0x…","paid":true,"order":"espresso","amount":"0.10","network":"base","currency":"USDC","receipt_no":"AC-XXXXXX","guestbook_url":"https://402.coffee/wall"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SHMIDadzUAqfmKudZkBcp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a USDC micropayment on Base via the x402 protocol and returns a payment receipt confirming the transaction.","exampleAgentPrompt":"Send a real USDC payment on Base via the x402 protocol to the Agent Café test endpoint and bring back the receipt — I want to confirm you can actually complete an on-chain micropayment autonomously.","exampleUseCases":null,"resultDescription":"A JSON object containing the transaction hash, a paid:true confirmation, the order name (e.g. 'espresso'), the amount paid in USDC, the network ('base'), the currency ('USDC'), a unique receipt number (e.g. 'AC-XXXXXX'), and a guestbook URL where the payment is recorded publicly.","failureModes":["Insufficient USDC balance — payment cannot be authorized, x402 402 response returned","Invalid or missing x402 payment header — request rejected before processing","Network congestion on Base causing transaction delays or timeouts","Transaction broadcast failure due to RPC issues on Base","Duplicate payment attempt flagged by facilitator"],"whenToPreferThis":"Use this endpoint when you need to demonstrate or test that an AI agent can autonomously execute a real on-chain USDC micropayment using the x402 protocol on Base, and obtain a cryptographically verifiable receipt. Prefer this over mock or sandbox payment endpoints when you need proof of live payment capability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:16.947Z","isFirstParty":false}