Launch your own x402 facilitator

Start free. Add your domain when you're ready.

EVM + Solana
x402 v2
Apache 2.0
No Rate Limits
Refund Protection

Or just use ours

Completely free. Start accepting payments in seconds. Offer refund protection to your users.

pay.openfacilitator.io
Refund Protection AvailableAutomatically refund users when API calls fail
server.ts
import { createPaymentMiddleware } from '@openfacilitator/sdk';

const paymentMiddleware = createPaymentMiddleware({
  getRequirements: () => ({
    scheme: 'exact',
    network: 'base',
    maxAmountRequired: '1000000',
    asset: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913',
    payTo: '0xYourAddress',
  }),
  refundProtection: {
    apiKey: process.env.REFUND_API_KEY,
  },
});

app.post('/api/resource', paymentMiddleware, async (req, res) => {
  // Payment verified & settled automatically
  res.json({ success: true });
});

How it works

x402 is an open standard for web payments. The facilitator handles the blockchain stuff.

1

Add to your app

Point your x402 client at the free endpoint. One line of config.

2

User pays

User signs a payment with their wallet. No gas fees for users.

3

Facilitator settles

We verify and submit the transaction. Funds go directly to your wallet.

Ready for your own domain?

Get your volume tracked on x402 leaderboards, professional branding at pay.yourdomain.com, and full control.

Get your domain — $5/mo

Built for builders

Everything you need to monetize your app or API.

Payment Links

Shareable URLs that accept payments. Works for humans (clean UI) and AI agents (x402 protocol) — same link.

  • No code required
  • Custom amounts or fixed pricing
  • Works with any wallet
Create a payment link

Webhooks

Get notified instantly when payments complete. Automate fulfillment, unlock content, or trigger any workflow.

// Your webhook receives
{
"event": "payment.completed",
"amount": "5.00",
"payer": "0x..."
}
Set up webhooks

Stand out with refund protection

Differentiate yourself in the x402 ecosystem. When your API fails after payment, automatically refund your users. Build trust and reduce support burden.

Set up refund protection

x402 Discovery Built In

We've partnered with trusted x402 marketplaces like x402.jobs to give your facilitator access to discoverable, verified endpoints out of the box. Your agents can find paid APIs programmatically.

GET /discovery/resourcesView

Hundreds of verified x402-enabled APIs with payment requirements. No auth needed. See the docs →

Your brand. Your facilitator.

Show up in x402scan. Build trust with your users.

Free

$0/forever
Get Started

Starter

$5/month
Get Started

Want full control? It's open source. View on GitHub →

API Reference

Four endpoints. That's all you need.

GET/supported

Returns supported networks and tokens

GET/discovery/resources

Discover x402-enabled APIs from trusted marketplaces

POST/verify

Verify a payment signature is valid

POST/settle

Submit the transaction to the blockchain