Direct P2P Stablecoin Payments

X402DIRECT

Direct payments without platform risk.

Customers pay vendors directly. No processor, no shutdown risk, no surprise holds.

Built For
Agentic Payments | Instant WorldWide Transfer | MicroPayments
Ultra low transaction costsPayor or vendor submits on-chainWallet-controlled approvals
X402DIRECT globe animation
Global Reach

Pay anyone, anywhere

Direct on-chain payments remove borders, intermediaries, and platform shutdown risk.

🔁

Direct + Flexible Payments

  • Payments go directly from customer to vendor with no payment processing intermediary.
  • Payor can submit the payment to the blockchain or the vendor can submit it.
  • Ultralow transaction costs with complete flexibility on who pays those costs.
🔐

Ultimate Control

  • Funds cannot be transferred without approval from the payor wallet.
  • Payor wallets set limits on the amount spent per day, week, and total.
  • Wallet owners can temporarily delegate spend permissions while keeping strict caps.
🤖

Built for Agents

  • Built for agentic payments and throwaway wallets for safer online shopping.
  • Link wallets to AgentPMT for gas sponsorship, marketplace access, and MCP integration.
For Vendors

Implement X402DIRECT

Add direct, verifiable stablecoin payments to your API or checkout flow with minimal integration work.

For Users

Connect Your Wallet

Connect a wallet to control spending limits, approve payments, and keep full custody of your funds.

For AI Agents

Connect Your AI Agent

Use sponsored gas, an MCP tool for X402DIRECT spending, and AgentPMT integrations to power autonomous payments.

Ding logo
Coming Soon

Add the Ding extension to your browser and make easy X402DIRECT payments at any site that accepts it.

Simple, Secure, Direct

1

Client Requests Protected Resource

Server returns 402 Payment Required with unique nonce (integer), payment options (chain, token, amount), and any additional required fields

2

Client Executes Payment

Client calls executePayment() on UPC contract with nonce, transferring stablecoins to merchant

3

Contract Emits Event

Smart contract emits PaymentExecuted event on-chain for cryptographic verification

Client Submits Proof & Gets Access

Client submits transaction hash + nonce + additional fields. Server verifies payment on-chain and grants instant access

// Payment verification is trustless
verifyPayment(txHash, nonce, paymentOption)

Built for Cutting-Edge Chains

Supports modern blockchains with CAIP standard compliance

Base

Layer 2 for Ethereum

EIP155: 8453
USDC supported
Mainnet ready

Base Sepolia

Testnet environment

EIP155: 84532
Test USDC
Perfect for testing

ARC Testnet

Testnet environment

Subsecond finality
Minimal gas fees
Modern infrastructure
CAIP Standard Compliant

Live x402Direct Contracts

Current chain configuration, UPC addresses, and on-chain fee parameters for this deployment.

Key Protocol Features

Built for the era of AI agents and autonomous payments

🔢

Integer Nonces

Unique integer payment identifiers prevent replay attacks and ensure one-time use

🌐

CAIP Standard

Chain-agnostic using CAIP-2 and CAIP-10 for universal blockchain addressing

📝

Additional Fields

Support for vendor-specific fields like userEmail, userName for personalization

🤖

AI Agent Ready

Machine-readable HTTP 402 responses for autonomous payment execution

💰

Stablecoin Native

Built for USDC, USDT, and other stablecoins with precise amount handling

Instant Verification

On-chain payment verification in seconds on modern high-speed blockchains

Contributors

Apoth3osis.io and AgentPMT.com are collaborating to build X402DIRECT and its ecosystem.

Core Protocol

Apoth3osis.io

Apoth3osis.io focuses on mathematical research, cryptography, mathematical proofs, and AI research.

Visit Apoth3osis.io ->
Ecosystem + Marketplace

AgentPMT.com

AgentPMT.com brings X402DIRECT into production with programmable USDC wallets, controlled budgets, and a marketplace where agents can purchase tools and services with verified on-chain payments.

Visit AgentPMT.com ->

Protocol Overview

Simple HTTP 402 Payment Required responses with on-chain verification

// 402 Payment Required Response
{
  "x402version": "direct.1.0.0",
  "nonce": 1234567890,
  "description": "Premium API Access",
  "resource": "/api/premium/data",
  "accessMethod": "GET",
  "additionalRequired": {
    "userEmail": "user@example.com"
  },
  "paymentOptions": [{
    "id": "po_base_usdc",
    "payToAddress": "eip155:8453:0x742d35Cc...",
    "assetAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amountRequired": 1000000,  // 1 USDC
    "description": "1 USDC on Base"
  }]
}
Nonce-Based
One-time payment IDs
On-Chain
Cryptographic verification
CAIP
Chain-agnostic standard