# ERC-8004 Counterparty Identity Verification Gate

> ERC-8004 Counterparty Identity Verification Gate is a paid API for AI agents from k2so.wrong.systems, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Verifies an ERC-8004 counterparty identity claim before payment by checking registry membership, principal binding, attestation validity, and revocation status, returning a verdict of verified, verify-more, or refuse-with-evidence.

## Facts

- Endpoint: GET https://k2so.wrong.systems/api/services/erc-8004-counterparty-identity-verification-gate
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/erc-8004-counterparty-identity-verification-gate-7638e8c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jw6oamv6d7vhHSxNw9nCE

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 erc-8004-counterparty-identity-verification-gate-7638e8c0
```

Example prompt: Before I send payment to this x402 merchant, run the ERC-8004 counterparty identity verification gate on them and tell me if I should proceed, verify more, or refuse with evidence.

## When to prefer this

Use this endpoint when an agent or x402 merchant needs a structured, three-way identity verdict (verified / verify-more / refuse-with-evidence) on a counterparty claiming ERC-8004 identity before any payment is executed. Prefer this over generic identity checks when you need registry membership, principal binding, attestation validity, and revocation status all evaluated in a single gated call within the x402 payment ecosystem.

## Known failure modes

- Counterparty not found in ERC-8004 registry — returns refuse-with-evidence verdict
- Attestation has been revoked — returns refuse-with-evidence with revocation details
- Principal binding mismatch — returns verify-more or refuse-with-evidence
- Malformed or missing query parameters — returns error response
- Payment not completed — endpoint returns 402 before serving result
- Registry lookup timeout or unavailability — may return error or degraded verdict

## How this service works

Decision procedure for a paying agent or x402 merchant to verify an ERC-8004 counterparty identity claim before payment. Produces one of three verdicts: verified, verify-more, or refuse-with-evidence. Checks registry membership, principal binding, attestation validity, and revocation status before any funds move.

## Output

Returns a structured decision object containing a boolean success flag, a verdict (verified, verify-more, or refuse-with-evidence), a prose decision brief for agents, the procedure used, a timestamp, and the generation source (llm, reasoning, or deterministic). Also includes payment metadata confirming the $0.002 USDC charge was processed.

## 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": "Counterparty agent identity verification gate 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": "erc-8004-counterparty-identity-verification-gate",
   "procedure": "same as brief",
   "generatedAt": "2026-01-01T00:00:00.000Z",
   "generationSource": "deterministic"
  },
  "service": "erc-8004-counterparty-identity-verification-gate",
  "provider": "K-2SO"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/erc-8004-counterparty-identity-verification-gate-7638e8c0/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)
