create-python-x402-server - Create x402 payment-protected servers in Python
Build FastAPI or Flask servers protecting API endpoints with Algorand USDC payments using x402 middleware.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install x402 Python dependencies
- Configure x402 resource server
- Define payment route configurations
- Apply payment middleware to FastAPI
- Apply payment middleware to Flask
- Register payment schemes
Inputs
- Algorand receiving address
- Facilitator URL
- Route pricing configurations
- Python web application instance
Outputs
- Payment-protected API endpoints
- HTTP 402 responses
- Settled payment transactions
Requirements
- Python 3.10+
- x402-avm Python package
- Network access to facilitator
