Machine-to-machine payments for the agentic economy.
x402 turns the HTTP 402 status code — historically unused — into a negotiation primitive. When a client requests a paid resource without valid payment, the server returns 402 along with the terms and accepted payment methods. The client then retries with payment attached, and the resource is served. The result is a payment flow that looks like ordinary HTTP to the caller.
The 402 handshake, step by step
- —Agent issues a standard HTTP request for a resource (e.g. an inference endpoint).
- —Server responds with HTTP 402 and a payment challenge: price, token, and supported settlement methods.
- —Agent evaluates the terms against its own budget and policy, then authorizes payment.
- —Payment is verified on UTON and settled to the provider's account.
- —Server releases the resource in the same logical session — no separate billing round-trip.
Why HTTP 402 for machine payments
Applications
How UTON uses x402
UTON exposes agent-facing services behind x402 negotiation. An agent calling a UTON-hosted endpoint receives a 402 challenge denominated in UTON's native fee token; once it pays, the call proceeds. UTON's settlement layer finalizes the payment and emits an on-chain receipt the provider and caller can both verify. This keeps machine commerce composable, auditable, and free of trusted intermediaries.
x402 is an open payment standard. UTON implements an x402-oriented architecture; it does not own or control the x402 standard.