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

# Créer un client



## OpenAPI

````yaml openapi.fr.json post /v1/customers
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:
    post:
      tags:
        - External API - Customers
      summary: Créer un client
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - firstName
                - lastName
                - email
              properties:
                firstName:
                  type: string
                lastName:
                  type: string
                email:
                  type: string
                phone:
                  type: string
                dateOfBirth:
                  type: string
                  format: date
                gender:
                  type: string
                identityType:
                  type: string
                identityNumber:
                  type: string
                address:
                  type: object
                  properties:
                    street:
                      type: string
                    unit:
                      type: string
                    city:
                      type: string
                    state:
                      type: string
                    postalCode:
                      type: string
                    country:
                      type: string
      responses:
        '201':
          description: Client créé
        '400':
          description: Erreur de validation
        '409':
          description: E-mail en doublon
      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_

````