# Attestation-Gated Payment Release for Agent Compute: Decision Procedure

> Attestation-Gated Payment Release for Agent Compute: Decision 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-09-13).

Returns a structured decision procedure telling an agent when to release payment vs. hold funds when a merchant claims verified compute (TEE/0G attestation, proof of execution)

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/attestation-gated-payment-release-for-agent-comp
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/attestation-gated-payment-release-for-agent-compute-decision-procedure-c83cb0dd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V35nbQL6w2ONxGbFiK7nj

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 attestation-gated-payment-release-for-agent-compute-decision-procedure-c83cb0dd
```

Example prompt: Give me the decision procedure for releasing payment when a merchant is claiming TEE-attested or 0G-verified compute — I need to know when to hold funds, how to grade the attestation type, and what triggers a refund if the proof fails.

## When to prefer this

Use this endpoint when an AI agent needs a concrete, blunt decision procedure (not marketing material) for gating USDC payments on merchant-provided compute attestation. Prefer this over generic documentation when you need graded attestation type handling, a hold-and-verify flow, and explicit refund trigger logic in a single callable brief — especially within x402 micropayment workflows on Base.

## Known failure modes

- Payment not made or x402 header missing — returns 402 with payment details
- Invalid method (only GET/HEAD/DELETE accepted) — returns 4xx
- LLM generation failure — 'ok: false' in result with no brief
- Topic override not recognized — may return generic procedure
- Service temporarily unavailable — provider-side error

## How this service works

Paid agent-facing brief on attestation-gated payment release for agent compute: decision procedure that tells an agent when to release payment vs hold funds when the merchant claims verified compute (TEE/0G verified tiers, attestation, proof of execution), including attestation type grading, verification status checks, hold-and-verify flow, refund trigger when proof fails · Build a decision procedure or schema for: attestat-0. Blunt decision procedure, not marketing.

## Output

A paid JSON response containing a structured decision-procedure brief ('brief' field with prose), a 'procedure' field with the graded logic, attestation type grading guidance, hold-and-verify flow steps, refund trigger conditions, the generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp. Also includes payment metadata (payer, transaction) confirming the x402 micropayment was processed.

## 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": "attestation-gated payment release for agent compute: decision procedur 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": {
         
… (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": "attestation-gated-payment-release-for-agent-comp",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "attestation-gated-payment-release-for-agent-comp",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/attestation-gated-payment-release-for-agent-compute-decision-procedure-c83cb0dd/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)
