What problem does it solve?
It helps you add reliable, auditable paid-API payment flows for AI agents and machine-to-machine clients on Stellar, so requests can be gated behind protocol-enforced payments. It reduces friction by supporting fee sponsorship (zero-XLM clients) and high-frequency throughput using payment channels. It also avoids overcomplicated blockchain integration by providing clear protocol choices based on your dependency and request-rate needs.
Core Features & Use Cases
- x402 (Paid APIs + fee-sponsored buyers): Integrate an Express API that clients pay via OZ Channels, with clients signing auth entries while the facilitator assembles and settles the Stellar transaction.
- MPP Charge (per-request on-chain settlement): Enable direct Soroban SAC token transfers per request with optional server fee sponsorship for clients.
- MPP Channel (high-frequency off-chain commitments): Support many requests per session by depositing once, signing cumulative commitments off-chain, and settling once when closing.
- Use Cases: Charge an agent for each API call, sell a paid endpoint to AI agents with minimal client requirements, or design a channel-based architecture for high-volume agent traffic.
Quick Start
Use the agentic-payments skill to choose x402 when you want the fastest setup for selling a paid API to agents with zero XLM client requirements.