create-python-x402-server - Create x402 Payment-Protected Servers in Python
Build FastAPI or Flask servers that protect API endpoints with Algorand USDC payments using x402 middleware.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install x402 server dependencies
- Set up x402 resource server
- Register AVM server scheme
- Define payment route configurations
- Apply payment middleware
- Define protected route handlers
Inputs
- Python 3.10+ environment
- Algorand payment recipient address
- Facilitator URL
- Route payment configurations
Outputs
- Payment-protected API server
- HTTP 402 response
Requirements
- Python 3.10+
- x402-avm package
