Welcome to PayNode Protocol
PayNode is a stateless, non-custodial Machine-to-Machine (M2M) payment gateway. It is designed to bridge the gap between AI Agents and the API economy.
Currently, if an AI Agent hits an API that requires a credit card, it gets stuck. PayNode solves this by standardizing the HTTP 402 Payment Required status code, allowing Agents to autonomously pay for digital resources using USDC on Base L2.
🌟 Why PayNode?
- Agent-Native: Built specifically for autonomous LLMs and scraping scripts. No UI required.
- Deterministic: Runs entirely on-chain on Base L2. No central databases, no KYC.
- Stateless Verification: Merchants verify payments via cryptographic transaction receipts (TxHash). No need to maintain complex order states.
- Fair Economics: A hardcoded, atomic split. 99% of the payment goes directly to the Merchant’s wallet. 1% is routed to the Protocol Treasury.
📚 Documentation Navigation
To get started, explore the sections below:
- Protocol (x402): Understand the HTTP handshake and how the
402status code is utilized. - Architecture: Deep dive into the smart contracts and the “Don’t Trust, Verify” philosophy.
- JavaScript SDK: Detailed guides for integrating PayNode in TypeScript/Node.js environments.
- Python SDK: Detailed guides for integrating PayNode in Python (FastAPI/Requests) environments.
- Smart Contracts: Contract addresses, ABI details, and Mainnet verification.
🚀 The Vision
We believe in a Sovereign AI Future where machines can frictionlessly transact with one another. PayNode provides the missing financial primitive for the machine economy.