# Pre-Settlement Contract Term Vetting Decision Procedure

> Pre-Settlement Contract Term Vetting 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-16).

Returns a paid AI-generated decision procedure (plain prose brief) for vetting contract terms before settlement, tailored for autonomous agents operating in x402 payment contexts

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-facing-pre-settlement-contract-term-vettin?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/pre-settlement-contract-term-vetting-decision-procedure-1cef764a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_p9d6XuSoz4Eb1S8nDHabf

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 pre-settlement-contract-term-vetting-decision-procedure-1cef764a
```

Example prompt: Run me through the pre-settlement contract term vetting decision procedure — I need a plain-language brief I can use to evaluate whether the contract terms on this deal are safe to settle.

## When to prefer this

Choose this endpoint when an autonomous agent needs a structured, prose-form decision procedure for vetting contract terms before any settlement action — especially in x402 or on-chain contexts where no human lawyer is in the loop. It is preferable to generic legal APIs because it is purpose-built for agent-to-agent and agent-to-merchant contract scenarios, returns a ready-to-act brief rather than raw legal text, and integrates natively with x402 micropayment flows.

## Known failure modes

- HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header
- Missing or malformed 'input' object returns a validation error
- Invalid method (POST, PUT, PATCH) rejected — only GET/HEAD/DELETE accepted
- If topic override is malformed or too long, the service may fall back to default topic
- Occasional LLM generation failures may result in ok:false with an error detail field

## How this service works

Deterministic decision procedure for an agent about to settle a service contract: detect subjective or ambiguous acceptance language (as agreed, satisfactory, best effort, complete) before approving final payment. Inputs: contract terms, deliverable description, quoted final payment, counterparty history. Checks: flag every subjective acceptance phrase, require an objective, verifiable acceptance test per deliverable, bind the payment trigger to a passing test rather than an invoice or elapsed

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) for pre-settlement contract term vetting, including the model used, generation timestamp, generation source (llm/reasoning/deterministic), the topic, and service slug. The 'brief' and 'procedure' fields carry the actionable guidance 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": "Pre-settlement contract term vetting decision 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": "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-facing-pre-settlement-contract-term-vettin",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-facing-pre-settlement-contract-term-vettin",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pre-settlement-contract-term-vetting-decision-procedure-1cef764a/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)
