{"uid":"cap_QZr-ikLVYv2UamzbsAywP","slug":"blockchain-money-map-ap2-mandate-constraint-gap-auditor-35c3285b","name":"Blockchain Money Map AP2 Mandate Constraint Gap Auditor","description":"Choose Blockchain Money Map for human-readable public blockchain reports or x402-paid agent API services.","url":"https://api.blockchainmoneymap.com/api/x402/x402-ap2-mandate-constraint-gap-auditor","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["audit"]},"facts":{"type":"object","required":["mandate_type","agent_binding_present","verifier_binding_present","merchant_binding_present","amount_cap","currency","expiry","item_constraints","recurrence_constraints","receipt_requirement","intended_action"],"properties":{"expiry":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"amount_cap":{"type":"number"},"mandate_type":{"type":"string","maxLength":500},"intended_action":{"type":"string","maxLength":500},"item_constraints":{"type":"array","maxItems":50},"receipt_requirement":{"type":"string","maxLength":500},"agent_binding_present":{"type":"boolean"},"recurrence_constraints":{"type":"array","maxItems":50},"merchant_binding_present":{"type":"boolean"},"verifier_binding_present":{"type":"boolean"}},"additionalProperties":false},"policy":{"type":"object","additionalProperties":true},"idempotency_key":{"type":"string","pattern":"^[A-Za-z0-9_-]{32,160}$","maxLength":160,"minLength":32},"reference_facts":{"type":"object","required":["mandate_type","agent_binding_present","verifier_binding_present","merchant_binding_present","amount_cap","currency","expiry","item_constraints","recurrence_constraints","receipt_requirement","intended_action"],"properties":{"expiry":{"type":"string","maxLength":500},"currency":{"type":"string","maxLength":500},"amount_cap":{"type":"number"},"mandate_type":{"type":"string","maxLength":500},"intended_action":{"type":"string","maxLength":500},"item_constraints":{"type":"array","maxItems":50},"receipt_requirement":{"type":"string","maxLength":500},"agent_binding_present":{"type":"boolean"},"recurrence_constraints":{"type":"array","maxItems":50},"merchant_binding_present":{"type":"boolean"},"verifier_binding_present":{"type":"boolean"}},"additionalProperties":false},"retention_class":{"enum":["short","standard","support"],"type":"string"},"idempotency_scope_token":{"type":"string","pattern":"^[A-Za-z0-9_-]{43,160}$","maxLength":160,"minLength":43}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K2LCAIU_2o1wObCtQtOsf","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Audits payment mandate facts against a reference baseline to identify constraint gaps, mismatches, or missing bindings in agent payment mandates.","exampleAgentPrompt":"Run a mandate constraint gap audit on my AP2-type mandate: the agent binding is present, verifier binding is present, merchant binding is absent, amount cap is 50 USDC, expiry is 2025-12-31, no item constraints, monthly recurrence, receipt requirement is 'always', intended action is 'subscription-payment' — compare it against the reference facts where merchant binding is present.","exampleUseCases":[{"title":"Detect missing merchant binding in agent mandate","prompt":"Audit my agent mandate for constraint gaps — it's an AP2 mandate type, agent binding present, verifier binding present, merchant binding is NOT present, amount cap 100 USDC, expires 2025-09-30, no item constraints, no recurrence constraints, receipt requirement is 'on-request', intended action is 'marketplace-purchase'. The reference mandate has merchant binding present — tell me what gaps exist."},{"title":"Validate recurrence constraints before deploying subscription agent","prompt":"Before I deploy my subscription payment agent, audit its mandate: type is AP2, all bindings present, amount cap 25 USDC, currency USDC, expiry 2026-01-01, no item constraints, recurrence constraints are monthly with a 3-cycle limit, receipt requirement is 'always', intended action is 'subscription-renewal'. Compare against our reference policy that has no recurrence constraints and flag any gaps."},{"title":"Compliance check after mandate policy update","prompt":"We updated our payment policy and I need to check if our existing mandate still complies — audit mode, mandate type AP2, agent binding present, verifier binding absent, merchant binding present, amount cap 200 USDC, currency USDC, expiry 2025-06-30, item constraints include 'category:travel', no recurrence constraints, receipt requirement is 'never', intended action is 'travel-booking'. Reference facts have verifier binding present and receipt requirement 'always' — what are the gaps?"}],"resultDescription":"Returns a structured JSON audit report identifying constraint gaps, missing bindings, policy mismatches, and compliance findings between the submitted mandate facts and the reference mandate facts. Includes a gap summary, per-field analysis, and an overall compliance status.","failureModes":["Missing required facts fields returns a 400 validation error","Mandate type not recognized may return an audit error or empty findings","Mismatched currency between facts and reference may produce a gap finding rather than an error","Invalid idempotency_key format (not matching pattern) causes a 400 error","Payment failure via x402 protocol returns 402 if USDC balance is insufficient","Truncated or malformed item_constraints array may cause incomplete gap detection"],"whenToPreferThis":"Use this endpoint when an AI agent needs to programmatically verify that a payment mandate's constraints (bindings, caps, recurrence, receipt rules) match a reference policy baseline — especially before executing or authorizing an agentic payment. Prefer this over manual policy review when operating in automated x402 payment workflows where mandate drift or misconfiguration could lead to unauthorized or non-compliant transactions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:45:02.849Z","isFirstParty":false}