# Execution-Time Quote Re-Authorization Gate for Agent Spend

> Execution-Time Quote Re-Authorization Gate for Agent Spend 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-27).

Re-validates an x402 payment quote against the live policy stack at execution time, returning APPROVE, RE-QUOTE, or BLOCK to prevent agents from settling at stale prices.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/execution-time-quote-reauthorization-gate-for-ag?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/execution-time-quote-re-authorization-gate-for-agent-spend-29d53549
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__cKAiu0IdF_FcDGJTmpou

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 execution-time-quote-re-authorization-gate-for-agent-spend-29d53549
```

Example prompt: Before I finalize this x402 payment, run the execution-time re-authorization check to confirm the quoted price still clears my active session, per-transaction cap, rolling budget, and merchant rules — return APPROVE, RE-QUOTE, or BLOCK.

## When to prefer this

Use this endpoint when an AI agent is operating on the x402 protocol and needs a real-time, policy-aware authorization gate at settlement time rather than relying on a price quote captured during planning. Prefer this over static pre-checks when session state, rolling budgets, or merchant/category rules may have changed between quote time and execution time. It is especially valuable for unattended agents with delegated spend authority where stale authorization could cause policy violations or overspending.

## Known failure modes

- Quote does not clear rolling budget — returns BLOCK with explanation
- Session paused or revoked — returns BLOCK with revocation details
- Per-transaction cap exceeded — returns BLOCK
- Merchant or category rule violation — returns BLOCK
- Price has shifted since planning — returns RE-QUOTE with updated policy snapshot
- Payment not included or insufficient — returns 402 Payment Required
- Invalid or missing input parameters — returns error response

## How this service works

Decision procedure for the settlement-time spend gate. When an agent prepares an x402 payment, the final quoted price must re-clear the full live policy stack at execution time: active session, per-transaction cap, remaining rolling budget, category and merchant rules, pause and revoke status. Never authorize against the price the agent saw during planning. The procedure returns APPROVE, RE-QUOTE, or BLOCK: APPROVE when the quote matches the policy snapshot and budget accounting is

## Output

Returns a JSON object with a decision of APPROVE, RE-QUOTE, or BLOCK, accompanied by plain-prose procedure text (120+ words) explaining the reasoning, a policy snapshot, budget accounting status, and metadata including model used, generation source (llm/reasoning/deterministic), and ISO-8601 timestamp.

## 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": "Execution-time quote re-authorization gate for agent spend 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": "str
… (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": "execution-time-quote-reauthorization-gate-for-ag",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "execution-time-quote-reauthorization-gate-for-ag",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/execution-time-quote-re-authorization-gate-for-agent-spend-29d53549/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)
