{"uid":"cap_MIvfX9juAzoPoBc63QIy3","slug":"0xbs-x402-demo-agent-payable-esp32-hardware-81dfa25c","name":"0xBs x402 Demo — Agent-Payable ESP32 Hardware","description":"Public discovery + payable HTTP resource for 0xBs. Agents pay USDC on Base (x402); ESP32 hardware is fulfilled through the device control plane after settlement.","url":"https://x402.0xbs.org/x402/demo","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"schema":{"type":"object"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}},"discoverable":{"type":"boolean"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"asset":"USDC","amount":"0.01","message":"Payment accepted. This is the public x402 resource for 0xBs agent-payable hardware (ESP32, USDC on Base).","network":"base","service":"0xbs-x402-demo"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KnuQhiadhZ1TLjH2XofrR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a confirmation message after accepting a $0.01 USDC micropayment on Base, demonstrating the x402 payment protocol for agent-payable ESP32 hardware.","exampleAgentPrompt":"Hit the 0xBs x402 demo endpoint and pay the $0.01 USDC fee on Base to get the agent-payable hardware confirmation back.","exampleUseCases":[{"title":"Testing x402 micropayment protocol","prompt":"Can you call the 0xBs x402 demo and pay the 1-cent USDC fee on Base so I can confirm the payment protocol is working end-to-end?"},{"title":"Agent-payable IoT access proof of concept","prompt":"I'm building an AI agent that should pay for ESP32 hardware data using USDC — can you call the 0xBs demo endpoint so I can see what a successful x402 payment response looks like?"},{"title":"Verifying Base network USDC payment flow","prompt":"Please access the 0xBs x402 hardware demo by paying 0.01 USDC on Base and show me the confirmation message it returns."}],"resultDescription":"A JSON object confirming payment acceptance, including: ok (true), asset ('USDC'), amount ('0.01'), a human-readable message identifying the service as the 0xBs agent-payable hardware demo on Base, the network name ('base'), and service identifier ('0xbs-x402-demo').","failureModes":["Payment not included or insufficient — endpoint returns 402 Payment Required","Invalid or malformed x402 payment header — authentication/payment validation fails","Network issues connecting to Base — payment cannot be verified","USDC balance insufficient on sending wallet — transaction fails before reaching endpoint","Endpoint temporarily unavailable — 503 or timeout response"],"whenToPreferThis":"Choose this endpoint when you need a live, real-money x402 protocol demo to test agent-to-API micropayment flows using USDC on Base, especially for IoT or ESP32-related hardware payment patterns. Ideal for developers validating x402 integrations or AI agents that need a known-good reference endpoint for on-chain micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:37:35.909Z","isFirstParty":false}