# x402helper.xyz Mandate Scope Validator

> x402helper.xyz Mandate Scope Validator is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.026/call, status unknown (last checked 2026-12-04).

Validates an Intent Mandate against OFAC screening, exchange rates, and billing constraints before an AI agent authorizes a USDC micropayment spend.

## Facts

- Endpoint: GET https://x402helper.xyz/529639/api/mandate/scope?utm_source=zero.xyz
- Price: $0.026/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402helper-xyz-mandate-scope-validator-9ed0b00d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uCxUB3FzeSgKpBNsXMyQO

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402helper-xyz-mandate-scope-validator-9ed0b00d
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402helper-xyz-mandate-scope-validator-9ed0b00d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
