x402: turning "payment required" into a one-off checkout

Follow the four steps from first visit to payment and unlocked content. No engineering background needed.

2-minute video

Can’t play the embed? Open it on YouTube.

How x402 works (four steps)

  1. User visits: the browser requests a protected page.
  2. Server responds with 402 + payment instructions: the site states payment is required and includes the checkout details.
  3. Payment happens: the user pays once, typically with USDC via an exchange or wallet.
  4. Access unlocks: successful payment unlocks the content automatically.

Ready to try it?

Prepare USDC in three steps

References