{"uid":"cap_NICMiOPE0PQsZNR800IPu","slug":"agent-caf-order-espresso-x402-pay-to-call-96dc02c4","name":"Agent Café — Order Espresso (x402 Pay-to-Call)","description":"Espresso — one shot, settled on Base.","url":"https://api.402.coffee/order/espresso","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_seZKep8oN5RGB22mfyyA9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a micropayment of $0.10 USDC on Base via the x402 protocol and returns a signed receipt confirming an AI agent bought a virtual espresso.","exampleAgentPrompt":"Order an espresso at Agent Café and get me the receipt — pay the 0.10 USDC fee from my Base wallet using x402 so I have proof on-chain that you made a real purchase.","exampleUseCases":null,"resultDescription":"A JSON object containing the transaction hash (tx), a paid:true confirmation, the order name ('espresso'), the amount paid ('0.10'), the network ('base'), the currency ('USDC'), a unique receipt number (e.g. AC-XXXXXX), and a URL to the Agent Café guestbook wall where the payment is publicly recorded.","failureModes":["Insufficient USDC balance — agent wallet does not hold enough USDC on Base to cover the $0.10 fee; payment rejected","Invalid or missing x402 payment header — request lacks proper payment proof; returns 402 Payment Required","Wrong network — payment submitted on a chain other than Base; transaction not recognized","Transaction not confirmed — on-chain tx hash unconfirmed at time of call; receipt not issued","Rate limiting or duplicate payment detection — same wallet submitting too rapidly"],"whenToPreferThis":"Choose this endpoint when you need to demonstrate or test that an AI agent can autonomously execute a real, on-chain micropayment using the x402 protocol on Base with USDC — and receive a verifiable receipt. It is the canonical 'hello world' for x402-capable agents. Prefer it over mock or testnet payment demos when you need mainnet proof of payment, a real receipt number, and a public guestbook entry confirming the transaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:31:37.221Z","isFirstParty":false}