Integrations

Plug in where you already are.

Prices live in the Penni dashboard. Pick the integration that fits your stack: it reads those prices, answers 402, and settles payments to your wallet. Change a price and every integration follows within a minute.

WordPress

Charge the bots. Not your readers.

For blogs, news sites and knowledge bases on WordPress 6.0 or newer.

  1. Install the pluginUpload penni.zip under Plugins → Add New, then open Settings → Penni.
  2. Connect your sitePaste the site ID and API key from the dashboard and press Test connection. It tells you whether the site is in test or live mode.
  3. Choose who paysAI agents and apps only (default): known AI crawlers and x402 clients pay, people and search engines read as usual. Or Everyone, with a friendly page explaining how to pay.
  4. Safe by defaultAdmins, logins, feeds, sitemaps and allow-listed IPs are never charged. If Penni can't be reached, your site keeps serving. Paid pages are kept out of page caches.
Cloudflare Worker

A paywall at the edge, for any origin.

Your site stays where it is. The Worker charges per path and passes everything else straight through.

# In integrations/cloudflare-worker
npx wrangler secret put PENNI_API_KEY
npx wrangler deploy

# Then add a route, e.g. blog.example.eu/*,
# or a custom domain for the Worker.
Middleware

One line in your server.

@pennipay/x402 has no runtime dependencies and runs on Node, Bun, Deno and Cloudflare Workers. It checks every payment against your current prices before it reaches us, so a client can't pay less than you asked.

Already on x402? Any x402 client or middleware works with Penni's facilitator at https://api.pennipay.eu/v1/x402.

Developer guide →

import { penni } from "@pennipay/x402/express";

app.use(penni({ siteId: "site_7Kx2", apiKey: process.env.PENNI_API_KEY }));
Around the payment

Your numbers, in your systems.

Webhooks

Know the moment you're paid

Signed events for every settlement, low credits and top-ups, sent to your own endpoint, with retries and a delivery log.

CSV export

Ready for your bookkeeping

Settlements and credit transactions per month, site or mode, as a CSV that opens cleanly in any spreadsheet.

Discovery

Get found by agents

Opt in to list your paid resources in the x402 Bazaar discovery API, so agents can find what you sell. Off until you switch it on.

Pick one. Start in test mode.

Create an account