{"uid":"cap_e4MfdX5AVWgyse0Bduh4R","slug":"samedaydesk-payment-offer-preflight-9ecd8e54","name":"SameDayDesk Payment Offer Preflight","description":"Compare x402 and MPP challenges before authorization and return normalized terms, binding checks, parity, and a bounded decision. The workflow-safe POST form accepts the target URL in a JSON body.","url":"https://agents.samedaydesk.com/commerce/payment-offer-preflight","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"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","format":"uri","maxLength":2048,"description":"Exact public HTTPS GET URL to inspect. Credential-like query keys, fragments, unresolved parameters, local hosts, redirects, and non-public IPs are rejected."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["ok","product","version","checkedAt","target","decision","protocols","offerCount","offers","parity","catalogCoherence","responseContract","responseContractAcquisition","findings","boundary"],"properties":{"ok":{"type":"boolean","const":true},"offers":{"type":"array"},"parity":{"type":"object"},"target":{"type":"object"},"product":{"type":"string","const":"samedaydesk-payment-offer-preflight"},"version":{"type":"string","const":"1.2.0"},"boundary":{"type":"object"},"decision":{"enum":["parseable_offer","review_required","no_parseable_offer"],"type":"string"},"findings":{"type":"array"},"checkedAt":{"type":"string","format":"date-time"},"protocols":{"type":"array","items":{"enum":["mpp","x402"],"type":"string"}},"offerCount":{"type":"integer","minimum":0},"catalogCoherence":{"type":"array"},"responseContract":{"type":"object"},"responseContractAcquisition":{"type":"object"}},"additionalProperties":false}}}}},"responseSchema":{"type":"json","example":{"ok":true,"offers":[{"valid":true,"intent":"exact","scheme":"exact","network":"eip155:8453","protocol":"x402","amountAtomic":"20000"}],"parity":{"compared":true,"consistent":true,"driftFields":[]},"target":{"url":"https://agents.samedaydesk.com/defi/morpho-position?address=0x8ee9c15c3e5332cbc6ef39a2bb036c63c6549b6e","method":"GET","httpStatus":402},"product":"samedaydesk-payment-offer-preflight","version":"1.2.0","boundary":{"paymentSent":false,"paymentSigned":false,"credentialsUsed":false,"redirectsFollowed":false,"openApiDocumentRead":true,"targetResponseBodyRead":false},"decision":"parseable_offer","findings":[],"checkedAt":"2026-08-10T20:00:00.000Z","protocols":["mpp","x402"],"offerCount":2,"catalogCoherence":[],"responseContract":{"decision":"admissible","exampleStatus":"structurally_consistent","requiredPaths":["ok","title","url"],"requiredFields":["ok","title","url"],"runtimeResponseVerified":false},"responseContractAcquisition":{"path":"/openapi.json","maxBytes":1000000,"attempted":true,"sameOrigin":true,"documentRead":true,"credentialsUsed":false,"redirectsFollowed":false,"targetResponseBodyRead":false}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BRNjqHBDgS0EHoX6cUF8N","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares x402 and MPP payment challenges before authorization, returning normalized terms, binding checks, parity analysis, and a bounded payment decision for a given target URL.","exampleAgentPrompt":"Before I authorize payment for https://agents.samedaydesk.com/commerce/some-paid-endpoint, run a preflight check on it — compare the x402 and MPP challenges, tell me if the terms are consistent and safe, and give me a go/no-go decision.","exampleUseCases":[{"title":"Preflight before agent pays paywalled API","prompt":"Before my agent pays for access to that paywalled data endpoint at https://api.example.com/reports/q4, run a preflight on it — check the x402 and MPP challenges, confirm the terms match up, and tell me if it's safe to authorize."},{"title":"Detecting protocol parity mismatch","prompt":"I'm worried the x402 and MPP payment offers for https://partner.example.com/data-feed aren't asking for the same amount — can you do a preflight comparison and flag any parity issues before I let my agent proceed?"},{"title":"Automated payment safety gate in workflow","prompt":"Every time my workflow is about to make a payment, I want it to preflight-check the target URL first — run the payment offer preflight on https://agents.samedaydesk.com/commerce/premium-snapshot and only approve if the bounded decision comes back safe."}],"resultDescription":"Returns a structured JSON object containing: normalized payment terms from both x402 and MPP challenges, binding checks (whether each challenge meets required constraints), a parity assessment (whether both protocols agree on amount and conditions), and a bounded decision (go/no-go recommendation for authorization). No funds are moved; this is a read-only preflight analysis.","failureModes":["Target URL is unreachable or returns no payment challenge — endpoint returns an error indicating no challenge found","URL returns a malformed or non-standard x402/MPP challenge — normalization may fail with a parse error","Parity check fails because x402 and MPP terms differ significantly — returned as a parity mismatch in the decision object","Invalid or missing target URL in the JSON body — likely a 400 bad request","Target URL requires authentication that the preflight cannot supply — challenge may be incomplete"],"whenToPreferThis":"Use this endpoint when an AI agent needs to safely inspect and compare payment challenges (x402 and/or MPP) before committing funds for a target URL. It is the right choice when you want a normalized, protocol-agnostic view of payment terms and an automated parity/binding check — especially in agentic workflows where an automated payment gate is needed before any real authorization occurs. Prefer this over directly parsing raw challenge headers when you need a structured, human-readable comparison and a concrete go/no-go recommendation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:49:40.181Z","isFirstParty":false}