Sui a402
a402 protocol on Sui is built to empower builders, creators, and people everywhere to build apps, grow businesses, create what they love, and earn onchain.
Quick Start
Get up and running with Sui a402 in minutes
Install Package
Add Beep SDK to your project
npm install @beep-it/sdk-core
Configure MCP→
Add to Claude Desktop config
{
"mcpServers": {
"beep-payments": {
"command": "node",
"args": ["/path/to/mcp-server.js"]
}
}
}Start Building→
Initialize and create payments
const beep = new BeepClient({ apiKey })Ready to Go→
Start accepting payments
await beep.payments.requestAndPurchaseAsset()
npm install @beep-it/sdk-core
Powerful Primitives
Visualizing how Sui a402 protocol handles the heavy lifting of payment logic, verification, and settlement.
HTTP 402 Protocol
Standardized flow: Request → 402 Challenge → Payment → Resource Access
Instant Settlement
Payments settle on Sui network in 2-5 seconds with low fees
Simple Configuration
Define routes, prices, and assets directly in your Express middleware
Cryptographic Verification
Middleware automatically verifies transaction signatures and validity
Native SUI Support
Accept payments in native SUI coin. Simple, fast, and secure
Automated Error Handling
Gracefully handles timeouts, insufficient funds, and network errors
