The Official Payment Protocol
for USDT
HTTP-native stablecoin payments across Ethereum, TON, TRON, and Solana. Zero fees. Instant settlement. Built for AI agents.
// Accept USDT payments in 3 lines
import { paymentMiddleware } from "@t402/express";
app.use(paymentMiddleware(config));Supported Chains
Built for Modern Development
Everything you need to accept stablecoin payments, nothing you don't.
HTTP Native
Payments are HTTP headers. Works with any web framework, CDN, or API gateway. No blockchain knowledge required.
Multi-Chain
One SDK, seven chains. Ethereum, Base, Arbitrum, Polygon, TON, TRON, and Solana with unified payment flows.
Gasless Transactions
ERC-4337 account abstraction enables gas-free payments. Users pay with USDT, you cover the rest.
AI Agent Ready
Built-in MCP server for Claude, GPT, and other AI agents. Autonomous payments for the autonomous web.
How It Works
HTTP 402 payment flow in 6 simple steps. No blockchain expertise required.
Client Request
Client sends HTTP request to protected resource
402 Response
Server returns 402 Payment Required with payment details
Sign Payment
Client signs USDT payment with wallet (no gas needed)
Retry with Payment
Client retries request with X-PAYMENT header
Verify & Settle
Facilitator verifies signature and settles on-chain
Access Granted
Server delivers content, payment confirmed
Simple Integration
Add USDT payments to your API in minutes with our SDKs for TypeScript, Python, Go, and Java.
import { paymentMiddleware } from "@t402/express";
import express from "express";
const app = express();
// Protect any endpoint with USDT payments
app.use(paymentMiddleware({
"GET /api/premium": {
price: "$1.00",
network: "eip155:8453", // Base
payTo: "0x..."
}
}));
app.get("/api/premium", (req, res) => {
res.json({ data: "Premium content" });
});Install the SDK
Advanced Features
Enterprise-grade capabilities built for scale
Built for Every Use Case
From micropayments to enterprise billing, T402 scales with your needs
API Monetization
Charge per-request or subscription fees for your API endpoints with zero integration complexity.
AI Agent Payments
Enable autonomous AI agents to pay for tools, data, and services without human intervention.
Content Paywalls
Monetize premium content with instant micropayments. No subscriptions, no friction.
Ready to Accept USDT Payments?
Start accepting stablecoin payments in minutes. No blockchain expertise required. Works with your existing infrastructure.