> ## 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 Card User Details

> Retrieve detailed information for a virtual-card user by user reference.



## OpenAPI

````yaml GET /virtual-cards/users/{userReference}/details
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/users/{userReference}/details:
    get:
      tags:
        - Virtual Cards
      summary: Get Card User Details
      description: Retrieve detailed information for a virtual-card user by user reference.
      parameters:
        - name: userReference
          in: path
          required: true
          description: Virtual-card user reference
          schema:
            type: string
          example: SP6VC
      responses:
        '200':
          description: Card user details retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CardUserResponse'
        '401':
          description: Unauthorized - Missing, invalid, or expired bearer token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Card user not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - bearerAuth: []
components:
  schemas:
    CardUserResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        message:
          type: string
          example: Virtual card user created successfully
        data:
          type: object
          properties:
            id:
              type: integer
              example: 12
            merchant_id:
              type: integer
              example: 3
            reference:
              type: string
              example: SP6A9F21D0VC
            first_name:
              type: string
              example: Alex
            last_name:
              type: string
              example: Moris
            email:
              type: string
              format: email
              example: alex.moris@example.com
            contact:
              type: string
              example: '690112233'
            dob:
              type: string
              format: date-time
              example: '1994-03-21T00:00:00.000000Z'
            country_code:
              type: string
              example: '237'
            billing_name:
              type: string
              example: Alex Moris
            is_business:
              type: boolean
              example: false
            business_name:
              type:
                - string
                - 'null'
              example: null
            billing_address:
              type: string
              example: Carrefour Bastos
            billing_city:
              type: string
              example: YaoundÃƒÂ©
            billing_country:
              type: string
              example: CM
            billing_state:
              type: string
              example: Centre
            billing_postal_code:
              type: string
              example: '00123'
            id_number:
              type: string
              example: CNI004829191
            status:
              type: string
              example: active
            created_at:
              type: string
              format: date-time
              example: '2025-10-02T12:45:30.000000Z'
            updated_at:
              type: string
              format: date-time
              example: '2025-10-02T12:45:30.000000Z'
    Error:
      type: object
      properties:
        success:
          type: boolean
          example: false
        message:
          type: string
          example: Invalid KEY
        error_code:
          type: string
          example: INVALID_PUBLIC_KEY
  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.

````