x402 payments,
production-ready.
x402 is the open standard for paying over HTTP 402. Nevermined ships it end to end - your agent gets a signed access token, your endpoint returns a 402, and we verify and settle the charge across crypto and card rails. No relayer, no gas wallet, no bespoke billing.
One protocol, two settlement rails
x402 turns the dormant HTTP 402 status code into a real payment handshake. Nevermined implements it with two interchangeable schemes, so the same integration settles in crypto or on a card.
Crypto rail
nvm:erc4337ERC-4337 smart accounts settle on-chain in USDC. Buyer-signed EIP-712 terms mean the settlement broker can broadcast the leg without ever holding a key.
Card rail
nvm:card-delegationA delegated Stripe, Braintree, or Visa card pays without a human in the loop. Same 402 handshake, settled to fiat - agents transact on the rails you already run.
Crypto settles each call on-chain; cards buy metered credits you burn down per call. Same 402 handshake - you choose the granularity.
npm i @nevermined-io/paymentsv1.11.2pip install payments-pyv1.16.1Request to settled, four SDK calls.
Two on the buyer, two on the seller. Every call below is real and ships in the Payments SDK today - copy them straight into your agent and your API.
Buyer · get token
The agent mints a signed access token scoped to a plan and a spend limit.
Seller · 402
Your endpoint answers unpaid calls with a 402 carrying the price and scheme.
Seller · verify
Confirm the token can cover the charge before you do the work. No burn yet.
Seller · settle
Card charged or crypto moved, credits burned, paid response returned - one call.
Settlement is the part you don't build
When your endpoint calls verify and settle, Nevermined plays the x402 facilitator role: it checks the token, charges the rail, mints and burns credits, and hands back a receipt. You get three HTTP endpoints and never run a relayer or hold a hot key.
The facilitator endpoints
/api/v1/x402/permissions/api/v1/x402/verify/api/v1/x402/settlePlain HTTP - call them from the SDK or any language directly.
Enterprise-grade by default
The settlement path is audited and card-network compliant, so the trust story is handled before you ship a line of code.
One integration. Both protocols.
Point your agents at any paid endpoint and Nevermined detects the standard it speaks - x402 today, MPP alongside it - then verifies and settles it the same way. Whatever standard wins, your agents can already talk, trade, and trust.
Settles across crypto and card rails.
You are here