{"uid":"cap_E2tkBEniABYxXymzzPs-5","slug":"x402-trust-layer-mandate-diff-fe7f53a9","name":"x402 Trust Layer – Mandate Diff","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/mandate/diff?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","liabilityTier","mandateValid","withinMandateScope","violations","summary"],"properties":{"ok":{"type":"boolean"},"allowed":{"type":"boolean"},"summary":{"type":"string"},"violations":{"type":"array","items":{"type":"object"}},"mandateValid":{"type":"boolean"},"liabilityTier":{"type":"string"},"withinMandateScope":{"type":"boolean"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"allowed":true,"summary":"Tool trace within mandate scope — proceed to x402 payment","violations":[],"mandateValid":true,"liabilityTier":"allow","withinMandateScope":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_liw_Ar41_RpDhfxgOxJlH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a proposed HTTP request against an active mandate to determine if it is within scope, valid, and allowed to proceed to x402 payment.","exampleAgentPrompt":"Before I pay for this API call, check if a GET request is within my current mandate scope and tell me the liability tier and whether any violations exist.","exampleUseCases":null,"resultDescription":"Returns a JSON object indicating whether the request is allowed (ok, allowed booleans), whether the mandate is valid and the request is within its scope, a liability tier string (e.g. 'allow'), a list of any violations, and a plain-language summary such as 'Tool trace within mandate scope — proceed to x402 payment'.","failureModes":["Missing required 'type' or 'method' fields returns validation error","Unsupported HTTP method (e.g. POST or PUT) rejected by enum constraint","Mandate not found or expired may return mandateValid: false","Network or service error returns non-200 response","Malformed input object returns schema validation failure"],"whenToPreferThis":"Use this endpoint when an AI agent or orchestrator needs to verify that a planned HTTP action (GET, HEAD, or DELETE) is sanctioned by an existing mandate before committing to an x402 payment. It is the canonical pre-payment compliance gate in the x402 Trust Layer ecosystem, providing liability tier and violation details that no generic access-control API offers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-03T00:33:29.635Z","isFirstParty":false,"canonicalSlug":"x402-trust-layer-mandate-diff-fe7f53a9"}