{"uid":"cap_pzBmPqOzaZNKBOPvkw9Ge","slug":"maha-strategies-live-x402-payment-preflight-44b90a82","name":"Maha Strategies Live X402 Payment Preflight","description":"Fetch one approved public endpoint without payment. Inspect Base and Arbitrum native-USDC quotes against caller-declared payee and spending caps, plus bounded discovery-schema observations and latency. No signing, settlement test, paid delivery, uptime guarantee or safety clearance.","url":"https://www.mahastrategies.com/api/v1/demand/live-x402-payment-preflight?utm_source=zero.xyz","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","required":["dataClass","resource","expectedPayee","maximumAmountBaseUnits","requiredNetworks"],"properties":{"resource":{"type":"string","maxLength":1024,"minLength":1},"dataClass":{"enum":["public","synthetic"],"type":"string"},"expectedPayee":{"type":"string"},"requiredNetworks":{"type":"array","maxItems":3,"minItems":1},"maximumAmountBaseUnits":{"type":"string"}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["version","productId","inputHash","resultHash","receiptDigest","result","limitations"],"properties":{"result":{"type":"object"},"version":{"type":"string","const":"maha-demand6/1.0.0"},"inputHash":{"type":"string"},"productId":{"type":"string","const":"live-x402-payment-preflight"},"resultHash":{"type":"string"},"limitations":{"type":"array","maxItems":16,"minItems":1},"receiptDigest":{"type":"string"}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0349","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.0349/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0349","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0349","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lCTAQtp-WZKHzaI_HMrns","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0349","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a free pre-flight quote inspecting Base and Arbitrum native-USDC payment requirements for a target resource against caller-declared payee and spending caps, without executing any payment or signing.","exampleAgentPrompt":"Before my agent pays for that resource at https://example.com/data, can you run a preflight check to confirm the payee address 0xABC...123 is correct, the cost stays under 500000 base units of USDC, and it's available on Base and Arbitrum — without actually sending any money?","exampleUseCases":[{"title":"Budget cap check before agent payment","prompt":"Before my workflow pays for the synthetic data feed at https://api.example.com/feed, run a preflight to make sure the payee is 0xDEF...456, the charge won't exceed 1000000 base units, and it works on Base network — don't actually pay anything yet."},{"title":"Multi-network USDC quote comparison","prompt":"I want to see the USDC quotes for accessing the public resource at https://dataservice.io/endpoint on both Base and Arbitrum — can you preflight it against payee 0xAAA...BBB with a max of 2000000 base units and tell me which network is cheaper?"},{"title":"Payee verification before automated spending","prompt":"My agent is about to trigger a recurring payment to 0x999...111 for the resource https://maha.io/report — can you do a preflight inspection to confirm that payee and a 500000 base-unit cap are acceptable on Base before we go live?"}],"resultDescription":"Returns a structured preflight result including the product ID, version, input and result hashes, a receipt digest for audit purposes, the USDC quote details for Base and Arbitrum networks, schema observations, latency measurements, and a list of limitations — all without executing any payment, signing, or settlement.","failureModes":["Resource URL not found or not approved — endpoint returns an error indicating the resource is unavailable or not whitelisted","Payee address format invalid — schema validation rejects malformed Ethereum address strings","Required networks array exceeds maxItems:3 or is empty — request rejected by schema validation","Maximum amount base units value is malformed or non-numeric string — validation error returned","Data class enum value not 'public' or 'synthetic' — schema rejection","Network connectivity issues causing timeout — no uptime guarantee so transient failures are possible"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to verify x402 payment parameters for Base or Arbitrum USDC transactions before committing funds — specifically when you need to confirm payee identity, check that costs fit within a declared cap, and inspect network compatibility without any signing or settlement risk. Prefer this over direct payment calls when operating in a safety-first or budget-constrained agentic workflow where pre-authorization inspection is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:33:15.664Z","isFirstParty":false,"canonicalSlug":"maha-strategies-live-x402-payment-preflight-44b90a82"}