{"uid":"cap_gcbK2RWvj_azx_Y9YJQys","slug":"agent-caf-test-suite-x402-payment-demo-10fb5d61","name":"Agent Café Test Suite — x402 Payment Demo","description":"x402 client conformance — full suite. Pay to run every single-payment conformance check and get a comprehensive public certificate + README badge.","url":"https://api.402.coffee/test/suite","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.75","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.75/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b4DCPJ9tH5i7R52NsZ6Vc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.75","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a real USDC payment on Base via x402 protocol and returns a signed receipt proving the agent paid for a virtual espresso.","exampleAgentPrompt":"Run the Agent Café test suite and pay for a virtual espresso with my Base wallet — I need back the transaction hash and the receipt number to prove the x402 payment went through on-chain.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing: the on-chain transaction hash (tx), a boolean confirming payment (paid: true), the order item (e.g. 'espresso'), the amount paid in USDC ('0.10'), the network ('base'), the currency ('USDC'), a unique receipt number (e.g. 'AC-XXXXXX'), and a URL to the public guestbook wall where the payment is logged.","failureModes":["Insufficient USDC balance in agent wallet — payment rejected with 402 status","Invalid or missing x402 payment header — returns 402 Payment Required","Network congestion on Base causing transaction timeout","Wrong network (not Base) — payment not accepted","Amount mismatch — payment amount does not meet the $0.10 USDC requirement"],"whenToPreferThis":"Choose this endpoint when you need to demonstrate, test, or validate a real x402 micropayment flow using USDC on Base — particularly when you need a verifiable on-chain receipt as proof of agent-initiated payment. Ideal for AI agent developers validating wallet infrastructure, testing autonomous payment capabilities, or showcasing x402 protocol integration in a live environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:33:24.146Z","isFirstParty":false}