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

# Card Fee Quote

> Calculate fees before create, fund, or withdraw



## OpenAPI

````yaml api-reference/openapi.json POST /pms/api/external/request/virtual-cards/fees/quote/
openapi: 3.1.0
info:
  title: PayVessel API
  description: >-
    PayVessel API for accepting payments, sending money, verifying identities,
    and managing wallets
  version: 1.0.0
servers:
  - url: https://api.payvessel.com
  - url: https://sandbox.payvessel.com
security:
  - {}
paths:
  /pms/api/external/request/virtual-cards/fees/quote/:
    post:
      tags:
        - Issuing
      summary: Card Fee Quote
      description: Calculate a single fee (funding, withdrawal, issuance, etc.).
      operationId: externalVirtualCardsFeeQuote
      parameters:
        - name: api-key
          in: header
          description: Your Payvessel public API key
          required: true
          schema:
            type: string
        - name: api-secret
          in: header
          description: Your Payvessel secret
          required: true
          schema:
            type: string
        - name: Content-Type
          in: header
          description: Request content type
          required: true
          schema:
            type: string
            enum:
              - application/json
          example: application/json
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualCardFeeQuoteRequest'
            examples:
              funding:
                value:
                  fee_type: funding
                  amount_usd: '50.00'
      responses:
        '200':
          description: Quote calculated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualCardFeeQuoteResponse'
        '401':
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                unauthorized:
                  summary: Invalid credentials
                  value:
                    error: 401
                    message: Unauthorized. Please check your API key.
        '403':
          description: Forbidden request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Resource not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    VirtualCardFeeQuoteRequest:
      type: object
      required:
        - fee_type
      properties:
        fee_type:
          type: string
          enum:
            - issuance
            - funding
            - withdrawal
            - spend
            - maintenance
            - cross_border
            - chargeback
            - decline
          description: Fee type to calculate
        amount_usd:
          type: string
          description: Principal USD amount (required for funding, cross_border)
    VirtualCardFeeQuoteResponse:
      type: object
      properties:
        status:
          type: boolean
        message:
          type: string
        data:
          type: object
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string

````