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

# Get all virtual card fee configurations

> Retrieve all active virtual card fee configurations. Fees shown are total amounts including both Soleaspay and GetMiPay fees.



## OpenAPI

````yaml GET /virtual-cards/fees
openapi: 3.1.0
info:
  title: GetMiPay API
  description: >-
    GetMiPay - Your universal gateway to getmipay. API for processing payments,
    payouts, and virtual cards through GetMiPay gateway.
  contact:
    name: GetMiPay Support
    email: support@getmipay.com
  license:
    name: Proprietary
    url: https://getmipay.com/
  version: 1.1.0
servers:
  - url: https://sandbox.getmipay.com/api
    description: Sandbox server
security:
  - bearerAuth: []
tags:
  - name: Authentication
    description: API authentication and token management
  - name: Services
    description: Get available payment services
  - name: Currency
    description: API for converting amounts between different currencies.
  - name: Payments
    description: Collect payments from customers
  - name: Payouts
    description: Send money to customers
  - name: Transactions
    description: Check transaction status
  - name: Balance
    description: Account balance management
  - name: Virtual Cards
    description: Virtual card creation and management
  - name: Webhooks
    description: Webhook endpoints for payment notifications
paths:
  /virtual-cards/fees:
    get:
      tags:
        - Virtual Cards
      summary: Get Virtual Card Fees
      description: >-
        Retrieve all active virtual card fee configurations. Fees shown are
        total amounts including both Soleaspay and GetMiPay fees.
      responses:
        '200':
          description: Fees retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualCardFeesResponse'
        '401':
          description: Unauthorized - Missing, invalid, or expired bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    VirtualCardFeesResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: object
          properties:
            fees:
              type: array
              description: List of active virtual card fee configurations
              items:
                $ref: '#/components/schemas/VirtualCardFee'
            total_fee_configurations:
              type: integer
              example: 4
            currencies_available:
              type: array
              items:
                type: string
              example:
                - USD
            card_types_available:
              type: array
              items:
                type: string
              example:
                - VISA
                - MASTERCARD
            card_grades_available:
              type: array
              items:
                type: string
              example:
                - BASIC
                - PREMIUM
            timestamp:
              type: string
              format: date-time
            message:
              type: string
              example: Fees operaton successfully retrieved
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Invalid KEY
        error_code:
          type: string
          example: INVALID_PUBLIC_KEY
    VirtualCardFee:
      type: object
      properties:
        id:
          type: integer
          example: 1
        card_grade:
          type: string
          enum:
            - BASIC
            - PREMIUM
          example: BASIC
        card_type:
          type: string
          enum:
            - VISA
            - MASTERCARD
          example: VISA
        currency:
          type: string
          example: USD
        creation_fee:
          type: number
          format: float
          example: 3.5
          description: Total fee for creating the card
        monthly_fee:
          type: number
          format: float
          example: 1.3
          description: Total monthly maintenance fee
        top_up_fee:
          type: number
          format: float
          example: 1.2
          description: Total fee for adding funds to the card
        withdrawal_fee:
          type: number
          format: float
          example: 3.3
          description: Total fee for withdrawing from the card
        reject_balance_fee:
          type: number
          format: float
          example: 1.1
          description: Total fee for rejected balance transactions
        funding_limits:
          type: object
          properties:
            min:
              type: number
              format: float
              example: 2
            max:
              type: number
              format: float
              example: 10000
            currency:
              type: string
              example: USD
        is_active:
          type: boolean
          example: true
        last_updated:
          type: string
          format: date-time
          example: '2024-01-15T10:30:00Z'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT bearer token returned by POST /action/auth. Send protected requests
        with: Authorization: Bearer <jwt>. Tokens expire after 24 hours.

````