Workbench

The Workbench is an in-browser shell and gateway tester for your x402 APIs. It uses your dashboard session and respects the Live/Test environment toggle.

Open Workbench

On any dashboard page, use the Developers bar at the bottom of the screen. It shows your active Live/Test environment and folds up to reveal the shell and API Explorer. The shell accepts the same a subset of ax402 CLI commands suited to the browser. The API Explorer sends HTTP requests to your gateway URLs — inspect payment requirements or pay with a connected browser wallet.

Examples

  • apis list — APIs in the active environment
  • endpoints create --api-id ID --path "/v1/*"
  • keys list — requires verified email
  • openapi parse / import — shell tab (paste YAML/JSON in flags)

Buyer commands

  • inspect url --url GATEWAY_URL — fetch a gateway URL and parse HTTP 402 payment requirements
  • pay url --url GATEWAY_URL — pay with a connected browser wallet (MetaMask, etc.)

Not available in the browser shell

  • auth — signed in via the dashboard session
  • openapi --file — no filesystem; paste spec in the shell
  • AX402_EVM_PRIVATE_KEYpay url uses a connected browser wallet instead