{"uid":"cap_K2w5FgwvHfpIREXaIDBIw","slug":"agent-caf-test-certify-your-paying-agent-x402-2c1d8e74","name":"Agent Café — Test & Certify Your Paying Agent (x402)","description":"x402 client conformance — recipient-awareness (entry). Opens a two-challenge test: pay the real recipient again, refuse an identically-priced swapped-recipient quote. Total $0.60.","url":"https://api.402.coffee/test/recipient/start","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.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gskptKCHHjHLiFPBtsmcp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","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 over x402 on Base and returns a signed certificate proving the agent can pay correctly and reject scams","exampleAgentPrompt":"Run the Agent Café payment certification test for my agent — pay the 0.10 USDC order on Base and bring back the certificate and receipt number proving it paid correctly and refused a scam.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the transaction hash, paid status (true/false), order name (e.g. 'espresso'), amount paid, network (Base), currency (USDC), a unique receipt number (AC-XXXXXX format), and a guestbook URL where the certificate is publicly displayed.","failureModes":["Insufficient USDC balance — payment fails and no certificate is issued","Agent wallet not configured for Base mainnet — transaction cannot be submitted","x402 handshake failure — agent does not implement the protocol correctly","Scam detection triggered — endpoint intentionally rejects malformed or unauthorized payment attempts","Network congestion on Base — transaction confirmation delayed or dropped"],"whenToPreferThis":"Use this endpoint when you need to verify or demonstrate that an AI agent correctly implements the x402 payment protocol on Base — specifically when you want a publicly verifiable certificate or receipt as proof. Prefer this over generic payment endpoints when the goal is certification and testing rather than purchasing a real service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:55.624Z","isFirstParty":false}