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

> ## Agent Instructions
> Test in the sandbox first: base URL https://api-sandbox.y.uno (Test Mode in the Dashboard). Production is https://api.y.uno (Live Mode).
> Every API request needs the public-api-key and private-secret-key headers. Get them in the Dashboard at https://dashboard.y.uno/developers (Developers > Credentials); sandbox and production keys are different.
> Send an X-Idempotency-Key (a UUID) when creating payments, refunds and cancels, so retries do not create duplicates.
> Start with the Quickstart (https://docs.y.uno/docs/quickstart.md) and the agent guide (https://docs.y.uno/agents.md). To search these docs from a coding agent, connect the docs MCP server at https://docs.y.uno/mcp.

# Authentifier un utilisateur whitelabel

> Authentifie un utilisateur whitelabel et renvoie un jeton d'intégration JWT pour les requêtes suivantes

Authentifie un utilisateur whitelabel et renvoie un jeton d'intégration JWT. Ce jeton peut être utilisé pour les requêtes authentifiées suivantes au nom de l'utilisateur whitelabel.


## OpenAPI

````yaml openapi/fr/organizations/authenticate-whitelabel-user.json POST /organizations/authenticate
openapi: 3.1.0
info:
  title: Organization Authentication API
  version: 1.0.0
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /organizations/authenticate:
    post:
      summary: Authentifier un utilisateur en marque blanche
      description: >-
        Authentifie un utilisateur en marque blanche et renvoie un jeton
        d'intégration JWT.
      operationId: authenticate-whitelabel-user
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - user_id
              properties:
                user_id:
                  type: string
                  format: uuid
                  description: UUID de l'utilisateur en marque blanche.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  access_token:
                    type: string
                    description: Jeton JWT de l'utilisateur en marque blanche.
                  token_type:
                    type: string
                    example: Bearer
                  expires_in:
                    type: integer
                    example: 86400
        '400':
          description: Requête incorrecte
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: INVALID_PARAMETERS
                  message:
                    type: string
                    example: Missing or invalid user_id.
        '401':
          description: Non autorisé
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                    example: LOGIN_FAILED
                  message:
                    type: string
                    example: Unable to authenticate the specified user.
components:
  securitySchemes:
    sec0:
      type: apiKey
      in: header
      name: PUBLIC-API-KEY
      x-default: <Your PUBLIC-API-KEY>
    sec1:
      type: apiKey
      in: header
      name: PRIVATE-SECRET-KEY
      x-default: <Your PRIVATE-SECRET-KEY>

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.