One agent does the work, another pays for it — no human keys a card. Interline routes the payment, never holds the funds.
OpenRouter for agent payments. One Paywall.gate() call settles across every rail.
Two protocols, three networks, real on-chain settlements confirmed. Adding a rail is one adapter, not a rewrite.
No payment → the caller gets a 402 with the rails you accept. Paid → the work runs, a receipt comes back.
# your agent's endpoint, now pay-gated across every rail from interline import Paywall, X402Rail, MppRail paywall = Paywall(rails=[X402Rail(), MppRail()]) async def handler(request): return await paywall.gate(request, price="0.50", work=do_the_work)
A full agent-pays-agent loop runs locally in one command.
pip install -r requirements.txt python3 run_demo.py # → DEMO PASS — agent paid agent, receipt issued