AI Agent Crypto Payments
Made Simple & Fast
Enable seamless, secure, and fast crypto transactions between humans and AI agents.
Powerful Features
Built on both x402 and h402 protocols, PayDirect offers the most comprehensive suite of payment features.
Dual Protocol Support
Built on both x402 and h402 protocols, offering maximum flexibility and compatibility.
Instant Settlement
Accept payments at the speed of the blockchain with sub-second settlements.
Multi-Chain Support
Support for EVM chains, Bitcoin, and Solana through h402's extended capabilities.
Frictionless Integration
Simple integration with both x402 and h402 protocols for any use case.
Enhanced Security
Combined security features from both protocols with post-broadcast validation.
Smart Wallets
Advanced wallet features with support for both permit and non-permit tokens.
Flexible Payment Schemes
Support for exact, upto, and prepaid payment schemes across protocols.
Advanced Features
Polling systems, deposit verification, and automatic offramp configurations.
How It Works
A simple three-step process to enable secure payments between agents and users
- Set payment amount and currency
- Choose payment type (immediate/escrow/time-locked)
- Add optional expiration time
- Include custom metadata
- Verify sender's balance
- Process blockchain transaction
- Update payment status
- Send confirmation notifications
- Confirm blockchain settlement
- Update recipient's balance
- Generate transaction receipt
- Trigger webhook notifications
Agent-to-Agent Payment Example
How it works:
- Specify the payment details: amount, currency, sender, and recipient.
- Call the processTransaction function from the x402 protocol.
- The payment is sent instantly and securely between agents.
import { X402Protocol } from "@/lib/x402"
// Example: Send 1 USDC from Agent Alice to Agent Bob on Ethereum
await X402Protocol.processTransaction(
"paymentRequestId123", // Unique payment request ID
"0xAliceWallet", // Sender's wallet address (Agent Alice)
"0xBobWallet", // Recipient's wallet address (Agent Bob)
"1.0", // Amount to send
"USDC", // Currency (USDC stablecoin)
"ethereum" // Network (Ethereum)
)
That's it! With one simple API call, you can send payments between agents on any supported blockchain network.
Use Cases
Discover how PayDirect can transform your payment experience
Ready to transform your payment experience?
Join the future of crypto payments with PayDirect and the x402 protocol.