What is ActumX?
ActumX is a SaaS platform that enables developers to monetize their APIs using the x402 payment protocol. Instead of building custom billing systems, ActumX provides a standardized way for APIs to request payments using HTTP 402 status codes, allowing clients to settle and retry requests automatically. The x402 protocol makes payment requirements machine-readable, eliminating the need for custom per-API billing logic. When your API requires payment, it responds with HTTP 402 and structured payment details. Clients can then settle the payment and retry with proof of payment - all handled programmatically.Quick Start
Get started with ActumX in minutes - create an agent, generate an API key, and make your first paid request.
Architecture
Understand how ActumX works under the hood and how the x402 payment flow operates.
x402 Protocol
Learn about the x402 payment protocol and how it enables automated API monetization.
API Reference
Explore the complete API documentation with endpoints for agents, billing, and x402 transactions.
Key Features
Agent Management
Create and manage Solana-based agents (wallets) that can interact with the x402 payment system. Each agent has its own public/private key pair for handling blockchain transactions.API Key Authentication
Generate API keys to authenticate requests to protected endpoints. API keys are hashed and stored securely, with only the prefix visible for identification.Credit-Based Billing
Top up your account with credits (in cents) to pay for API requests. The platform maintains a credit ledger tracking all debits and credits.Current pricing: $0.25 per paid request to the
/v1/protected/quote endpointx402 Payment Flow
The x402 protocol enables a three-step payment flow:- Challenge: Request a protected endpoint without payment proof, receive HTTP 402 with payment details
- Settlement: Submit payment to the settlement endpoint, receive a receipt
- Retry: Retry the original request with payment ID and receipt proof
Receive Payment Challenge
Get HTTP 402 response with payment details including amount, payment ID, and settlement endpoint
Transaction Tracking
Every x402 transaction is tracked with detailed status information:- pending: Payment challenge issued, awaiting settlement
- settled: Payment settled, receipt issued, awaiting consumption
- completed: Request completed successfully with payment proof
MCP Integration
ActumX provides an MCP (Model Context Protocol) server for AI agent integration. The MCP endpoint supports tool calls like checking wallet balances directly from AI assistants.Why x402?
Traditional API monetization requires:- Custom billing integration for each API
- Complex subscription management
- Manual payment reconciliation
- Vendor-specific SDKs
- ✅ Standardized payment protocol
- ✅ Machine-readable payment requirements
- ✅ Automatic retry logic
- ✅ Pay-per-use pricing
- ✅ No subscription overhead
Technology Stack
Backend
Elysia HTTP server on Bun runtime with Drizzle ORM and PostgreSQL
Frontend
Next.js (App Router) with shadcn/ui components and Tailwind CSS
Authentication
Better Auth for secure session management with email/password authentication
Blockchain
Solana integration via @solana/web3.js for agent wallet management