Ax402Docs
SDKS

SDK overview

Control plane + buyer across languages

Ax402 SDKs provide buyer helpers to pay gateway URLs and control-plane clients to manage APIs, endpoints, domains, and keys. They ship from the ax402-sdk repository.

Paying gateway URLs

Start here if you consume paid APIs. Buyer clients sign x402 payments against gateway hostnames — not AX402_BASE_URL.

  • Env: AX402_EVM_PRIVATE_KEY (same as CLI pay url and MCP)
    • Staging smoke test: https://echo.staging.ax402.io/echo/get?test=1
    • TypeScript only: batch-settlement scheme + browser wallet signer

Control plane (seller automation)

On this page