{"uid":"cap_lliZZ07rGNQg7lYSpk9C1","slug":"forge-cascade-agent-payments-x402-demo-6c536d98","name":"Forge Cascade Agent Payments x402 Demo","description":"Public endpoint that intentionally returns a 402 challenge.","url":"https://api.relai.fi/relay/1781295889777/api/v1/agent-payments/x402-demo","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"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_AMd9ocYIFsNTc4uAR4CDH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"ETH","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a 402 Payment Required challenge to demonstrate the x402 HTTP payment protocol for AI agent micropayments.","exampleAgentPrompt":"Trigger the x402 payment challenge on the Forge Cascade demo endpoint so I can test whether my agent correctly handles a 402 Payment Required response and resolves it with a 0.01 USDC micropayment.","exampleUseCases":[{"title":"Validate agent micropayment handling","prompt":"Send a request to the Forge Cascade endpoint and check if my agent can properly detect the 402 challenge, parse the payment instructions, and complete the 0.01 USDC transaction without manual intervention."},{"title":"Demo x402 protocol for stakeholders","prompt":"Run through the full x402 payment flow with the Forge Cascade endpoint so our team can see how agents autonomously handle micropayment challenges in a real-world scenario."},{"title":"Test USDC payment integration","prompt":"Hit the Forge Cascade demo endpoint to verify that my agent's USDC wallet integration works correctly when it receives and processes the 402 payment challenge."}],"resultDescription":"Returns an HTTP 402 Payment Required response containing an x402 challenge payload that specifies the payment amount (0.01 USDC), payment network, and instructions for the agent to fulfill the payment and retry the request.","failureModes":["Missing or malformed request body returns 400 Bad Request","Network timeout if agent takes too long to respond","Payment header already included may bypass challenge or return unexpected result","Rate limiting may trigger 429 if called too frequently","Incorrect content-type header may cause parsing errors"],"whenToPreferThis":"Use this endpoint when you need to test or demonstrate the x402 HTTP micropayment protocol flow, specifically to verify that an AI agent can correctly detect, parse, and respond to a 402 Payment Required challenge using USDC. Prefer this over building a mock yourself since it provides a real, live 402 challenge environment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:55:12.624Z","isFirstParty":false}