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

# Récupérer les comptes virtuels d'un client

> Récupère tous les comptes bancaires virtuels attribués au client.



## OpenAPI

````yaml openapi.fr.json get /v1/customers/{id}/virtual-accounts
openapi: 3.0.0
info:
  title: Inflow API
  version: 1.0.0
  description: Service d'API pour la gestion des cartes clients
  contact:
    name: API Support
servers:
  - url: https://sandbox.inflowafrica.com/api
    description: Bac à sable
  - url: https://app.inflowpay.net/api
    description: Production
  - url: http://localhost:3000/api
    description: Local
security:
  - bearerAuthFr: []
tags: []
paths:
  /v1/customers/{id}/virtual-accounts:
    get:
      tags:
        - External API - Customers
      summary: Récupérer les comptes virtuels d'un client
      description: Récupère tous les comptes bancaires virtuels attribués au client.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: string
            format: uuid
          description: Identifiant du client
      responses:
        '200':
          description: Liste des comptes virtuels
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        provider:
                          type: string
                        accounts:
                          type: array
                          items:
                            type: object
                            properties:
                              bankCode:
                                type: string
                              bankName:
                                type: string
                              accountNumber:
                                type: string
                              accountName:
                                type: string
                        isActive:
                          type: boolean
                        createdAt:
                          type: string
                          format: date-time
        '404':
          description: Client introuvable
      security:
        - apiKeyAuthFr: []
components:
  securitySchemes:
    bearerAuthFr:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: Saisissez le jeton JWT
    apiKeyAuthFr:
      type: http
      scheme: bearer
      description: Saisissez votre clé API commençant par gtw_sk_

````