Move app/routers/x402_enforcement.py verbatim to app/billing/x402/enforcement.py with a thin X402Enforcer class wrapper exposing the public API. The legacy app/routers/x402_enforcement.py becomes a re-export shim. Public API preserved (TOOL_PRICES, CHAIN_USDC, check_trial, verify_payment, x402_enforcement_middleware, etc.). Routes unchanged (56). Phase 3B of AUDIT-2026-Q3.md.
4 lines
57 B
Python
4 lines
57 B
Python
"""Billing subsystem.
|
|
|
|
Phase 3B of AUDIT-2026-Q3.md.
|
|
"""
|