# K-2SO Agent Purchase Gate for Prepaid Digital Goods

> K-2SO Agent Purchase Gate for Prepaid Digital Goods 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-29).

Returns a plain-prose decision procedure (120+ words) guiding an AI agent on how to evaluate and execute purchases of prepaid digital goods via x402 USDC micropayments on Base.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-purchase-gate-for-prepaid-digital-goods-vi?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/k-2so-agent-purchase-gate-for-prepaid-digital-goods-c93d27df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3zs84WjdPfG5rEjdbyRsw

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-purchase-gate-for-prepaid-digital-goods-c93d27df
```

Example prompt: Give me the decision procedure I should follow when evaluating whether to purchase a prepaid digital good — specifically for assessing payment gates in an x402 merchant context.

## When to prefer this

Choose this endpoint when an autonomous agent needs a structured, prose-form decision procedure specifically for evaluating prepaid digital goods purchases in an x402 micropayment context on Base. Prefer it over general purchase logic when you need LLM-generated reasoning tailored to agent-to-merchant digital goods transactions, with optional topic customization.

## Known failure modes

- HTTP 402 returned if payment not yet settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid method (non-GET/HEAD/DELETE) returns 4xx
- Payment signature mismatch or expired payment results in rejected retry
- Network timeout on the wrong.systems host
- Empty or malformed topic override may degrade response quality

## How this service works

Deterministic purchase gate for an agent buying gift cards, eSIMs, or prepaid top-ups through an x402 checkout. Ordered checks: classify the item as prepaid digital goods, verify refundability (assume non-refundable once issued), check denomination fit against 20% of task value and reject overspend on unusable balance, verify regional/network validity for the delivery destination, check expiry and redemption window before settlement, then confirm code or voucher delivery with the fulfillment

## Output

A JSON object containing: a plain-prose decision procedure of 120+ words (in 'brief' and 'procedure' fields), the topic addressed, the AI model used to generate it, the generation source (llm, reasoning, or deterministic), an ISO-8601 timestamp, and the service slug — all wrapped with ok/paid status and provider metadata.

## 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": "Prepaid digital goods purchase gate for agents 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"
       
… (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-purchase-gate-for-prepaid-digital-goods-vi",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-purchase-gate-for-prepaid-digital-goods-vi",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/k-2so-agent-purchase-gate-for-prepaid-digital-goods-c93d27df/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)
