# x402 Settlement Pattern Anomaly Decision Procedure

> x402 Settlement Pattern Anomaly 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-10-30).

Returns a paid AI-generated decision procedure brief for detecting and handling anomalous x402 payment settlement patterns in autonomous agent systems.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/x402-settlement-pattern-anomaly-decision-procedu?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-settlement-pattern-anomaly-decision-procedure-e6d50709
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tf1lRd8mPW-4YpkStiKS7

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 x402-settlement-pattern-anomaly-decision-procedure-e6d50709
```

Example prompt: I need a decision procedure for detecting and handling anomalous x402 settlement patterns — give me the full procedural brief my agent can follow when payments look irregular.

## When to prefer this

Choose this endpoint when an autonomous agent needs structured, prose-format decision guidance specifically for identifying and responding to x402 settlement pattern anomalies — not raw data or metrics. Prefer it over general fraud detection APIs when the context is AI-to-AI x402 micropayment flows on Base/USDC, and when the agent needs a ready-to-use reasoning procedure rather than having to construct its own logic.

## Known failure modes

- HTTP 402 returned if payment has not been made — agent must settle exact USDC amount and retry with PAYMENT-SIGNATURE header
- Invalid or missing input fields return schema validation errors
- Topic override may produce off-topic or low-quality output if poorly specified
- LLM generation may occasionally produce generic rather than specific procedural guidance
- Service may be temporarily unavailable on k2so.wrong.systems infrastructure

## How this service works

Paid agent-facing brief on x402 settlement pattern anomaly decision procedure: what an agent can and cannot infer from a raw settlement record, and how to detect anomalies in its own settlement history. Inputs: recent settlement list (amounts, counterparties, timestamps, facilitators, rails). Outputs per settlement: inferred service class (subscription-like recurrence, one-off, burst), deviation flags (amount vs rolling med-0. Blunt decision procedure, not marketing.

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) tailored to x402 settlement pattern anomalies, including the topic, model used for generation, generation source (llm, reasoning, or deterministic), ISO-8601 timestamp, and service slug. The 'brief' and 'procedure' fields contain the actionable decision text agents can follow.

## 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": "x402 settlement pattern anomaly decision procedure: what an agent can 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": "x402-settlement-pattern-anomaly-decision-procedu",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "x402-settlement-pattern-anomaly-decision-procedu",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-settlement-pattern-anomaly-decision-procedure-e6d50709/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)
