{
  "format": "delx/intent-card/v1",
  "id": "x402-scheme-select-api",
  "intent": "X402 Scheme Select for an agent workflow",
  "title": "X402 Scheme Select API for agents",
  "description": "X402 Scheme Select: X402 Scheme Select selects the first buyer-supported payment scheme from challenge options from bounded caller-supplied values without an external provider. Call X402 Scheme Select 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 Scheme Select 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 Scheme Select API",
    "X402 Scheme Select for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-23",
  "canonical_url": "https://commerce.delx.ai/intents/x402-scheme-select-api",
  "machine_url": "https://commerce.delx.ai/intents/x402-scheme-select-api.json",
  "recommendation": {
    "tool_name": "util_x402_scheme_select",
    "service_name": "X402 Scheme Select",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/x402-scheme-select",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "schemes": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Schemes supplied to X402 Scheme Select; used only for this bounded calculation and processed in memory without retention."
        },
        "supported_schemes": {
          "type": "array",
          "maxItems": 256,
          "items": {
            "type": "string",
            "maxLength": 8192
          },
          "description": "Supported Schemes supplied to X402 Scheme Select; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "schemes",
        "supported_schemes"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "schemes": [
        "exact",
        "upto"
      ],
      "supported_schemes": [
        "exact"
      ]
    },
    "example_output": {
      "schema": "delx/util-x402-scheme-select/v1",
      "operation": "delivery_contract:x402_scheme_select",
      "status": "pass",
      "result": {
        "selected": "exact",
        "supported": [
          "exact"
        ]
      },
      "evidence": {
        "input_sha256": "a045739927a7259d237f0c405b73130cd2fb17caabdca6ce41cffff6ac4ff2ed",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-scheme-select -m POST -H 'x-delx-source: intent-card-x402-scheme-select-api' --max-amount 0.001 -b '{\"schemes\":[\"exact\",\"upto\"],\"supported_schemes\":[\"exact\"]}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-x402-scheme-select-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-scheme-select"
  }
}
