TODO_TAGS_REVIEW
TODO_AP2_EXPORT_REVIEW

x402 v2 Wire-Format Migration Linter

Lints a supplied x402 header set / 402 response body against the Protocol Version 2 wire format: flags deprecated v1 headers (X-PAYMENT, X-PAYMENT-RESPONSE) and their v2 replacements (PAYMENT-SIGNATURE, PAYMENT-RESPONSE), flags v1 body-based PaymentRequirements delivery (v2 moves requirements into the PAYMENT-REQUIRED header as a client-selectable array), and checks the network id for CAIP-2 format. Declares protocol_version so a future wire bump is a data re-pin. Pinned to coinbase/x402 specs/x402-specification-v2.md (2025-12-09).

Tool URL: https://ainumbers.co/chaingraph/art-393-x402-v2-migration-linter.html

post/v1/tools/lint_x402_v2_migration

Request

  • Base URL: https://ainumbers.co
  • URL: https://ainumbers.co/v1/tools/lint_x402_v2_migration
  • Auth: none declared

Request body

object required

Response

Successful tool execution result

declared_protocol_versionstring
errorsinteger
inferred_wire_versioninteger
passesinteger
protocol_versioninteger
scoreinteger
spec_notestring
warningsinteger

Changes

No recorded changes to this operation across all 1 revision of this API.