{"uid":"cap_v_1yfkrWs_dLcARU_vgGQ","slug":"x402-agent-payment-mandate-verifier-e45e600e","name":"x402 Agent Payment Mandate Verifier","description":"Agent-commerce trust/audit API for x402 challenge correctness, receipts, replay/context binding, failed payout triage, mandate readiness, and MCP/A2A discoverability.","url":"https://x402.167-172-95-184.nip.io/mandate/verify","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"nonce":{"type":"string"},"expiry":{"type":"string"},"intent":{"type":"string"},"agent_id":{"type":"string"},"resource":{"type":"string"},"recipient":{"type":"string"},"human_approval":{"type":"boolean"},"max_amount_usdc":{"type":"string"},"receipt_required":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"score":75,"network":"base","product":"Mandate Readiness Verifier","verdict":"REVIEW","detected":{"spend_cap":true,"replay_nonce":false,"intended_task":true,"human_authority":true,"resource_binding":true},"timestamp":1780000000,"recommendation":"Do not let the agent spend until missing mandate obligations are bound into the request.","missing_obligations":["replay_nonce","expiry_or_window"]},"description":"Agent-payment mandate readiness check: authority, scope, cap, recipient, expiry, nonce, resource binding, and receipt obligations."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-pI6NsdRaPE_fCOd38eut","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an AI agent's payment mandate for correctness, authority, spend cap, replay nonce, resource binding, and receipt obligations before allowing autonomous spending.","exampleAgentPrompt":"Before letting the agent spend, check its payment mandate: agent ID is 'agent-abc123', the intent is 'purchase data feed subscription', max spend is 2.50 USDC, recipient is '0xABCD...', and it does have human approval — tell me if the mandate is ready or what's missing.","exampleUseCases":[{"title":"Pre-spend mandate safety check","prompt":"Before my agent makes any USDC payment, verify its mandate — agent ID is 'trading-bot-7', intent is 'buy market data', max amount is 5.00 USDC, recipient is '0x1234...5678', human approval is true, and receipt is required. Tell me the score and whether anything is missing."},{"title":"Replay attack protection audit","prompt":"Check if my agent's payment mandate has a valid replay nonce and expiry — the agent is 'agent-ops-42', intent is 'pay for API access', max spend is 1.00 USDC. I want to know if it's vulnerable to replay attacks before it goes live."},{"title":"Failed payout root cause triage","prompt":"My agent tried to make a payment and it failed — can you audit its mandate to figure out what went wrong? Agent ID is 'fulfillment-agent-9', intent is 'settle invoice', max amount is 10.00 USDC, no human approval was set. What obligations are missing?"}],"resultDescription":"Returns a JSON object with a numeric readiness score (0–100), a verdict (e.g. PASS, REVIEW, FAIL), a breakdown of detected vs. missing mandate obligations (spend cap, replay nonce, intended task, human authority, resource binding, expiry), a plain-English recommendation, the network, product name, and a Unix timestamp.","failureModes":["Missing required fields (agent_id, intent, max_amount_usdc) returns a 400 validation error","Invalid body type or HTTP method returns schema rejection","Malformed USDC amount string may cause parsing failure","Endpoint unavailable or nip.io DNS resolution failure returns network error","Score of 0 with verdict FAIL if all mandate obligations are absent"],"whenToPreferThis":"Use this endpoint when an AI agent is about to execute an autonomous payment and you need to verify the mandate is complete, properly scoped, and protected against replay attacks before funds move. It is specifically designed for the x402 agent-commerce protocol and understands its obligation model (nonce, expiry, resource binding, human authority). Prefer this over generic schema validators when you need a scored, actionable readiness verdict with specific missing-obligation identification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:42:20.103Z","isFirstParty":false}