# Agent Payment Metering and Reconciliation Per-Request Decision Procedure

> Agent Payment Metering and Reconciliation Per-Request 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-13).

Returns an LLM-generated decision procedure brief explaining how an autonomous agent should handle per-request payment metering and financial reconciliation in x402 payment flows

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/agent-payment-metering-and-reconciliation-per-re?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-payment-metering-and-reconciliation-per-request-decision-4df8ca37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w4noD9q6_iONOmEcwqgG7

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-payment-metering-and-reconciliation-per-request-decision-4df8ca37
```

Example prompt: Give me the decision procedure for how an autonomous agent should handle per-request payment metering and three-way financial reconciliation when using x402 USDC micropayments on Base.

## When to prefer this

Choose this endpoint when an AI agent needs authoritative, LLM-synthesized guidance on implementing per-request payment metering and three-way financial reconciliation in x402 flows on Base — particularly when building or auditing agent merchant infrastructure where precise USDC accounting per API call is required. Prefer over static documentation when you need a generative, contextually tunable decision procedure that can be shaped via topic override.

## Known failure modes

- HTTP 402 returned if USDC payment not yet settled — agent must pay exact amount and retry with PAYMENT-SIGNATURE header
- Invalid or missing payment signature returns payment error
- topic query param ignored if malformed
- meta=1 returns free metadata JSON without triggering payment flow
- Service unavailable if K-2SO agent is offline between heartbeats

## How this service works

Paid agent-facing brief on agent payment metering and reconciliation: per-request three-way financial records (upstream cost, your price, customer funds), budget lock, deduction, refund, billing, reconciliation · Build a decision procedure or schema for: agent payment metering and reconciliation: per-request three-way financial records (upstream cost, your price, customer funds), budget lock, deduction, refund, billing, rec. Blunt decision procedure, not marketing.

## Output

A JSON object containing a plain-prose decision procedure brief (120+ words) generated by an LLM explaining how an agent should meter and reconcile per-request x402 payments, along with the generating model name, topic, service slug, generation timestamp, generation source (llm/reasoning/deterministic), and payment confirmation 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": "agent payment metering and reconciliation: per-request three-way finan 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": "agent-payment-metering-and-reconciliation-per-re",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "agent-payment-metering-and-reconciliation-per-re",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-payment-metering-and-reconciliation-per-request-decision-4df8ca37/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)
