Nevermined runs
x402 payments in production.
x402 is the open standard for paying over HTTP 402, the web's "Payment Required" status code. 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 in crypto or on a card. No relayer, no gas wallet, no bespoke billing.
Both open in a new tab: the docs, and the Nevermined app.
One protocol that settles in crypto or on a card
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.
Pay in crypto
nvm:erc4337ERC-4337 smart accounts (wallets controlled by code) settle on-chain in USDC, a dollar-backed stablecoin. Buyer-signed EIP-712 terms (a standard signed-message format) mean the settlement broker can broadcast the payment without ever holding a key.
Pay by card
nvm:card-delegationA Stripe, Braintree, or Visa card, inside a spend mandate its owner set, pays without a human in the loop. Same 402 handshake, settled in ordinary money, on the card networks 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.13.0pip install payments-pyv1.18.0Go from request to settled payment in four calls.
Two on the buyer, two on the seller. Every call below is real and ships today in the Payments SDK, our TypeScript and Python library. Copy them straight into your agent and your endpoint.
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.
