x402 Pay
A USDC paywall for AI crawlers and bots: return HTTP 402, accept a signed micropayment, then serve the content.
Utiliser avec prudence
x402 Pay works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 5 months ago, and scores 51/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.1 ou plus récent
Téléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where x402 Pay stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| http-402 | #1 |
| micropayments | #29 |
| paywall | >100 |
| USDC | #51 |
| x402 | #1 |
Adoption de version
Part de sites actifs par version.
About x402 Pay
From the official readme · v0.1.3Description
x402 Pay gates selected WordPress posts behind an x402 payment. When a paywalled URL is requested without a valid Payment-Signature header, the plugin responds with HTTP 402 and a PAYMENT-REQUIRED payload describing how to pay. Bots, API clients, and browser-wallet users can sign a USDC transfer, retry the request, and get the response.
Use it to:
- Charge automated agents per article view.
- Offer pay-per-request access to a small set of premium posts.
- Test the x402 payment flow on Base Sepolia without setting up your own facilitator.
The plugin is inert until you pick a paywall mode in Settings → x402 Pay. The default mode is “No posts,” so installing the plugin alone does not gate anything or contact any external service.
Audience and modes
- Audience decides who gets paywalled. “Only bots” (default) uses crawler detection so human readers still see your content. “Everyone” gates both humans and bots.
- Mode decides which posts qualify. Choose “No posts” (off), “All posts,” or restrict the paywall to a chosen category.
Built-in facilitators
- x402.org (Test network) — routes verify and settle calls through the public x402.org facilitator on Base Sepolia. Default for new installs. No real funds move.
- Coinbase CDP — routes through Coinbase Developer Platform on Base mainnet (real USDC). Requires a CDP API key.
Services externes
This plugin connects to external x402 facilitators to verify and settle payments. A facilitator is only contacted when a request hits a paywalled URL carrying a Payment-Signature header, or when an admin clicks Test connection on the settings page. Installing the plugin without selecting a paywall mode triggers no outbound calls.
x402.org (Test network)
Used by the default x402.org (Test network) connector.
- Endpoint:
https://x402.org/facilitator/ - What is sent: x402 PaymentRequirements (your receiving wallet address, amount, asset, network, resource URL) and the paying client’s PaymentPayload (a signed USDC
transferWithAuthorizationauthorization). - Why: to verify and settle the USDC payment on Base Sepolia.
- Site: https://www.x402.org/
- Terms of use: https://lfprojects.org/policies/terms-of-use/
- Privacy policy: https://lfprojects.org/policies/privacy-policy/
- This is a public testnet facilitator; do not use it for production paywalls.
Coinbase Developer Platform
Used only when an admin selects the Coinbase CDP connector and saves an API key.
- Endpoint:
https://api.cdp.coinbase.com/platform/v2/x402/ - What is sent: the same x402 PaymentRequirements and PaymentPayload, plus a CDP-signed JWT proving the API key.
- Why: to verify and settle the USDC payment on Base mainnet.
- Terms of service: https://coinbase.com/legal/developer-platform/terms-of-service/
- Privacy policy: https://coinbase.com/legal/privacy
Développement
Source, build instructions, and issue tracker: https://github.com/Automattic/x402-pay
The admin UI is built from assets/src/index.jsx via npm run build; the bundled assets/build/index.js is the compiled output.
Installation
- Installez et activez le plugin.
- Visit Settings → x402 Pay.
- Enter the wallet address that should receive payments.
- Pick a paywall mode and audience.
- Pick a facilitator. For Coinbase, paste your CDP API Key ID and secret.
- Save.
Journal de modifications
0.1.3
- Use canonical coinbase.com legal URLs so the terms and privacy links pass Plugin Directory link validation.
0.1.2
- Public 402 page assets now use WordPress enqueue APIs for Plugin Directory review compliance.
0.1.1
- Paywall page now swaps the wallet buttons for a single live status message while a payment is in progress, and surfaces wallet rejections or settlement failures in a dismissible modal so visitors can retry.
0.1.0
- Initial release: paywall posts by category or all posts; gate humans, bots, or both; verify and settle USDC payments via x402.org on Base Sepolia or Coinbase CDP on Base mainnet.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
FAQ
x402 Pay: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is x402 Pay free?
Yes. x402 Pay is free to download and use from the official WordPress.org plugin directory.
Is x402 Pay safe to use in 2026?
x402 Pay works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 5 months ago, and scores 51/100 on our health check.
How many websites use x402 Pay?
x402 Pay is active on 10+ WordPress websites and has been downloaded 440 times since it launched in June 2026. It was downloaded 92 times in the last 30 days.
Does x402 Pay work with WordPress 7.1?
x402 Pay is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does x402 Pay need?
x402 Pay requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was x402 Pay last updated?
The latest version, 0.1.3, was released on June 24, 2026 (5 months ago).
Who makes x402 Pay?
x402 Pay is developed and maintained by Steve Dufresne.
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit



