Frictionless, Autonomous Payments forAPIs, Apps & AI Agents

x402 is an open payment standard that enables a pay-per-use model for APIs requiring no accounts, subscriptions, or API keys. By leveraging HTTP 402 “Payment Required”, x402 enables real-time, pay-as-you-go monetization with cryptocurrency, including stablecoins like USDC, unlocking frictionless, AI-native payments.

CodeNut provides essential infrastructures and tooling with CodeNut AI & CodeNut Pay, allowing developers to effortlessly build Apps, Agents and Services that leverage these emerging payment rails and participate in the next-gen agentic commerce.

Supported Networks

High Performance
Multi-chain support
Easy to use
const { verify, settle } = useFacilitator({  url: "https://facilitator.codenut.ai",});
Facilitators

As a top facilitator in the x402 ecosystem, CodeNut x402 facilitators offer seamless, high throughput payment processing and settlement services for Base, X Layer and Solana. They abstract away multi-chain complexity, offer unified access for resource servers, Apps and Agents can leverage this essential infrastructure to realize a gas-free, frictionless payment experience.

x402Pay

Empowered by the simplicity of x402 protocol, x402Pay makes settling and accepting payment easier with a semantic payment URL. Anyone can get paid by sharing a meaningful link and the payment is smooth and gas-free, ideal for sponsorship, tipping and raising funds.

Build a pay per use camera app that takes headshots and turn them into various style. It should provide an easy to use interface and use the native browser API to access camera on-device
Easy Payment Integration

x402 opens a new way for Apps and services to receive payment - in addition to the traditional registration/subscription model, apps and APIs built on the CodeNut vibe coding platform can easily integrate a granularly tailored pay-per-use model, or aggregate/orchestrate functionalities from other x402-enabled APIs, agents or services.

What is x402

x402 is an open payment standard that enables AI agents and web services to autonomously pay for API access, data, and digital services. By leveraging the long-standing HTTP 402 “Payment Required” status code, x402 eliminates the need for API keys, subscriptions, and manual payment processing, allowing real-time, machine-native transactions using stablecoins like USDC. With one line of code, developers can integrate pay-per-use monetization, unlocking frictionless payments for context retrieval and third-party APIs for AI-driven applications. x402 offers instant settlement, near-zero fees, and chain-agnostic flexibility, making it the ideal solution for AI-first commerce and machine-to-machine payments.

CodeNut Payment / x402 - Frictionless & Autonomous Payments for APIs, Apps & AI Agents | CodeNut