{"uid":"cap_9yC0WRB-QsrMohLAkArHV","slug":"x402-trust-layer-spend-governor-check-d0c1cff9","name":"x402 Trust Layer Spend Governor Check","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/spend-governor/check?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":["ok","allowed","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Paid response after x402 settlement"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sFeZM7m67667BaQYIXwr0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a spending action is allowed under the active x402 spend governance policy after micropayment settlement","exampleAgentPrompt":"Before proceeding with this paid API call, check if the spend governor allows a GET request through x402 trust layer so I know whether I'm authorized to proceed.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an 'ok' boolean indicating request success, an 'allowed' boolean indicating whether the spend action is permitted under current governance rules, and a 'summary' string explaining the decision.","failureModes":["Missing required 'input' field returns validation error","Unsupported HTTP method (e.g. POST, PUT) fails schema validation since only GET, HEAD, DELETE are allowed","Payment not settled results in 402 response requiring x402 payment flow","Malformed input object with extra properties rejected due to additionalProperties: false","Network timeout or service unavailability returns 5xx error","Spend limit exceeded returns allowed: false with explanatory summary"],"whenToPreferThis":"Use this endpoint when an AI agent needs to pre-check whether a spending action is permissible under the active x402 mandate or governance policy before committing to a paid operation. Prefer this over general compliance checks when working within the x402 micropayment ecosystem and needing a lightweight allow/deny gate for HTTP-level spend decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:39:22.292Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-spend-governor-check-d0c1cff9"}