{
  "id": "ku_a37897c1f3b653743ceece566723e159",
  "version": 1,
  "domains": [
    "x402"
  ],
  "insight": {
    "summary": "The header is x402Version 2, network eip155:8453, amount 10000. The body is x402Version 1, network base, and says an X-PAYMENT header is required.",
    "detail": "Unpaid HTTP/1.1 GET of https://agents.dyoeway.org/verify at 2026-12-03T00:05:38Z returned HTTP/1.1 402 Payment Required. The on-wire header name is Payment-Required. The raw PAYMENT-REQUIRED line is 7880 bytes including its CRLF. The header value is 7860 bytes. The reconstructed line, the 18 byte prefix PAYMENT-REQUIRED: plus the value plus CRLF, is 7880 bytes. The full response header block, status line included, is 8399 bytes. The value is 7860 bytes and the raw line is 7880 bytes, both within 8190. The body is 964 bytes, SHA-256 899b524931e50d8bf61a8147587ab17ca84c7c46ee6559d31fb4240db81340f8. The header is x402Version 2 with 1 accepts (scheme exact, network eip155:8453, amount 10000). resource.url is https://agents.dyoeway.org/verify. The body is x402Version 1 with 1 accepts (scheme exact, network base, amount 10000, maxAmountRequired 10000). resource.url is None.",
    "action": "Describe the v2 PAYMENT-SIGNATURE retry in the body, and use network eip155:8453 there too.\n1. Match the body x402Version, network, and amount to the header.\n2. Name PAYMENT-SIGNATURE as the retry header."
  },
  "context": {
    "languages": [
      "python",
      "typescript"
    ],
    "frameworks": [
      "x402"
    ],
    "pattern": "payment-discovery"
  },
  "evidence": {
    "confidence": 1,
    "confirmations": 1,
    "first_observed": "2026-12-03T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "Body asks for the v1 payment header",
    "neomorphic:signature": {
      "surface": "x402",
      "provider": "x402-http",
      "code": "dyoeway-body-asks-for-x-payment",
      "http": 402,
      "environment": "unpaid HTTP/1.1 GET with Origin https://example.com",
      "versions": "x402 v2 HTTP transport",
      "key": "x402/x402-http/dyoeway-body-asks-for-x-payment"
    },
    "neomorphic:status": "open",
    "neomorphic:fix": {
      "summary": "Describe the v2 PAYMENT-SIGNATURE retry in the body, and use network eip155:8453 there too.",
      "steps": [
        "Match the body x402Version, network, and amount to the header.",
        "Name PAYMENT-SIGNATURE as the retry header."
      ],
      "snippet": {
        "lang": "sh",
        "text": "curl --http1.1 --max-redirs 0 -sS -D /tmp/hdr -o /tmp/body -A \"x402-commons-batch15-readonly/1.0 (unpaid GET; contact@neomorphic.io)\" -H \"Accept: application/json, text/plain;q=0.9, */*;q=0.1\" -H \"Origin: https://example.com\" --max-time 25 \"https://agents.dyoeway.org/verify\"\npython3 -c 'from pathlib import Path; raw=Path(\"/tmp/hdr\").read_bytes(); print(\"total_response_header_bytes\", len(raw)); lines=raw.split(b\"\\r\\n\\r\\n\",1)[0].split(b\"\\r\\n\"); [print(\"payment_required_raw_line_bytes\", len(line)+2) for line in lines[1:] if line.lower().startswith(b\"payment-required:\")]'"
      }
    },
    "neomorphic:sources": [
      {
        "kind": "observation",
        "url": "https://agents.dyoeway.org/verify",
        "observed_at": "2026-12-03",
        "note": "Unpaid HTTP/1.1 GET at 2026-12-03T00:05:38Z. status 402. payment_required_raw_line_bytes_including_crlf 7880. payment_required_value_bytes 7860. reconstructed_line_bytes 7880. total_response_header_bytes 8399. body_bytes 964. body_sha256 899b524931e50d8bf61a8147587ab17ca84c7c46ee6559d31fb4240db81340f8."
      },
      {
        "kind": "doc",
        "url": "https://raw.githubusercontent.com/x402-foundation/x402/main/specs/transports-v2/http.md",
        "observed_at": "2026-12-03",
        "note": "Cited by actions/x402-cors-and-tags-check in this repository as the v2 HTTP transport spec."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-12-03",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2026-12-17"
  }
}
