# Refund and Withdrawal Window Enforcement Decision Procedure

> Refund and Withdrawal Window Enforcement Decision Procedure is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-11-01).

Provides an AI agent with a ranked action recommendation for enforcing refund eligibility and withdrawal processing windows against a merchant, based on policy terms, receipts, and current time.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/refund-and-withdrawal-window-enforcement-decisio?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/refund-and-withdrawal-window-enforcement-decision-procedure-960bd123
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4CYzsxoozXWC1SCSu9CGf

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 refund-and-withdrawal-window-enforcement-decision-procedure-960bd123
```

Example prompt: I paid merchant XYZ via x402 three days ago and their refund policy says I have 7 days to claim with a receipt — can you check the current time and my payment receipt and tell me whether I should submit the refund claim now or wait, and what evidence I need to include?

## When to prefer this

Use this endpoint when an autonomous agent needs to make a time-sensitive decision about whether to submit a refund claim, wait for a merchant SLA to elapse, or exercise cancellation rights — specifically in x402 payment contexts where policy windows, evidence requirements, and fee schedules must be evaluated against real-time clock state. Prefer this over general legal or policy lookup endpoints when the decision must be action-ranked and agent-executable.

## Known failure modes

- Missing or malformed payment receipt prevents eligibility computation
- Clock state not provided causes inability to assess window timing
- Merchant policy terms are ambiguous or incomplete, reducing decision confidence
- Payment not confirmed results in 402 response requiring x402 payment
- Topic override not recognized returns default procedure
- LLM generation failure may result in empty or null brief field

## How this service works

Decision procedure for an autonomous agent enforcing refund eligibility and withdrawal processing windows against a merchant. Inputs: merchant refund policy (window length, conditions, evidence required), withdrawal terms (processing time, fee schedule, cancellation rights), payment rail receipts, and the current clock state. Outputs a ranked action: claim-within-window (submit refund with required evidence and receipt chain), wait-and-recheck (window still open, merchant SLA not yet breached),

## Output

A structured response containing a ranked action recommendation (e.g. claim-within-window or wait-and-recheck), prose decision procedure text for the agent, the topic and service slug, an ISO-8601 generation timestamp, and the generation source (llm, reasoning, or deterministic). The response also includes payment confirmation fields.

## 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": "refund-and-withdrawal window enforcement decision procedure for autonomous agent 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": "refund-and-withdrawal-window-enforcement-decisio",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "refund-and-withdrawal-window-enforcement-decisio",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/refund-and-withdrawal-window-enforcement-decision-procedure-960bd123/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)
