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

# Obtenir un onboarding

> Récupérez le statut actuel et les détails d'un onboarding précis d'un bénéficiaire

Récupère les informations détaillées d'un onboarding précis d'un bénéficiaire.

Cet endpoint récupère les informations détaillées d'un onboarding précis d'un bénéficiaire dans la [marketplace de paiements fractionnés](https://docs.y.uno/fr/docs/payment-features/split-payments-marketplace.md). Utilisez cet endpoint pour vérifier le statut actuel, la configuration et les détails d'un onboarding existant.

Cet endpoint nécessite un onboarding existant créé via [Créer un onboarding](https://docs.y.uno/fr/reference/recipients-for-marketplace/create-onboarding.md).


## OpenAPI

````yaml openapi/fr/recipients-for-marketplace/get-onboarding.json GET /recipients/{recipient_id}/onboardings/{onboarding_id}
openapi: 3.1.0
info:
  title: Recipients API
  version: 1.0.0
  description: >-
    API for managing recipients in split payment scenarios. This feature enables
    merchants to split payments among multiple recipients, which is particularly
    beneficial for marketplace models where transactions need to be divided
    among different sellers or stakeholders.
servers:
  - url: https://api-sandbox.y.uno/v1
    description: Sandbox
  - url: https://api.y.uno/v1
    description: Production (US)
security:
  - sec0: []
    sec1: []
paths:
  /recipients/{recipient_id}/onboardings/{onboarding_id}:
    get:
      summary: Obtenir un onboarding
      operationId: get-onboarding
      parameters:
        - in: path
          name: recipient_id
          description: ID du bénéficiaire
          schema:
            type: string
          required: true
          example: 9104911d-5df9-429e-8488-ad41abea1a4b
        - in: path
          name: onboarding_id
          description: ID de l'onboarding à récupérer
          schema:
            type: string
          required: true
          example: 9104911d-5df9-429e-8488-ad41abea1a4b
      responses:
        '200':
          description: Détails de l'onboarding récupérés avec succès
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: L'identifiant unique de l'onboarding
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  account_id:
                    type: string
                    description: Identifiant unique du compte dans Yuno
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  recipient_id:
                    type: string
                    description: L'identifiant unique du bénéficiaire
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  type:
                    type: string
                    enum:
                      - PREVIOUSLY_ONBOARDED
                      - ONE_STEP_ONBOARDING
                      - TWO_STEP_ONBOARDING
                    description: Type de flux d'onboarding
                    example: PREVIOUSLY_ONBOARDED
                  workflow:
                    type: string
                    enum:
                      - HOSTED_BY_PROVIDER
                      - HOSTED_BY_YUNO
                      - DIRECT
                    description: Workflow de l'onboarding
                    example: HOSTED_BY_PROVIDER
                  status:
                    type: string
                    description: Statut actuel de l'onboarding
                    example: ACTIVE
                  callback_url:
                    type: string
                    format: uri
                    description: URL de redirection après le processus d'onboarding
                    example: https://www.google.com
                  provider:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Identifiant du prestataire
                        example: PAGARME
                      connection_id:
                        type: string
                        description: Identifiant de la connexion dans Yuno
                        example: 9104911d-5df9-429e-8488-ad41abea1a4b
                      recipient_id:
                        type: string
                        description: >-
                          L'identifiant unique du bénéficiaire chez le
                          prestataire
                        example: AAAAA01
                  created_at:
                    type: string
                    format: date-time
                    description: Date de création de l'onboarding
                    example: '2024-01-15T10:30:00Z'
                  updated_at:
                    type: string
                    format: date-time
                    description: Date de dernière mise à jour de l'onboarding
                    example: '2024-01-15T10:30:00Z'
              examples:
                Success Response:
                  value:
                    id: 9104911d-5df9-429e-8488-ad41abea1a4b
                    account_id: 9104911d-5df9-429e-8488-ad41abea1a4b
                    recipient_id: 9104911d-5df9-429e-8488-ad41abea1a4b
                    type: PREVIOUSLY_ONBOARDED
                    workflow: HOSTED_BY_PROVIDER
                    status: SUCCEEDED
                    callback_url: https://www.google.com
                    provider:
                      id: PAGARME
                      connection_id: 9104911d-5df9-429e-8488-ad41abea1a4b
                      recipient_id: AAAAA01
                    created_at: '2024-01-15T10:30:00Z'
                    updated_at: '2024-01-15T10:30:00Z'
        '401':
          description: Non autorisé
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  value:
                    code: INVALID_CREDENTIALS
                    messages:
                      - Invalid credentials
        '403':
          description: Interdit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Forbidden:
                  value:
                    code: AUTHORIZATION_REQUIRED
                    messages:
                      - The merchant has no authorization to use this API.
components:
  schemas:
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          example: INVALID_REQUEST
        messages:
          type: array
          items:
            type: string
            example: Invalid request
  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.