PLAIN-ENGLISH EXPLAINER

What is x402?

x402 is a way for software to pay for a single online service exactly when it needs it. The API asks for payment, the agent authorizes the quoted amount, and the API returns the answer—without an account, subscription, or API key.

The simple version

Imagine a vending machine for software. An agent asks for one result. The service displays the exact price. The agent pays, receives that result, and moves on.

The name comes from HTTP status code 402, which means Payment Required. x402 turns that long-reserved status into a practical machine-payment flow.

What happens during a call

The first request receives a payment requirement instead of the paid result. That requirement identifies the price, network, asset, recipient, and expiration. The agent decides whether the terms match its instructions, authorizes payment, and repeats the request with proof.

  • The service quotes a precise price.
  • The agent keeps control of whether to pay.
  • Settlement and the API response happen as one machine-readable flow.
  • No human checkout page is required.

Why agents need another safety layer

A valid payment request is not automatically a wise payment. The wallet may be underfunded, the recipient may be unexpected, or the quoted price may exceed the agent's limit. Decision checks turn payment capability into controlled payment behavior.

COMMON QUESTIONS

Questions, answered.

Does x402 require an account?

Not necessarily. A service can accept an x402 payment without creating a customer account or issuing an API key.

What currency does Anyway Possible use?

Anyway Possible accepts USDC payments on Base mainnet for its paid API and MCP tools.

Can an AI agent pay automatically?

Yes, when its wallet and policy allow it. The agent still needs to validate the price and payment terms before authorizing the transaction.