Skip to main content

Nevermined Pay is Live

AI agents on real credit card rails

Details
x402 Facilitator

The Payment Layer
for AI Agents

Nevermined's x402 Facilitator coordinates authorization, metering, and settlement for AI agents — across fiat, crypto, credits, and smart accounts.

Unified x402 payment handshake
Usage-driven, programmable settlement
Built for agent-to-agent and AP2 workflows
x402-flow.ts
TypeScript
1import { Payments } from '@nevermined-io/payments'
2
3// Initialize the payments client
4const payments = Payments.getInstance({
5nvmApiKey: process.env.NVM_API_KEY,
6environment: 'live'
7})
8
9// Verify x402 token with facilitator
10const result = await payments.facilitator
11.verifyPermissions({
12x402AccessToken,
13maxAmount: BigInt(credits)
14})
15
Payment verified, settlement ready
Connectedfacilitator.nevermined.app
nvm:erc4337
Capabilities

Everything You Need to Monetize AI

Fiat + Crypto Payments

Cards, wallets, stablecoins, and credits. One integration handles all payment rails.

Flexible Pricing Models

Pay-as-you-go, credit plans, or time-limited access. Configure what fits.

Dynamic Pricing Logic

Fixed rates, cost-plus margins, or real-time dynamic pricing. You control the economics.

Enterprise Ready

SOC-2, ISO 27001, PCI SAQ-A, GDPR. Audit-ready flows with complete transaction trails.

Smart Accounts

ERC-4337 smart accounts with session keys. Settlement without key custody.

Easy Integration

Agent + client libraries with drop-in request protection. Minimal code surface.

nevermined/x402-facilitator/quickstart

Integration Guide

Add payment protection to your AI agent in three steps. Full TypeScript and Python support. Pick your language and start integrating.

1

Install the SDK

terminal
$npm install@nevermined-io/payments
2

Initialize the client

payments.ts
import { Payments } from '@nevermined-io/payments'
// Initialize with your API key
const payments = Payments.getInstance({
nvmApiKey: process.env.NVM_API_KEY,
environment: 'live'
})
3

Protect your endpoint

route.ts
// Verify x402 payment in your API route
const result = await payments.facilitator
.verifyPermissions({
x402AccessToken,
maxAmount: BigInt(credits)
})
Payment verified, proceed with request

SDK Features

  • Full TypeScript support
  • Works with Next.js, Express, Fastify
  • Automatic retry & error handling
  • Zero dependencies
npmv1.3.2
Stable

Enterprise Ready

Audit-ready compliance for regulated industries

SOC-2
ISO 27001
PCI SAQ-A
GDPR
The Coordination Layer

Not an Agent. The Infrastructure.

Without the Facilitator

  • Agents must handle auth, pricing, metering, and settlement themselves
  • Tight coupling to specific payment rails and blockchain infrastructure
  • No auditability or coordination across multi-agent workflows
  • Each integration requires custom payment logic

With the Nevermined Facilitator

  • Coordinates authorize → meter → redeem → settle in one flow
  • Enforces pricing, entitlements, and settlement logic transparently
  • Rail-neutral: fiat, crypto, or credits — same integration
  • Complete audit trail for every transaction and agent interaction
pricing/commercial

Simple, Aligned Pricing

1–2%per tx
No minimums
No lock-in
Success-based
Talk to Sales
The business model for the AI era

Metered pricing is how agents earn revenue.

But metered pricing doesn't work without the right infrastructure underneath. It requires:

Metering
Access Control
Entitlements
Settlement

Nevermined is that infrastructure.

One integration. Every payment rail. Policy enforcement baked in at the protocol level.

ERC-4337 Smart Accounts

UserOperations enforce cross-rail guardrails. Fiat and crypto governed by the same policy engine, reconciled in a unified ledger.

Credits & Pay-As-You-Go

Credits are programmable entitlements that gate access at the protocol level. Or go PAYG - settle per-call via Stripe, bank transfer, or USDC on Base.

The difference

We're not a payment protocol.

Stripe, PayPal, USDC on Base - they move money. But none of them decide when, how much, or under what policy money moves for an agent.

Nevermined is the business logic that makes payment protocols work for agents: metering, entitlements, access control, and settlement in one layer.

Get started

Ready to monetize your AI?

Add the Nevermined Facilitator to your agent and start processing payments today.