Give your agent the latest
nevermined-payments skill (fetch the current version from the docs repo — don’t rely on an older installed/cached copy) or point it at your organization’s agentic-instructions.md (e.g. https://api.sandbox.nevermined.app/api/v1/organizations/{orgId}/agentic-instructions.md). Either one teaches the agent every endpoint it needs — the prompts on these pages assume it has one of them.The seven flows
1. Buy access
Purchase plan credits autonomously via x402 — with stablecoins or a card.
2. Enroll a card & delegate
Add a card and grant the agent a capped, time‑boxed spending budget.
3. Get an API key
Obtain a Nevermined API key with one click from a human, captured automatically.
4. Add payments to your agent
Make your own agent charge callers per request behind an x402 paywall.
5. Register a plan & agent
Publish an AI agent and a priced payment plan so others can buy it.
6. Check credits (buyer)
Report remaining credits and delegation budgets across your purchases.
7. Check revenue (seller)
Pull revenue, MRR, and usage for the agents and plans you sell.
What’s on each page
Every flow is documented the same way, so you can scan or go deep:1
Useful for
When to reach for this flow, and what the agent does for you.
2
Try it yourself
A battle‑tested prompt to paste into your agent — edit the bracketed values and go.
3
How it works
The step‑by‑step flow (REST and SDK) behind the prompt, for when you want the detail.
Sandbox vs. Live
Develop against Sandbox (test money), then switch to Live. API keys are environment‑specific — Sandbox keys start withsandbox:, Live keys with live: — and each only works against its own base URL.
Related
AI Agents: Buy Access
The end‑to‑end purchase walkthrough (flow 1).
Core Concepts
Plans, credits, agents, delegations, and x402 in one place.