{"uid":"cap_uCxUB3FzeSgKpBNsXMyQO","slug":"x402helper-xyz-mandate-scope-validator-9ed0b00d","name":"x402helper.xyz Mandate Scope Validator","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/529639/api/mandate/scope?utm_source=zero.xyz","method":"GET","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"],"type":"string"},"queryParams":{"type":"object","required":["resource","price_usdc","mandate"],"properties":{"lang":{"type":"string","default":null,"description":"Copy language. Optional."},"pubkey":{"type":"string","default":null,"description":"ed25519 public key hex. Required when mandate.signature is ed25519:."},"mandate":{"type":"string","default":null,"description":"base64url JSON Intent Mandate v0.1.0 (mandato-ar packages/mandate). Required."},"resource":{"type":"string","default":null,"description":"Absolute http(s) URL of the proposed spend. Required. Missing/invalid → 400 before payment."},"price_usdc":{"type":"string","default":null,"description":"Proposed spend as a decimal USDC string (e.g. 0.02). Required."},"spent_usdc":{"type":"string","default":null,"description":"Already-spent USDC decimal. Optional, default 0. Used for remaining/budget checks."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.026","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.026/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.026","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.026","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K5f74RvktqgUf5pNHfpCv","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.026","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an Intent Mandate against OFAC screening, exchange rates, and billing constraints before an AI agent authorizes a USDC micropayment spend.","exampleAgentPrompt":"Before I pay 0.026 USDC to access https://example.com/api/data, check whether that spend is within my mandate scope and passes OFAC screening — my mandate is eyJhbGciOiJFZERTQSJ9... and my ed25519 public key is abc123def456.","exampleUseCases":[{"title":"Pre-payment OFAC and budget check","prompt":"Before my agent pays 0.05 USDC to reach https://dataprovider.io/feed, verify the URL passes OFAC screening and that the spend stays within my mandate — mandate token is eyJhbGciOiJFZERTQSJ9xyz, pubkey is deadbeef1234, and I've already spent 0.10 USDC so far."},{"title":"Mandate scope check for agent billing","prompt":"I want to make sure my AI agent isn't about to overspend — can you validate that a proposed 0.026 USDC payment to https://api.someservice.com/data is within the scope of my intent mandate eyJtYW5kYXRlIjp9 before it goes through?"},{"title":"Compliance verification before micropayment","prompt":"Check whether spending 0.02 USDC on https://content.example.com/article is allowed under my mandate eyJhbGciOiJFZFNBIn0 with pubkey 9f8e7d6c5b4a and that the destination isn't OFAC-sanctioned, given I've already spent 0.08 USDC today."}],"resultDescription":"Returns a JSON object with a 'success' boolean and a 'result' object containing the outcome of the mandate scope check — indicating whether the proposed spend at the given resource URL and price is valid, within budget, OFAC-clean, and authorized by the mandate.","failureModes":["Missing or invalid 'resource' URL returns 400 before payment is processed","Missing 'mandate' parameter causes validation failure","Missing 'price_usdc' causes rejection","ed25519 pubkey required when mandate uses ed25519 signature but not provided — fails validation","OFAC-sanctioned resource or wallet causes negative result","Proposed spend exceeds mandate budget — returns failure result","Malformed base64url mandate token causes parse error"],"whenToPreferThis":"Use this endpoint when an AI agent needs to pre-validate a proposed USDC micropayment against an Intent Mandate before committing funds — especially when OFAC compliance, budget caps, or billing verification are required. Prefer this over ad-hoc payment flows when operating under structured agent mandates that constrain spending scope and destinations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-04T00:40:39.033Z","isFirstParty":false,"canonicalSlug":"x402helper-xyz-mandate-scope-validator-9ed0b00d"}