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

# List account cards



## OpenAPI

````yaml /openapi.json post /cards/get
openapi: 3.1.0
info:
  title: Finup Public API
  version: 1.0.0
  description: >-
    Client-facing Finup API reference generated from current public endpoint
    metadata.
servers:
  - url: https://api.finup.io/backend
    description: Production
security: []
tags:
  - name: Accounts
    description: Current account, account setup, and account capabilities.
  - name: Transactions
    description: Account transaction lists and aggregates.
  - name: Cards
    description: Card issuing, listing, funding, and status changes.
paths:
  /cards/get:
    post:
      tags:
        - Cards
      summary: List account cards
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CardsRequest'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                required:
                  - result
                properties:
                  result:
                    type: array
                    items:
                      $ref: '#/components/schemas/Card'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
        '401':
          description: Missing or invalid credentials
        '403':
          description: Insufficient permission for this operation
        '404':
          description: Resource not found
      security:
        - apiKeyAuth: []
components:
  schemas:
    CardsRequest:
      type: object
      required:
        - pagination
      properties:
        filters:
          $ref: '#/components/schemas/CardFilters'
        pagination:
          $ref: '#/components/schemas/PaginationInput'
    Card:
      type: object
      properties:
        id:
          type: string
          example: 67c48f6fc8614632e0b338fc
        name:
          type: string
          example: Marketing card
        bin_id:
          type: string
          example: 67bcf2abf8e89d31c5f8995e
        notes:
          type: string
          example: Credit
        status:
          type: string
          example: Active
        user:
          type: string
          example: 67aa1b2c3d4e5f6789abcdef
        EXP:
          type: string
          example: '**/**'
        account:
          type: string
          example: 67c401f9a5b7cde210f44567
        balance:
          type: number
          example: 50
        deposit:
          type: number
          example: 1000
        withdraw:
          type: number
          example: 500
        spent:
          type: number
          example: 450
        masked_PAN:
          type: string
          example: 1234 56•• •••• 5678
        currency:
          type: string
          example: USD
        category:
          type: string
          example: Business
        created_at:
          type: string
          format: date-time
        PAN:
          type: string
          example: '1234567812345678'
        CVV:
          type: string
          example: '123'
        3ds:
          type: boolean
          example: true
        address:
          type: string
          example: 2381 Zanker Rd Ste 110, San Jose, CA, 95131, US
    Pagination:
      type: object
      properties:
        current_page:
          type: integer
          example: 1
        total_records:
          type: integer
          example: 42
        total_pages:
          type: integer
          nullable: true
          example: 5
    CardFilters:
      type: object
      properties:
        status:
          type: array
          items:
            type: string
          example:
            - Enabled
            - Canceled
        own:
          type: boolean
          example: true
        users:
          type: array
          items:
            type: string
        search:
          type: string
          example: marketing
        tag_ids:
          type: array
          items:
            type: string
        bin_ids:
          type: array
          items:
            type: string
        balance_min:
          type: number
          example: 10
        balance_max:
          type: number
          example: 1000
    PaginationInput:
      type: object
      properties:
        page:
          type: integer
          example: 1
        per_page:
          type: integer
          example: 50
        sort_by:
          type: string
          example: created_at
        sort_direction:
          type: string
          enum:
            - asc
            - desc
          example: desc
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````