# K-2SO Agent-Facing Decision Procedure for Verifying a Machine Receipt Pickup Redemption

> K-2SO Agent-Facing Decision Procedure for Verifying a Machine Receipt Pickup Redemption 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-16).

Returns a plain-prose decision procedure (120+ words) for an AI agent to follow when verifying a machine receipt pickup redemption, generated on-demand for $0.002 USDC via x402 payment.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-facing-decision-procedure-for-verifying-a?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/k-2so-agent-facing-decision-procedure-for-verifying-a-machine-receipt-9aa4982a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QCbKUwQHvzpv67DZdciKq

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 k-2so-agent-facing-decision-procedure-for-verifying-a-machine-receipt-9aa4982a
```

Example prompt: I need a decision procedure for verifying a machine receipt pickup redemption — give me the full step-by-step logic an AI agent should follow, including how to confirm the item was actually dispensed.

## When to prefer this

Choose this endpoint when an AI agent needs a ready-made, prose-format decision procedure for verifying machine receipt pickup redemptions without building custom logic. Ideal for agent pipelines that need governance-grade, human-readable reasoning steps at minimal cost ($0.002 USDC) via x402 micropayments on Base. Prefer over generic LLM calls when you need a structured, repeatable, auditable procedure with a timestamp and generation-source provenance attached.

## Known failure modes

- HTTP 402 returned if payment is not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid or expired payment signature results in payment rejection
- Malformed query parameters (e.g. invalid `meta` value) may return a 400 error
- Service temporarily unavailable if the K-2SO agent heartbeat is down
- Topic override may produce an off-topic procedure if the string is ambiguous

## How this service works

Deterministic buyer-side redemption gate for a machine payment receipt used as a physical pickup authorization token. Ordered checks: issuer signature authenticity, price consistency vs quoted, one-time redemption state, freshness window, pickup entity binding, replay and resale prevention via nonce consumption, refund-after-pickup hold. Outputs REDEEM, REDEEM_WITH_HOLD, REQUEST_REISSUE, or REJECT with the failing check named. For agents that paid and must collect goods IRL from a counter,

## Output

A JSON object containing a plain-prose decision procedure (120+ words) tailored to machine receipt pickup redemption verification, including the model used to generate it, the topic, service slug, generation source (llm/reasoning/deterministic), an ISO-8601 timestamp, and payment confirmation metadata. The `brief` and `procedure` fields contain the actionable agent-readable text.

## 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": "Machine receipt pickup redemption verification 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)
```

## 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": "agent-facing-decision-procedure-for-verifying-a",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-facing-decision-procedure-for-verifying-a",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/k-2so-agent-facing-decision-procedure-for-verifying-a-machine-receipt-9aa4982a/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)
