DELXCOMMERCE Live contract

Commercial operations analytics · commercial-operations

X402 Challenge Shape Check

X402 Challenge Shape Check: X402 Challenge Shape Check checks required top-level fields in a caller-supplied payment challenge from bounded caller-supplied values without an external provider. Call X402 Challenge Shape 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 Shape 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.

x402deliverycontract

One-command purchase

Run it from an agent.

No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.

npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/x402-challenge-shape-check -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"challenge":{"x402Version":2,"accepts":[{"network":"eip155:8453","asset":"USDC","amount":"1000","payTo":"0x1111111111111111111111111111111111111111"}]}}'
InputPOST /api/v1/x402/x402-challenge-shape-check
{
  "challenge": {
    "x402Version": 2,
    "accepts": [
      {
        "network": "eip155:8453",
        "asset": "USDC",
        "amount": "1000",
        "payTo": "0x1111111111111111111111111111111111111111"
      }
    ]
  }
}
Delivered resultapplication/json
{
  "schema": "delx/util-x402-challenge-shape-check/v1",
  "operation": "delivery_contract:x402_challenge_shape_check",
  "status": "pass",
  "result": {
    "missing_fields": [],
    "accept_count": 1,
    "shape_valid": true
  },
  "evidence": {
    "input_sha256": "62072ab7fce77c19843d604f1566016ce4dbe3ea291d11d208433c905228eeab",
    "retained": false,
    "external_calls": 0
  }
}

Machine-readable evidence

Inspect before paying.