Servers (Merchants)
- TypeScript
- Python
Express
Quickstart for building an x402-enabled server with Express.
Hono
Quickstart for building an x402-enabled server with Hono.
NextJS
NextJS server quickstart is coming soon.
Clients (Buyers)
- TypeScript
- Python
Axios
Quickstart for building an x402 client with Axios.
Fetch
Quickstart for building an x402 client with Fetch.
Facilitator
All PayAI starter templates include@payai/facilitator, which automatically connects to the PayAI facilitator at https://facilitator.payai.network. No manual URL configuration needed.
PAYAI_API_KEY_ID and PAYAI_API_KEY_SECRET environment variables to authenticate — see Facilitator Pricing.
The PayAI facilitator supports the following endpoints:
/supported- see which networks and schemes are supported/verify- verify that a payment is valid/settle- settle the payment/discovery/resources- view the bazaar, a marketplace of merchants
Supported networks
The PayAI facilitator supports x402 on the following networks:Need help?
Join our Community
Have questions or want to connect with other developers? Join our Discord server.

