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

# List Cards

> Retrieves a list of saved payment methods (cards) for the authenticated user.



## OpenAPI

````yaml GET /list-cards/
openapi: 3.1.0
info:
  title: CloserX.ai API
  description: >-
    The CloserX.ai API provides programmatic access to manage AI-powered calling
    operations, including agent creation, campaign management, contact handling,
    telephony integration, and more. This API enables seamless automation and
    integration with CRM systems, telephony providers, and other third-party
    services for enhanced client communication and business operations.
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://app.closerx.ai/api
security:
  - api_key: []
paths:
  /list-cards/:
    get:
      summary: List Cards
      description: >-
        Retrieves a list of saved payment methods (cards) for the authenticated
        user.
      responses:
        '200':
          description: Successfully retrieved list of saved cards
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListCardsResponse'
        '400':
          description: Invalid request or missing Stripe customer ID
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ListCardsResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        errors:
          type: array
          items:
            type: string
          example: []
        response:
          type: array
          items:
            type: object
            properties:
              display_brand:
                type: string
                description: Card brand (e.g., Visa, MasterCard)
                example: visa
              exp_month:
                type: integer
                description: Card expiration month
                example: 9
              exp_year:
                type: integer
                description: Card expiration year
                example: 2032
              last4:
                type: string
                description: Last 4 digits of the card
                example: '99999'
              customer:
                type: string
                description: Stripe customer ID
                example: z45j888B
              id:
                type: string
                description: Stripe payment method ID
                example: 88GE
              default:
                type: boolean
                description: Whether this card is the default payment method
                example: true
        message:
          type: string
          example: Cards List
    Error:
      required:
        - success
        - message
        - data
      type: object
      properties:
        success:
          type: boolean
        message:
          type: string
        data:
          type: object
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: api_key

````