{"uid":"cap_C1TcjZV2tBWsLTXVhj5Yd","slug":"x402-trust-layer-bedrock-preflight-guard-f5a3446f","name":"x402 Trust Layer – Bedrock Preflight Guard","description":"68 paid x402 trust infrastructure APIs: guard, semantic escrow, mandate diff, certified seller network, KYM, mandates, compliance, disputes, and orchestration.","url":"https://x402trustlayer.xyz/api/bedrock/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["messageVersion","response"],"properties":{"response":{"type":"object","required":["actionGroup","apiPath","httpMethod","httpStatusCode","responseBody"],"properties":{"apiPath":{"type":"string"},"httpMethod":{"type":"string"},"actionGroup":{"type":"string"},"responseBody":{"type":"object","required":["application/json"],"properties":{"application/json":{"type":"object","required":["body"],"properties":{"body":{"type":"string"}}}}},"httpStatusCode":{"type":"number"}}},"messageVersion":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"response":{"apiPath":"/guard/pre-x402","httpMethod":"POST","actionGroup":"TrustLayerGuard","responseBody":{"application/json":{"body":"{\"ok\":true,\"allowed\":true,\"summary\":\"Spend policy allows call — proceed to x402 payment\"}"}},"httpStatusCode":200},"messageVersion":"1.0"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_M6fY-oy7UFP3S7ydnEtX9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Performs a pre-payment policy check (preflight guard) to determine whether an x402 spend is allowed before initiating a payment","exampleAgentPrompt":"Before paying for that x402 API call, run a preflight guard check using a GET HTTP method to confirm my spend policy allows it and tell me if I should proceed.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'ok' boolean, an 'allowed' boolean indicating whether the spend policy permits the call, and a human-readable 'summary' explaining the policy decision (e.g. 'Spend policy allows call — proceed to x402 payment').","failureModes":["Invalid or missing 'type' field (must be 'http') returns a validation error","HTTP method not in allowed enum (GET, HEAD, DELETE) returns 400","Policy denial returns ok:true but allowed:false with a summary explaining the restriction","Network or service unavailability returns 5xx error","Malformed input schema results in JSON parse error"],"whenToPreferThis":"Use this endpoint as a mandatory pre-flight step before any x402 payment to ensure the intended spend is within policy limits. Prefer this over direct payment when you need to enforce spend mandates, avoid unauthorized charges, or implement agent guardrails around autonomous payments. This is the correct first step in an x402 agentic payment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:43:14.331Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-bedrock-preflight-guard-f5a3446f"}