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

# Fund a Card

> Load USD from your business wallet onto a virtual card



## OpenAPI

````yaml api-reference/openapi.json POST /pms/api/external/request/virtual-cards/{card_id}/fund/
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/{card_id}/fund/:
    post:
      tags:
        - Issuing
      summary: Fund a Card
      description: Debit business USD wallet and credit the card balance.
      operationId: externalVirtualCardsFund
      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
        - name: card_id
          in: path
          description: PayVessel card ID
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VirtualCardAmountRequest'
            examples:
              default:
                value:
                  amount: '25.00'
      responses:
        '200':
          description: Card funded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VirtualCardResponse'
        '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:
    VirtualCardAmountRequest:
      type: object
      required:
        - amount
      properties:
        amount:
          type: string
          description: USD amount (e.g. 25.00). Withdraw minimum 3.00
          example: '25.00'
    VirtualCardResponse:
      type: object
      required:
        - status
        - message
        - data
      properties:
        status:
          type: boolean
          description: Indicates whether the request succeeded
        message:
          type: string
          description: Human-readable result message
          example: Virtual card creation started
        data:
          $ref: '#/components/schemas/IssuedCard'
          description: Issued card details
    Error:
      required:
        - error
        - message
      type: object
      properties:
        error:
          type: integer
          format: int32
        message:
          type: string
    IssuedCard:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: PayVessel card ID
        business_id:
          type: string
          format: uuid
          description: Owning business
        kind:
          type: string
          description: customer card
        customer_id:
          type: string
          format: uuid
          description: Linked customer ID
        customer_name:
          type: string
          description: Customer display name
        card_name:
          type: string
          description: Name on card
        masked_pan:
          type: string
          description: Masked PAN (empty while PENDING)
        status:
          type: string
          enum:
            - PENDING
            - ACTIVE
            - FROZEN
            - TERMINATED
            - FAILED
          description: Card lifecycle status
        currency:
          type: string
          description: USD
        brand:
          type: string
          description: VISA or MASTERCARD
        balance:
          type: string
          description: Issuer-synced balance in USD
        expiry:
          type: string
          description: Card expiry (MM/YY)
        card_number:
          type: string
          description: Full PAN (GET card only, when ACTIVE/FROZEN)
        cvv:
          type: string
          description: CVV (GET card only, when ACTIVE/FROZEN)
        created_datetime:
          type: string
          format: date-time
        updated_datetime:
          type: string
          format: date-time

````