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

# Userinfo



## OpenAPI

````yaml GET /oauth/v2/userinfo
openapi: 3.1.0
info:
  title: Mysoleas API
  version: 3.0.0
  description: >-
    Nouvelle architecture Mysoleas: gateway de paiement et authentification
    OAuth 2.0.
servers:
  - url: https://api.mysoleas.com
    description: Gateway Mysoleas
  - url: https://account.mysoleas.com
    description: Authentification Mysoleas
security:
  - bearerAuth: []
tags:
  - name: Auth
  - name: Plugin
  - name: Payment links
  - name: Subscriptions
  - name: Collections
  - name: Disbursements
  - name: Catalog
paths:
  /oauth/v2/userinfo:
    get:
      tags:
        - Auth
      summary: Lire les claims utilisateur
      responses:
        '200':
          description: Claims utilisateur
          content:
            application/json:
              example:
                sub: user_123
                api_key: spk_live_xxx
                email: merchant@example.com
                email_verified: true
                tenant_id: tenant_123
                tier: 6
        '401':
          $ref: '#/components/responses/Unauthorized'
      servers:
        - url: https://account.mysoleas.com
components:
  responses:
    Unauthorized:
      description: Authentification invalide ou manquante
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  schemas:
    ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        code:
          type: integer
          example: 400
        message:
          type: string
          example: empty_data
        error:
          type: object
          properties:
            details:
              type:
                - object
                - array
                - string
                - 'null'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````