Skip to content
PayAgents Developer Documentation

PayAgents Documentation

Explore our guides and implementation patterns to integrate autonomous payments, MCP tool monetization, and spending guardrails.

01 • Quickstart

Getting Started

Integrate transactional controls in less than five minutes. Our SDK handles transaction formatting, signature generation, and verification. Learn how to install the package and initialize your client.

Explore Guide
02 • Monetization

Receive Payments

Monetize AI agent tools, data feeds, and specialized endpoints by setting up L402 and x402 payment challenges. Intercept incoming calls, support multiple rails, and settle balances non-custodially.

Explore Guide
03 • Autonomous Spending

Send Payments

Give your autonomous software agents the power to execute L402 and x402 payments and navigate gated developer portals dynamically using the pay() API wrapper with spending policies.

Explore Guide
PAY
04 • Model Context Protocol

MCP Monetization

Model Context Protocol allows LLMs to safely query tools. Connect PayAgents middleware to charge micropayments per tool call, or connect Claude Desktop and Cursor with an autonomous spending wallet.

Explore Guide