{
  "format": "delx/intent-card/v1",
  "id": "x402-challenge-version-check-api",
  "intent": "X402 Challenge Version Check for an agent workflow",
  "title": "X402 Challenge Version Check API for agents",
  "description": "X402 Challenge Version Check: X402 Challenge Version Check compares challenge protocol version with supported versions from bounded caller-supplied values without an external provider. Call X402 Challenge Version Check before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for X402 Challenge Version Check as versioned deterministic JSON. Price: $0.001 USDC via x402 on Base. First-party, stateless, memory-only execution with no paid upstream, live RPC, web search, credentials, custody, signing, media generator, or input retention. Honest limit: Validates metadata only; it never settles payment, signs payloads, contacts a facilitator, refunds funds, or asserts on-chain truth. Advisory output only; the buyer owns authorization, payment policy, and production decisions.",
  "keywords": [
    "X402 Challenge Version Check API",
    "X402 Challenge Version Check for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/x402-challenge-version-check-api",
  "machine_url": "https://commerce.delx.ai/intents/x402-challenge-version-check-api.json",
  "recommendation": {
    "tool_name": "util_x402_challenge_version_check",
    "service_name": "X402 Challenge Version Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/x402-challenge-version-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "version": {
          "type": "integer",
          "description": "Version supplied to X402 Challenge Version Check; used only for this bounded calculation and processed in memory without retention."
        },
        "supported_versions": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "integer"
          },
          "description": "Supported Versions supplied to X402 Challenge Version Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "version",
        "supported_versions"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "version": 2,
      "supported_versions": [
        1,
        2
      ]
    },
    "example_output": {
      "schema": "delx/util-x402-challenge-version-check/v1",
      "operation": "delivery_contract:x402_challenge_version_check",
      "status": "pass",
      "result": {
        "version": 2,
        "supported_versions": [
          1,
          2
        ],
        "supported": true
      },
      "evidence": {
        "input_sha256": "19a97d5b88dfc156ec9b3f1ff4cfb324dd9d18bb96d5ff480a3478193db0eeab",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-challenge-version-check -m POST -H 'x-delx-source: intent-card-x402-challenge-version-check-api' --max-amount 0.001 -b '{\"version\":2,\"supported_versions\":[1,2]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-x402-challenge-version-check-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/x402-challenge-version-check"
  }
}
