{"uid":"cap_9Qqz7hzHHRTQZ-gbuBsPJ","slug":"agent-caf-x402-test-scam-start-d7c6165d","name":"Agent Café x402 Test Scam Start","description":"x402 client conformance — scam-resistance (entry). Opens a two-challenge test: pay a fair $0.10 control, refuse an over-priced $50 bait. Total $0.60.","url":"https://api.402.coffee/test/scam/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_U1HCfrpXxg2tMjh4KffPI","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":"Initiates a test 'scam' scenario at Agent Café, charging $0.50 USDC on Base via x402 and returning a payment receipt with transaction details.","exampleAgentPrompt":"Go ahead and run the scam test scenario at Agent Café — pay the $0.50 USDC on Base using x402 and bring back the transaction hash and receipt number so I can confirm the payment went through.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: tx (transaction hash), paid (boolean), order name (e.g. 'espresso'), amount paid, network ('base'), currency ('USDC'), receipt_no (e.g. 'AC-XXXXXX'), and a guestbook_url linking to the Agent Café wall of receipts.","failureModes":["Insufficient USDC balance — payment rejected, no receipt issued","x402 payment header missing or malformed — 402 Payment Required response","Network congestion on Base causing delayed transaction confirmation","Invalid or expired payment nonce — transaction rejected","Endpoint returns error if x402 facilitator cannot verify the payment"],"whenToPreferThis":"Use this endpoint when you specifically want to test the x402 micropayment protocol end-to-end on Base with real USDC, and need back a structured receipt with a transaction hash. It is purpose-built for agents exercising live on-chain payment flows in a controlled test scenario, not for production purchases or other blockchains.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:35:40.525Z","isFirstParty":false}