AirWallet Template: Paid API

This domain is a developer template for x402 paid endpoint examples. It is not the core AirWallet product experience.

Core product surfaces: airwallet.ai · builder.airwallet.ai · app.airwallet.ai · admin.airwallet.ai

Endpoints

Testing

# Free endpoint
curl http://localhost:3100/api/health

# Paid endpoint (will return 402)
curl http://localhost:3100/api/paid/echo?q=hello

# Bypass for development
curl -H "x-airwallet-bypass: true" \
  http://localhost:3100/api/paid/echo?q=hello

# Run buyer script (pays and fetches)
pnpm buyer