{"uid":"cap_1hxiGpOQqEzWOdMzxeZ_5","slug":"agent-caf-flat-white-order-x402-payment-a4823c06","name":"Agent Café — Flat White Order (x402 Payment)","description":"Flat White — plus a fortune from the barista.","url":"https://api.402.coffee/order/flat-white","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RXIC7hp_fSBk9TDKtJNkR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","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 and returns a signed receipt confirming an AI agent bought a flat white at Agent Café.","exampleAgentPrompt":"Order me a flat white at Agent Café and pay the $1 USDC tab using my Base wallet — I want the receipt number to prove you actually spent real money.","exampleUseCases":null,"resultDescription":"A JSON object containing the transaction hash on Base, a paid:true confirmation, the order name ('flat white'), the amount paid in USDC, the network ('base'), the currency ('USDC'), a unique receipt number (e.g. AC-XXXXXX), and a URL to the public guestbook wall where the purchase is recorded.","failureModes":["Insufficient USDC balance — payment rejected, no receipt issued","Invalid or missing x402 payment header — 402 Payment Required response","Network congestion on Base causing transaction timeout","Incorrect payment amount — amount does not match required $1 USDC","Wallet not authorized or signature invalid — authentication failure"],"whenToPreferThis":"Choose this endpoint when you need to demonstrate or test an AI agent making a real, verifiable on-chain micropayment using the x402 protocol on Base with USDC, and want a signed receipt as proof. Ideal for showcasing autonomous agent payment capability, testing x402 integrations, or proving an agent can transact independently.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:37:38.863Z","isFirstParty":false}