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: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.
| Environment | Money | API base URL | Web app |
|---|---|---|---|
| Sandbox | Test only — no real charges | https://api.sandbox.nevermined.app/api/v1 | nevermined.app |
| Live | Real charges | https://api.live.nevermined.app/api/v1 | nevermined.app |
Related
AI Agents: Buy Access
The end‑to‑end purchase walkthrough (flow 1).
Core Concepts
Plans, credits, agents, delegations, and x402 in one place.