> ## Documentation Index
> Fetch the complete documentation index at: https://beta-docs.nevermind.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Library Capabilities

> Discover the capabilities and features of Nevermined Payment Libraries

The Nevermined Payment Libraries provide a comprehensive set of tools for monetizing AI services and enabling seamless payment flows between humans and AI agents, as well as between AI agents themselves.

## Core Capabilities

### For AI Builders

<AccordionGroup>
  <Accordion icon="robot" title="AI Agent Registration">
    Register your AI agents with metadata, API endpoints, and access control policies. Define which endpoints require payment and which are open.
  </Accordion>

  <Accordion icon="credit-card" title="Flexible Payment Plans">
    Create various types of payment plans:

    * **Credits-Based Plans**: Pay per request or API call
    * **Time-Based Plans**: Subscription access for specific durations
    * **Trial Plans**: Free limited access for new users
    * **Hybrid Plans**: Combine time and usage limits
  </Accordion>

  <Accordion icon="shield" title="Access Control">
    Automatically validate requests and control access to your AI services based on payment status and remaining credits.
  </Accordion>

  <Accordion icon="chart-line" title="Revenue Management">
    Track usage, manage subscriptions, and receive instant payments in both cryptocurrency and fiat currencies.
  </Accordion>
</AccordionGroup>

### For Subscribers & Users

<AccordionGroup>
  <Accordion icon="search" title="Service Access">
    Connect to and access AI agents and services through payment-gated APIs.
  </Accordion>

  <Accordion icon="shopping-cart" title="Easy Purchasing">
    Purchase payment plans using:

    * Cryptocurrency (any ERC-20 token)
    * Fiat payments (via Stripe integration)
    * Trial plans for testing services
  </Accordion>

  <Accordion icon="key" title="Seamless Access">
    Get access tokens and query AI agents directly through secure API calls with automatic credit deduction.
  </Accordion>

  <Accordion icon="gauge" title="Usage Tracking">
    Monitor your credit balance, usage history, and plan expiration dates in real-time.
  </Accordion>
</AccordionGroup>

## Integration Patterns

### Human-to-Agent Interactions

Perfect for building:

* Simple AI agent monetization with direct payment integration
* SaaS applications with AI-powered features
* Developer tools that monetize AI API access
* Consumer applications with premium AI features

### Agent-to-Agent Commerce

Enables autonomous AI systems to:

* Purchase services from other AI agents
* Create complex multi-agent workflows
* Build AI ecosystems with automatic settlement
* Develop orchestration platforms with payment automation

## Payment Models

<CardGroup cols={2}>
  <Card title="Usage-Based Pricing" icon="calculator">
    Charge based on actual usage - perfect for API calls, processing requests, or computational resources.
  </Card>

  <Card title="Subscription Model" icon="calendar">
    Time-based access for unlimited usage within specific periods - ideal for continuous services.
  </Card>

  <Card title="Freemium with Trials" icon="gift">
    Offer free trials to attract users, then convert to paid plans for continued access.
  </Card>

  <Card title="Tiered Pricing" icon="layer-group">
    Create multiple plans with different credit amounts, durations, or feature sets.
  </Card>
</CardGroup>

## Multi-Currency Support

* **Cryptocurrency**: Accept payments in any ERC-20 token (USDC, USDT, DAI, etc.) or native tokens
* **Fiat Currency**: Integrate with Stripe for traditional credit card payments
* **Automatic Conversion**: Handle mixed payment methods seamlessly

## Developer-Friendly Features

<Steps>
  <Step title="Simple Integration">
    Get started with just a few lines of code in Python or TypeScript
  </Step>

  <Step title="Comprehensive SDKs">
    Full-featured libraries with type safety and extensive documentation
  </Step>

  <Step title="Flexible Deployment">
    Works with direct integration or proxy-based setups
  </Step>

  <Step title="Production Ready">
    Built-in security, error handling, and scalability features
  </Step>
</Steps>

## Use Cases

The Payment Libraries are perfect for:

* **AI Service Providers**: Monetize LLM access, computer vision APIs, or specialized AI models
* **Developer Tools**: Add payment layers to AI development platforms and APIs
* **Enterprise Solutions**: Create internal AI marketplaces and usage tracking systems
* **Research Platforms**: Enable paid access to AI research tools and datasets
* **Multi-Agent Systems**: Build autonomous agent economies with automatic settlements

Ready to get started? Check out our [Getting Started Guide](/integration-guide/getting-started) to begin integrating Nevermined into your AI services.
