Overview
The "Nevermined Payments" node integrates with the Nevermined platform to manage AI-related payments, subscriptions, and access control. It supports operations such as registering AI agents with payment plans, ordering subscription plans, checking user credit balances, redeeming credits, and retrieving details about specific plans.
The Get Plan Details operation specifically retrieves detailed information about a particular subscription or credit plan by its ID. This is useful for scenarios where you want to display or verify plan attributes before allowing users to subscribe or purchase credits.
Practical examples:
- Fetching plan metadata and pricing details to show in a UI before a user subscribes.
- Validating plan existence and status during backend workflows.
- Auditing or reporting on available plans within an AI service marketplace.
Properties
| Name | Meaning |
|---|---|
| Plan ID | The unique identifier of the plan to retrieve details for. Example format: plan_1234567890_abc123 |
Output
The output JSON object for the Get Plan Details operation contains the following fields:
planId: The ID of the requested plan.metadata: Metadata associated with the plan (e.g., description, tags).price: Pricing information for the plan.credits: Credit allocation details included in the plan.nftAddress: (If applicable) Address of any NFT linked to the plan.createdAt: Timestamp when the plan was created.updatedAt: Timestamp of the last update to the plan.environment: The environment used for the request (e.g., production or test).message: A human-readable message indicating success.
This structure provides comprehensive details about the plan's configuration, pricing, and lifecycle timestamps.
Dependencies
- Requires an API key credential for authenticating requests to the Nevermined Payments API.
- The node uses environment-specific base URLs depending on whether the environment is set to production or test.
- Network connectivity to the Nevermined API endpoints is necessary.
Troubleshooting
- Missing API Key: The node will throw an error if no API key is provided. Ensure that the API key credential is configured correctly.
- Invalid Plan ID: If the Plan ID is missing or incorrect, the node throws an error indicating that the Plan ID is required or that the plan could not be found.
- API Errors: If the Nevermined API returns an error status code, the node surfaces the error message from the API response. Check the validity of the Plan ID and your API credentials.
- Network Issues: Connectivity problems to the Nevermined API endpoints can cause failures. Verify network access and endpoint URLs.
Links and References
- Nevermined Documentation - Official documentation for the Nevermined platform and API.