{
  "format": "delx/intent-card/v1",
  "id": "x402-settlement-amount-check-api",
  "intent": "X402 Settlement Amount Check for an agent workflow",
  "title": "X402 Settlement Amount Check API for agents",
  "description": "X402 Settlement Amount Check: X402 Settlement Amount Check compares settled raw amount with the accepted challenge amount from bounded caller-supplied values without an external provider. Call X402 Settlement Amount 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 Settlement Amount 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 Settlement Amount Check API",
    "X402 Settlement Amount 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-settlement-amount-check-api",
  "machine_url": "https://commerce.delx.ai/intents/x402-settlement-amount-check-api.json",
  "recommendation": {
    "tool_name": "util_x402_settlement_amount_check",
    "service_name": "X402 Settlement Amount Check",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/x402-settlement-amount-check",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "type": "object",
      "properties": {
        "settled_raw": {
          "type": "string",
          "maxLength": 8192,
          "description": "Settled Raw supplied to X402 Settlement Amount Check; used only for this bounded calculation and processed in memory without retention."
        },
        "accepted_raw": {
          "type": "string",
          "maxLength": 8192,
          "description": "Accepted Raw supplied to X402 Settlement Amount Check; used only for this bounded calculation and processed in memory without retention."
        }
      },
      "required": [
        "settled_raw",
        "accepted_raw"
      ],
      "additionalProperties": false
    },
    "example_input": {
      "settled_raw": "1000",
      "accepted_raw": "1000"
    },
    "example_output": {
      "schema": "delx/util-x402-settlement-amount-check/v1",
      "operation": "delivery_contract:x402_settlement_amount_check",
      "status": "pass",
      "result": {
        "actual_raw": "1000",
        "expected_raw": "1000",
        "drift_raw": "0",
        "within_tolerance": true
      },
      "evidence": {
        "input_sha256": "7a76b790f88a7769934e943afa794eaf1387220dd60021c92aba4d959a6a1cff",
        "retained": false,
        "external_calls": 0
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-settlement-amount-check -m POST -H 'x-delx-source: intent-card-x402-settlement-amount-check-api' --max-amount 0.001 -b '{\"settled_raw\":\"1000\",\"accepted_raw\":\"1000\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-x402-settlement-amount-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-settlement-amount-check"
  }
}
