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

# List all payment methods

> Returns a list of all saved payment methods across all clinics in the organization. The payment methods are sorted by creation date, with the most recent appearing first.

A **payment method** represents a saved card or payment instrument on file for a clinic client (pet parent). Payment methods are used to process charges for orders and invoices.



## OpenAPI

````yaml get /ext/v2/payment-methods/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/payment-methods/:
    get:
      tags:
        - Payment Methods
      summary: List all payment methods
      description: >-
        Returns a list of all saved payment methods across all clinics in the
        organization. The payment methods are sorted by creation date, with the
        most recent appearing first.


        A **payment method** represents a saved card or payment instrument on
        file for a clinic client (pet parent). Payment methods are used to
        process charges for orders and invoices.
      operationId: payment_methods_list
      parameters:
        - description: When provided, filters to objects with these IDs.
          in: query
          name: ids
          required: false
          schema:
            anyOf:
              - items:
                  type: integer
                type: array
              - type: 'null'
            description: When provided, filters to objects with these IDs.
            title: Ids
        - description: >-
            A cursor used for pagination. Fetches the page of results ending
            immediately before the object with the given ID. Cannot be used at
            the same time as `starting_after`.
          in: query
          name: ending_before
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results ending
              immediately before the object with the given ID. Cannot be used at
              the same time as `starting_after`.
            title: Ending Before
        - description: >-
            A cursor used for pagination. Fetches the page of results starting
            immediately after the given ID. Cannot be used at the same time as
            `ending_before`.
          in: query
          name: starting_after
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            description: >-
              A cursor used for pagination. Fetches the page of results starting
              immediately after the given ID. Cannot be used at the same time as
              `ending_before`.
            title: Starting After
        - description: The maximum number of items to return per page.
          in: query
          name: limit
          required: false
          schema:
            default: 10
            description: The maximum number of items to return per page.
            maximum: 100
            minimum: 1
            title: Limit
            type: integer
        - description: >-
            When provided, filters to payment methods for the clinic client with
            this ID
          in: query
          name: clinic_client_id
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            default: false
            description: >-
              When provided, filters to payment methods for the clinic client
              with this ID
            title: Clinic Client Id
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalPaymentMethodSchemaList'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalPaymentMethodSchemaList:
      properties:
        data:
          description: A single page of data contained within this list.
          items:
            $ref: '#/components/schemas/ExternalPaymentMethodSchema'
          title: Data
          type: array
        has_more:
          default: false
          description: Whether there are more pages or data in this list.
          title: Has More
          type: boolean
        next_page:
          description: A URL linking to the next page of this list.
          title: Next Page
          type: string
        type:
          default: list
          description: Type of this object. Always `list`.
          title: Type
          type: string
      required:
        - data
        - next_page
      title: ExternalPaymentMethodSchemaList
      type: object
    ExternalPaymentMethodSchema:
      properties:
        brand:
          anyOf:
            - type: string
            - type: 'null'
          description: Brand of the card (e.g., Visa, Mastercard).
          title: Brand
        clinic_client_id:
          description: The ID of the clinic client this payment method belongs to.
          title: Clinic Client Id
          type: integer
        expiration_month:
          anyOf:
            - type: string
            - type: 'null'
          description: Card expiration month (1-12).
          title: Expiration Month
        expiration_year:
          anyOf:
            - type: string
            - type: 'null'
          description: Card expiration year (4-digit).
          title: Expiration Year
        id:
          description: The unique identifier for the payment method.
          title: Id
          type: integer
        is_active:
          description: Whether the payment method is active.
          title: Is Active
          type: boolean
        is_expired:
          description: Whether the payment method is expired.
          title: Is Expired
          type: boolean
        is_klarna:
          description: Whether the payment method is Klarna.
          title: Is Klarna
          type: boolean
        last_four:
          anyOf:
            - type: string
            - type: 'null'
          description: Last four digits of the card.
          title: Last Four
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: Name on the card or payment account.
          title: Name
        wallet:
          anyOf:
            - type: string
            - type: 'null'
          description: Wallet provider (e.g., Apple Pay, Google Pay).
          title: Wallet
      required:
        - id
        - clinic_client_id
        - is_active
        - is_expired
        - last_four
        - brand
        - is_klarna
      title: ExternalPaymentMethodSchema
      type: object
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````