x402 payments

Let agents pay. Never let them overspend.

Set the policy once. Approved domain operations settle in USDC without exposing a card or unrestricted wallet access.

policy-protected purchase
$POST /api/domains/buy {"domain":"atlas.run","payment_method":"usdc"}
402 Payment Required 12.00 USDC on a supported chain
$sign payment and retry
Payment verified Registered atlas.run Audit event recorded

Payment is a permission, not a blank check.

Every agent token can carry its own financial boundary. The server enforces it before a payment is requested.

USDC when it fits the workflow

An agent can complete a supported paid operation over x402. Humans can continue using a saved card or marketplace balance.

The policy wins every time

A valid payment cannot bypass the token scope, transaction cap, monthly ceiling, or operation-specific price limit.

A short, inspectable handshake.

The API returns the exact amount and supported payment options. The client signs, retries, and receives the original operation result.

The domain price is checked again before payment
The agent selects a supported chain
The payment is verified and protected from reuse
The domain operation completes
The charge and actor enter the audit trail

Build payments into the policy.

Create a scoped token, add hard limits, and let the agent use x402 only where you intended.