create-python-x402-server - Create x402 Payment-Protected Servers in Python
Create x402 payment-protected servers with FastAPI or Flask for Algorand.
Tags
Updated: 2026-09-19Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Install x402 Python dependencies
- Set up x402 resource server
- Register AVM payment scheme
- Define route payment configurations
- Apply x402 payment middleware
- Protect API endpoints with USDC
Inputs
- Algorand recipient address
- Facilitator URL
- Route payment configurations
- FastAPI or Flask application
Outputs
- Payment-protected HTTP endpoints
- HTTP 402 Payment Required responses
- Settled payment transactions
Requirements
- Python 3.10+
- x402-avm library with web framework extras
