> ## 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.

# Get account cards



## OpenAPI

````yaml post /accounts/{account_id}/cards
openapi: 3.0.0
info:
  title: FinUp Wallet
  description: API Documentation for Finup
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /accounts/{account_id}/cards:
    post:
      tags:
        - Card
      summary: Get account cards
      operationId: CardController_getAccountCards
      parameters:
        - name: account_id
          required: true
          in: path
          description: Id of account
          schema:
            type: string
        - name: x-api-key
          in: header
          description: API key for authentication
          required: true
          schema:
            type: string
      requestBody:
        required: true
        description: Body
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetCardsDto'
      responses:
        '201':
          description: Card created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  result:
                    type: object
                    properties:
                      id:
                        type: string
                        example: 67c48f6fc8614632e0b338fc
                      name:
                        type: string
                        example: Approved
                      bin_id:
                        type: string
                        example: 67bcf2abf8e89d31c5f8995e
                      notes:
                        type: string
                        example: Credit
                      status:
                        type: string
                        example: Pending
                      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•• •••• ••••
                      currency:
                        type: string
                        example: EUR
                      category:
                        type: string
                        example: Business
                      created_at:
                        type: string
                        format: date-time
                        example: '2025-03-21T14:30:10.123Z'
                      past_balance:
                        type: number
                        example: 75
                      future_balance:
                        type: number
                        example: 125
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  status_code:
                    type: integer
                    example: 401
                  error_message:
                    type: string
                    example: Unauthorized
components:
  schemas:
    GetCardsDto:
      type: object
      properties:
        filters:
          $ref: '#/components/schemas/GetCardsFilters'
        pagination:
          $ref: '#/components/schemas/PaginationV2Dto'
      required:
        - filters
        - pagination
    GetCardsFilters:
      type: object
      properties:
        bin:
          description: List of allowable BINs.
          type: array
          items:
            type: string
        status:
          type: array
          example: '["Enabled", "Canceled"]'
          items:
            type: string
            enum:
              - Enabled
              - Closed
              - Closing
              - Freezing
              - Unreezing
              - Freezed
              - Processing
              - Blocked
        currency:
          description: A list of allowable currencies. Pass the currency ID.
          type: array
          items:
            type: string
        category:
          description: A list of allowable categories.
          type: array
          items:
            type: string
        balance_from:
          type: number
          description: >-
            A filtering parameter that specifies the minimum balance value. Only
            objects with balance exceeding this value are returned
        balance_to:
          type: number
          description: >-
            A filtering parameter that specifies the maximum balance value. Only
            objects with balance that do not exceed this value are returned
        search:
          type: string
          description: Parameter that searches by substring.
    PaginationV2Dto:
      type: object
      properties: {}

````