Now live on Base

Payments for the
Machine Age

The first payment infrastructure built for AI agents and micropayments.Pay with USDC on Base. Sub-cent transactions. Instant settlement. Enterprise security.

View pricing
Requires USDC on Base network
Get testnet USDC →
SOC 2 Type II
EIP-712 Verified
99.99% Uptime
$0.0001
Min Transaction
<100ms
Latency
1%
Protocol Fee
Scalability

Built for micropayments

Traditional payment processors weren't designed for sub-dollar USDC transactions

Traditional Processors

e.g. Stripe
Base fee$0.30
Percentage2.9%
Cost on $0.05 payment$0.30

600% of transaction value

❌ Uneconomical for micropayments
Recommended

P402.io

Next-gen
Base fee$0.00
Percentage1.0%
Cost on $0.05 payment$0.0005

1% of transaction value

✓ Purpose-built for AI & micropayments
How fees work: The 1% protocol fee is automatically deducted from each USDC transaction via smart contract. The recipient receives 99% of the payment amount.

Save up to 99% on transaction fees for micropayments

Where P402.io fits best

Real-world applications for micropayment infrastructure

Pay-per-call APIs

Monetize every API request without subscriptions or rate limits

Data and analytics endpoints
AI model inference
Web scraping and enrichment services

Pay-per-view content

Unlock premium content with frictionless micropayments

Premium articles
Downloadable research
Video or audio snippets

Agent and bot payments

Enable autonomous systems to transact without human approval

Research agents paying per source
Internal tools pulling third-party data
Low-latency actions where human approval is too slow

Enterprise-grade infrastructure

Built for scale, security, and speed

Cryptographic Security

EIP-712 signatures ensure every transaction is verifiable and tamper-proof

Instant Settlement

Sub-100ms latency on Base L2. No waiting for blockchain confirmations

Session Keys

One signature enables hours of frictionless payments. No popups

Developer First

Drop-in middleware for Express, Next.js. Full TypeScript support

Real-time Analytics

Monitor every transaction with our built-in dashboard

Agent Identity

ERC-8004 compatible. Gate access by reputation score

How to use P402.io

Get started in minutes, not days

1

Connect Your Wallet

Use MetaMask or Coinbase Wallet with USDC on Base network. Make sure you're connected to Base (Chain ID: 8453).

→ Click "Connect Wallet"
→ Switch to Base network
→ You're ready!
Need USDC? Get testnet USDC from Base faucet
2

Enable Session Keys

Sign once to authorize payments for the next hour. No more popups for every transaction.

→ Click "Enable Session"
→ Sign authorization (once)
→ Auto-pay enabled ✓
3

Start Using Services

Access premium APIs, content, and AI services. Payments happen automatically in the background.

→ Browse services
→ Click to access
→ Instant payment ⚡

What you can do with P402.io

Access Premium Content

Pay per article, video, or download. Only pay for what you consume.

Use AI APIs

Pay per API call. Perfect for GPT, image generation, and data processing.

Micropayments for Services

Send $0.001 to $1.00 payments. No minimum transaction size.

Run Autonomous Agents

Let AI agents pay for resources automatically. No human intervention needed.

Ready to get started?

Try the demo with test funds (no real money required)

Launch Demo →

Transparent pricing

Pay only for what you use. No monthly fees

1,000,000 requests
$
Total revenue$10,000
P402.io fee (1%)-$100
vs. Stripe ($0.30 + 2.9%)-$300,290
Your earnings$9,900

↑ Save $300,190 vs. Stripe

Built for developers

Integrate P402.io into your app in minutes

Server-Side (API Protection)

Protect your API endpoints with payment requirements

import { x402PaymentRequired } from '@p402/sdk-server';

app.get('/premium-content',
  x402PaymentRequired({
    amount: '0.01',
    token: 'USDC',
    recipient: '0xYourAddress'
  }),
  (req, res) => {
    res.json({ content: 'Premium data' });
  }
);
ExpressNext.jsPython

Client-Side (Browser)

Auto-handle 402 responses with session keys

import { X402Client, SessionManager } from '@p402/sdk-client';

const session = new SessionManager();
await session.createSession(wallet, '10', 3600);

const client = new X402Client({ sessionManager: session });
const data = await client.fetch('/premium-content');
// Payment handled automatically!
ReactVueVanilla JS

Agent-to-Agent Protocol

Enable autonomous AI agents to pay for resources without human intervention

How it works

  1. 1Agent requests protected resource via HTTP
  2. 2Server returns 402 Payment Required with payment details
  3. 3Agent's policy engine evaluates cost vs. budget
  4. 4If approved, agent signs payment with private key
  5. 5Request retries with Payment-Signature header
  6. 6Server verifies signature and grants access

Agent SDK Example

import { Agent, AgentPolicy } from '@p402/agent-core';

const agent = new Agent({
  privateKey: process.env.AGENT_KEY,
  policy: new AgentPolicy({
    maxBudget: 100,        // $100 daily limit
    maxPerTx: 1,           // $1 per transaction
    approvedDomains: ['api.openai.com']
  })
});

// Agent autonomously pays for API calls
const result = await agent.fetch(
  'https://api.openai.com/v1/chat/completions',
  { method: 'POST', body: prompt }
);
// Payment handled automatically if within policy!
ERC-8004 Identity & Reputation

Agents have on-chain identities with reputation scores. Service providers can gate access based on agent behavior history, preventing abuse while enabling trustless commerce.