# Cross-Protocol Payment-Intent Routing Decision Procedure

> Cross-Protocol Payment-Intent Routing Decision Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns an agent-facing decision procedure for routing a payment intent across x402, AP2, or MPP protocols, covering capability checks, cost/latency comparison, policy enforcement, single-routing rules, and receipt binding.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-payment-intent-and-authorization-governanc
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cross-protocol-payment-intent-routing-decision-procedure-77dc2f1b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7ONMv93jgPubf6_81oHsR

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 cross-protocol-payment-intent-routing-decision-procedure-77dc2f1b
```

Example prompt: I need to pay a merchant but they support x402, AP2, and MPP — walk me through the full decision procedure for picking the right protocol, including policy checks, cost and latency comparison, how to avoid double-settlement, and how to bind the receipt once I've chosen.

## When to prefer this

Use this endpoint when an agent holds a payment intent that could be settled via more than one protocol (x402, AP2, MPP) and needs authoritative, policy-aware routing logic rather than a simple fee lookup. Prefer it over generic fee-ranking endpoints when you also need policy envelope checks, single-routing enforcement, re-quote fallback logic, and receipt binding guidance bundled into one decision procedure.

## Known failure modes

- Merchant offer does not match any supported protocol — procedure returns no viable routing path
- Policy envelope expired or spending cap exceeded — procedure halts before routing
- Re-quote fallback fails if merchant is offline or unresponsive
- LLM-generated procedure may be stale if underlying protocol rules change
- HTTP 402 returned if payment is not provided; meta=1 query param bypasses payment for free metadata only
- Malformed input (wrong HTTP method or missing required fields) returns an error response

## How this service works

Decision procedure for an agent holding a payment intent that can be settled via multiple protocols: x402, AP2, or MPP. Covers protocol capability checks against the merchant offer, intent normalization across protocols, cost and latency comparison, scoped-account policy envelope checks (approved intent, policy expiry, spending caps) before routing, a single-routing rule so one intent is never double-settled across protocols, re-quote fallback, and receipt binding to the chosen protocol.

## Output

A structured prose decision brief (and optionally a procedure field) describing the step-by-step routing logic: protocol capability checks against the merchant offer, intent normalization, cost and latency scoring, policy envelope validation, single-routing enforcement, re-quote fallback steps, and receipt binding instructions. Includes metadata such as generatedAt timestamp, model used, generation source (llm/reasoning/deterministic), and service slug.

## 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": "Cross-protocol payment-intent routing decision procedure 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": "strin
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cross-protocol-payment-intent-routing-decision-procedure-77dc2f1b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
