Real x402 payment flow against Base Sepolia. Requires a funded embedded wallet.
The highlighted step reflects the current payment state.
Client requests feature
x402 Payment
fetchWithPayment handles the full 402 cycle — no SDK boilerplate in the page
Entitlement Record
Entitlement is recorded server-side after payment settles, using the session cookie for identity
Persistence
Page reload calls /api/features/check which queries the DB, not client state