How to create a Payment Plan
Publishers can use Nevermined to create Payment Plans and receive payments from their users when they pay to subscribe. Payment Plans enable the creation of credits that function as access tokens, and help AI Builders control the access to their AI agents / services / apps.
Creating a Payment Plan is the first of two steps:
- First, you create a Payment Plan.
- Then, you register your AI agent / service and you link it to a Payment Plan that you previously created. This is explained in the web service tutorial.
When you’ve completed those 2 steps, the Payment Plan becomes an access control mechanism to your AI agent or service.
Remember that you need to have your account configured to accept payments. You can find more information about how to do it here.
If you don't want to read the whole tutorial, you can watch the video tutorial:
Creating a Payment Plan
You can use the Nevermined Payments App to create a new plan, as a way to protect the access to your AI agent or service.
Step 1 - Login to the App
Login into the app as we show here.
Step 2 - Configure your account
Enter some basic account information and the prefered payments method, as we saw here.
Step 3 - Open the New Asset page
- Click on the New button in the top right to go the New Asset page.
- Then click 'Create Plan'
Step 4 - Add some metadata to your Payment Plan
Provide a description
We recommend taht you explain what your Payment Plan gives access to, the access conditions like access duration, etc.
Some examples:
- A Monthly pass to our OpenAI copilot that summarizes 35 Elvis songs.
- 1-Year plan to our Defi Data web service, which indexes from 5 major DeFi platforms.
- 10,000 credits to access to my Discord server about best AI Coding practices.
Add an image (optional)
Optionally you can add an image to highlight your Plan. Pro tip: use your company's logo.
Step 5 - Configure Access
Nevermined lets Builders configure Payment Plans with 2 types of controls / access management mechanisms:
- Limited by usage - Builders control the number of requests that can be made to a service. Every time a user accesses any resource associated with the Payment Plan, the usage consumes from a capped amount of credits. When the user consumes all the credits, the plan automatically expires and the user needs to top up to continue using the service.
- Limited by time - Builders can specify the duration of the Payment Plan (1 month, 1 year, etc.). When the time period is over, the plan automatically expires and the user needs to renew it.
Credit Payment Plans are specilly useful for AI agents/services if you want to protect your agent against overuse.
Depending on the type of Payment Plan you want to create, you will need to configure different parameters.
If the plan is Limitted by usage, you will need to configure:
- The title of the plan
- The price of the plan in either fiat (i.e. USD) or crypto (i.e. USDC)
- The number of credits the user gets when they purchase the Plan
If the plan is Limitted by time, you will need to configure:
- The title of the plan
- The price of the plan in either fiat (i.e. USD) or crypto (i.e. USDC)
- The duration of the plan (1 month, 1 year, forever, etc.)
Click “Next” when you’re happy with the configuration.
Step 6 - Review that everything is okay
Before creating the Plan, you can review the description, limit conditions and price. Click on “Create” if everything is okay or click on “Back” if you want to modify anything.
Step 7 - Finish the Plan creation
The Nevermined App will register your new plan. This will take just a few seconds and once it's done, you will see a success message.
Step 8 - Add an AI Agent to your Payment Plan
Now, you can move on the next step: adding an AI Agent to your Payment Plan via the following flow: AI Agent. Alternatively, you can go to your dashboard to see the new plan you created.