{"uid":"cap__TCadtoClltS9TlBFGd1E","slug":"agent-transaction-trust-public-transaction-preflight-589c33a2","name":"Agent Transaction Trust — Public Transaction Preflight","description":"Public, account-free preflight for an autonomous x402 payment. Validates the merchant's exact PAYMENT-REQUIRED challenge against the intended request, checks Base USDC payment integrity and public merchant/payTo risk evidence, and returns APPROVED, REVIEW or DENIED with signed proof. It does not grant spending authority: an APPROVED result means the transaction evidence is clear enough to proceed only if separate delegated authority also permits the spend.","url":"https://json-repair-api-9ybv.onrender.com/trust/x402/preflight?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"request":{"type":"object","required":["method","url"],"properties":{"url":{"type":"string"},"body":{},"method":{"type":"string"}},"description":"Exact HTTP request the agent intends to make after the preflight."},"category":{"type":"string","description":"Optional purchase category for audit context."},"merchant_id":{"type":"string","description":"Optional stable merchant identifier. If omitted, the resource hostname is used."},"payment_required":{"oneOf":[{"type":"object"},{"type":"string"}],"description":"The merchant's real x402 PAYMENT-REQUIRED payload, as decoded JSON or its encoded string."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pkjw88ZeEAlsvbOgTMMmt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an x402 PAYMENT-REQUIRED challenge against an intended HTTP request and returns APPROVED, REVIEW, or DENIED with signed proof of merchant/payment risk assessment — no account required.","exampleAgentPrompt":"Before my agent pays this merchant, run a preflight check on their x402 PAYMENT-REQUIRED challenge against the POST request to https://api.somemerchant.com/data — I want to see if it comes back APPROVED, REVIEW, or DENIED before any funds move.","exampleUseCases":[{"title":"Pre-authorize agent API marketplace payment","prompt":"My AI agent wants to call a paid API at https://api.datavendor.com/prices and just received a PAYMENT-REQUIRED challenge — can you preflight that x402 challenge against the intended GET request and tell me if the merchant risk looks clean before we proceed?"},{"title":"Flag suspicious x402 merchant before spend","prompt":"Before my agent pays 0.001 USDC to merchant 'quickdata-services.io' via x402, run a preflight check on their PAYMENT-REQUIRED payload against the POST to https://quickdata-services.io/query and let me know if it comes back DENIED or needs review."},{"title":"Audit trail for autonomous payment compliance","prompt":"For compliance logging, preflight the x402 PAYMENT-REQUIRED challenge my agent received for a 'market-data' category purchase at https://feeds.tradinginfo.net/live — I need the signed proof result showing APPROVED before the spend is authorized downstream."}],"resultDescription":"Returns a trust decision of APPROVED, REVIEW, or DENIED along with signed proof of the assessment, merchant/payTo risk evidence, and Base USDC payment integrity findings. Does not grant spending authority — an APPROVED result only confirms the transaction evidence is clean; separate delegated authority must also permit the spend.","failureModes":["Malformed or missing payment_required payload causes validation failure","Mismatch between the provided request and the x402 challenge results in DENIED","Unknown or unresolvable merchant hostname returns REVIEW with limited risk evidence","Invalid JSON in payment_required encoded string causes parse error","Missing required request.method or request.url fields returns 400-level error"],"whenToPreferThis":"Use this endpoint when an AI agent has received an x402 PAYMENT-REQUIRED challenge and needs a lightweight, account-free risk verdict before deciding whether to proceed with a Base USDC payment. It is the right choice for a stateless preflight check that requires no pre-registration — ideal as an early gate in a multi-step autonomous payment pipeline where a separate authorization step will still control actual fund movement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T12:31:07.153Z","isFirstParty":false,"canonicalSlug":"agent-transaction-trust-public-transaction-preflight-589c33a2"}