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

# List Payment Methods

> Returns the saved payment methods for the authenticated user. Requires a Nevermined API key.



## OpenAPI

````yaml GET /payment-methods
openapi: 3.1.0
info:
  title: Nevermined API
  description: >-
    API for managing AI agents, payment plans, and x402 payments in the
    Nevermined ecosystem.


    ## Prerequisites


    You need a Nevermined API Key to authenticate. Get one at
    [nevermined.app](https://nevermined.app) under **Settings > API Keys**.


    See the [5-Minute Setup Guide](/docs/integrate/quickstart/5-minute-setup)
    for detailed instructions.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.sandbox.nevermined.app/api/v1
    description: Sandbox (Testing) - Base Sepolia
  - url: https://api.live.nevermined.app/api/v1
    description: Live (Production) - Base Mainnet
security:
  - bearerAuth: []
tags:
  - name: Protocol - Agents
    description: Endpoints for registering and managing AI agents
  - name: Protocol - Plans
    description: Endpoints for creating and managing payment plans
  - name: Protocol - Credits
    description: Endpoints for minting and redeeming credits
  - name: Protocol - Access
    description: Endpoints for access tokens and request validation
  - name: X402 - Permissions
    description: Endpoints for x402 delegated permissions
paths:
  /payment-methods:
    get:
      tags:
        - Payment Methods
      summary: List saved payment methods
      description: >-
        Returns the saved payment methods for the authenticated user. Requires a
        Nevermined API key.
      operationId: PaymentMethodsController_listPaymentMethods
      parameters:
        - name: accessible
          required: false
          in: query
          description: >-
            When "true", return only payment methods accessible to the
            requesting API key (filters by allowedApiKeyIds and Active status).
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
        - name: provider
          required: false
          in: query
          description: >-
            When set, return only payment methods backed by this provider. Omit
            to return methods from every provider (default).
          schema:
            enum:
              - stripe
              - braintree
              - erc4337
              - visa
              - vgs
            type: string
      responses:
        '200':
          description: List of saved payment methods
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PaymentMethodSummaryDto'
        '400':
          description: Bad Request - Unknown provider value
        '401':
          description: Unauthorized - Invalid or missing API key
components:
  schemas:
    PaymentMethodSummaryDto:
      type: object
      properties:
        id:
          type: string
          example: pm_1Abc2Def3Ghi4Jkl
        type:
          type: string
          example: card
        last4:
          type: string
          example: '4242'
        brand:
          type: string
          example: visa
        expMonth:
          type: integer
          example: 12
          nullable: true
        expYear:
          type: integer
          example: 2027
          nullable: true
        alias:
          type: string
          example: My Card
          nullable: true
        provider:
          type: string
          example: stripe
          enum:
            - stripe
            - braintree
            - erc4337
            - visa
            - vgs
        status:
          type: string
          example: Active
          enum:
            - Active
            - Revoked
        allowedApiKeyIds:
          type: array
          example:
            - sk-abc123
            - sk-def456
          nullable: true
          description: NVM API Key IDs allowed to use this card. Null = any key can use it.
          items:
            type: string
        orgId:
          type: string
          description: Organization this card belongs to (null = personal).
          nullable: true
      required:
        - id
        - type
        - last4
        - brand
        - expMonth
        - expYear
        - alias
        - provider
        - status
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Nevermined API Key (starts with 'nvm:'). Get one at
        [nevermined.app](https://nevermined.app) under **Settings > API Keys**.

````

## Related topics

- [API Reference](/docs/api-reference/openclaw-plugin/commands.md)
- [Building a Paid AI Agent with OpenClaw and Nevermined](/docs/api-reference/openclaw-plugin/guide.md)
- [X402 Protocol](/docs/api-reference/typescript/x402.md)
- [x402 Protocol](/docs/api-reference/python/x402-module.md)
- [LangChain](/docs/integrate/add-to-your-agent/langchain.md)
