Opening your account
Checking your connection...
Checking your connection...
Real-time protocol validation, format detection, and agent discovery analysis — built into the debug page developers already use.
FOR IMMEDIATE RELEASE
Real-Time Protocol Validation, Format Detection, and Agent Discovery Analysis — Built Into the Debug Page Developers Already Use
Paste a URL. Get a full spec compliance report before you ship.
FEBRUARY 2026 — Building an x402-enabled API endpoint means getting dozens of details right: the correct version field, CAIP-2 network identifiers, properly formatted payment addresses, amount fields in the right type, and — increasingly — Bazaar discovery extensions so AI agents can find and call your API automatically.
Until now, the only way to check was to deploy and hope. Facilitators would reject malformed configs silently. Agents would skip endpoints with no discovery schema. Developers had no feedback loop.
Dexter today announces a built-in x402 config lint engine in the SDK Debug Page — the same page developers already use to test facilitators, compare protocol versions, and run live settlements.
The lint engine does not simply check if x402Version equals 2. It independently analyzes both the PAYMENT-REQUIRED header and the response body, detects the format of each (v2, v1, flat, or unknown), and then performs compatibility analysis:
This is not a boolean pass/fail. It is an explanation of what works, what does not, and why.
Every field in the 402 response is validated with specific error codes and field paths:
| Check | What It Catches |
|---|---|
MISSING_VERSION | No x402Version field |
NETWORK_NOT_CAIP2 | Using "solana" instead of "solana:5eykt4UsFv8P..." |
INVALID_SOLANA_ADDR | payTo address is not valid base58 |
INVALID_EVM_ADDR | payTo address is not valid 0x hex |
V1_ONLY_AMOUNT | Only maxAmountRequired present, missing amount for v2 |
AMOUNT_MISMATCH | amount and maxAmountRequired both present but different |
AMOUNT_NOT_STRING | amount is a number instead of string |
RELATIVE_RESOURCE_URL | resource.url is "/api/endpoint" instead of a full URL |
MISSING_PAY_TO | No payment address at all |
MISSING_NETWORK | No chain specified |
MISSING_ASSET | No token contract address |
MISSING_SCHEME | No payment scheme (defaults to "exact") |
AMOUNT_COMPAT | Both amount fields present and match — full v1+v2 compat confirmed |
FLAT_FORMAT | Legacy flat format with no accepts array |
Each issue includes severity (error, warning, info, or pass), a monospace field path like accepts[0].payTo, and a human-readable message.
The v2 spec includes extensions.bazaar — the standard way AI agents learn how to call your API before paying. The lint engine checks for its presence and structure:
When Bazaar extensions are found, the debug page renders them as expandable JSON viewers — the info section (showing an example request/response agents use at a glance) and the schema section (the JSON Schema contract agents validate against). Developers can inspect exactly what agents will see.
No signup. No CLI install. No separate tool. It is part of the same debug page where developers already test facilitator compatibility and run live payments.
This is not a standalone tool. It extends the SDK Debug Page that already offers:
The lint engine adds the missing piece: structural validation before you go live.
Dexter is payment infrastructure for the AI economy. Operating on Solana, Base, Polygon, Arbitrum, Optimism, and Avalanche, Dexter's x402 facilitator has processed 3.5M+ autonomous settlements. From facilitation to marketplace to trust layer, Dexter handles the complete payment stack for machine-to-machine commerce.
@dexterai/x402 npm package for building paid endpoints$DEXTER | dexter.cash | @dexteraisol
Media Contact: [email protected]
The SDK Debug Page is a free developer tool. No payment or authentication required to use the lint engine, facilitator comparison, or protocol analysis features.