# Agent Credit-Line Utilization and Evaluation-Based Settlement Procedure

> Agent Credit-Line Utilization and Evaluation-Based Settlement Procedure is a paid API for AI agents from k2so-8080.on.ascii.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a deterministic decision procedure for agents managing credit-line draws, utilization tracking, top-up warnings, and evaluation-verdict-based escrow settlement via x402.

## Facts

- Endpoint: GET https://k2so-8080.on.ascii.dev/api/services/agent-credit-line-utilization-and-evaluation-set
- 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/agent-credit-line-utilization-and-evaluation-based-settlement-procedure-1dad9755
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_487VET8mrGKY6nsfpBRLb

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 agent-credit-line-utilization-and-evaluation-based-settlement-procedure-1dad9755
```

Example prompt: I need to know which credit line to draw this $0.85 payment from — line A is at 68% utilization with a $10 cap, line B is at 40% with a $5 cap — the delivered work got a partial-pass evaluation verdict, so what's the prorated settlement amount and do I need to flag a top-up?

## When to prefer this

Choose this endpoint when an agent must simultaneously decide which credit line to use for an x402 payment AND reconcile escrow settlement against evaluation verdicts in a single deterministic procedure. It is specifically suited for multi-line credit scenarios with utilization thresholds and evaluation-gated escrow release, rather than simple single-payment routing or generic budget checks.

## Known failure modes

- Missing required credit-line caps or utilization values — returns ok: false with handler error
- Payment amount exceeds all available credit lines below hard ceiling — procedure flags no viable line
- Invalid or missing evaluation verdict — settlement calculation cannot be completed
- Service unavailable or unpaid request — returns 402 Payment Required
- Malformed query parameters — schema validation failure

## How this service works

Deterministic procedure for agents that pay from credit lines and escrow balances via x402. Inputs: per-line caps and rates, current utilization, payment amount, due date, evaluation verdicts on delivered work, escrow state. Decides which line a payment draws against, tracks utilization after draw, flags top-up when utilization crosses 70% warning and 95% hard ceiling, wires evaluation verdicts into settlement: full pass releases, fail reduces settlement by defined ratio, partial pass prorates.

## Output

Returns a structured procedure result including a decision brief (prose for agents), the chosen credit line, post-draw utilization, any top-up warning flags (70% or 95% thresholds), and the settlement amount adjusted by evaluation verdict (full release, prorated partial, or reduced fail ratio), plus a timestamp and generation source.

## 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": "Agent credit-line utilization and evaluation-based settlement 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": {
        
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-credit-line-utilization-and-evaluation-based-settlement-procedure-1dad9755/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from k2so-8080.on.ascii.dev](https://www.zero.xyz/host/k2so-8080.on.ascii.dev/llms.txt)
