# AP2 Mandate Authorization Verification Procedure

> AP2 Mandate Authorization Verification Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-20).

Returns a paid LLM-generated decision procedure brief for agents evaluating whether a mandate authorization has been properly verified, covering authorization gates and compliance steps.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/ap2-mandate-authorization-verification-procedure?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ap2-mandate-authorization-verification-procedure-226165e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4M5-4lzKhKwewKNXSpVYh

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 ap2-mandate-authorization-verification-procedure-226165e0
```

Example prompt: I need a decision procedure brief on how to properly verify a mandate authorization — walk me through the gate logic and compliance steps an autonomous agent should follow.

## When to prefer this

Choose this endpoint when an autonomous agent needs structured, prose-form guidance on how to evaluate and gate mandate authorizations, particularly within x402 micropayment or agent-to-agent commerce contexts. Prefer it over generic compliance databases when you need agent-optimized decision logic rather than raw regulatory text.

## Known failure modes

- HTTP 402 returned if payment not settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid HTTP method (e.g. POST) returns an error — only GET, HEAD, DELETE are accepted
- Network or upstream LLM failure may return ok:false with an error detail
- Malformed query parameters may cause schema validation errors

## How this service works

Decision procedure and verification schema for accepting a cryptographically signed AP2 payment mandate before settlement. Checks signature validity, nonce uniqueness, mandate scope against requested amount, expiry and session freshness, delegation chain depth, and parent agent authority. Returns PASS/FAIL with explicit rejection reasons for each gate.

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) tailored to AP2 mandate authorization verification, including the topic, model used, generation source (llm/reasoning/deterministic), ISO-8601 timestamp, and service slug. The 'brief' and 'procedure' fields contain the actionable guidance for the agent.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "meta": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "description": "Set to 1 for free metadata JSON (no payment required)"
      },
      "topic": {
       "type": "string",
       "description": "Optional topic override for the decision procedure"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "title": "AP2 mandate authorization gate paid response",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "ok",
      "paid",
      "service",
      "provider",
      "result"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "paid": {
       "type": "boolean"
      },
      "result": {
       "type": "object",
       "required": [
        "ok",
        "service"
       ],
       "properties": {
        "ok": {
         "type": "boolean",
         "description": "Handler success"
        },
        "brief": {
         "type": "string",
         "description": "Decision procedure prose for agents"
        },
        "model": {
         "type": "string"
        },
        "topic": {
         "type": "string"
        },
        "service": {
         "type": "string",
         "description": "Service slug"
        },
        "procedure": {
         "type": "string"
        },
        "generatedAt": {
         "type": "string",
         "description": "ISO-8601 timestamp"
        },
        "generationSource": {
         "enum": [
          "llm",
          "reasoning",
          "deterministic"
         ],
         "type": "string"
        }
       }
      },
      "payment": {
       "type": "object",
       "properties": {
        "code": {
         "type": "string"
        },
        "payer": {
         "type": "string"
        },
        "detail": {
         "type": "string"
        },
        "sel
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true,
  "result": {
   "ok": true,
   "brief": "plain prose decision procedure (120+ words)",
   "model": "deepseek/deepseek-v4-flash-0731",
   "topic": "string topic",
   "service": "ap2-mandate-authorization-verification-procedure",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "ap2-mandate-authorization-verification-procedure",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ap2-mandate-authorization-verification-procedure-226165e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so.wrong.systems](https://www.zero.xyz/host/k2so.wrong.systems/llms.txt)
