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

# Consultar onboarding

> Consulte o status atual e os detalhes de um onboarding específico de um destinatário

Consulta informações detalhadas sobre um onboarding específico de um destinatário.

Este endpoint consulta informações detalhadas sobre um onboarding específico de um destinatário no [marketplace de split de pagamentos](https://docs.y.uno/pt-br/docs/payment-features/split-payments-marketplace.md). Use este endpoint para verificar o status atual, a configuração e os detalhes de um onboarding existente.

Este endpoint exige um onboarding existente criado por meio de [Criar onboarding](https://docs.y.uno/pt-br/reference/recipients-for-marketplace/create-onboarding.md).


## OpenAPI

````yaml openapi/pt-br/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: Consultar onboarding
      operationId: get-onboarding
      parameters:
        - in: path
          name: recipient_id
          description: ID do destinatário
          schema:
            type: string
          required: true
          example: 9104911d-5df9-429e-8488-ad41abea1a4b
        - in: path
          name: onboarding_id
          description: ID do onboarding a ser consultado
          schema:
            type: string
          required: true
          example: 9104911d-5df9-429e-8488-ad41abea1a4b
      responses:
        '200':
          description: Detalhes do onboarding consultados com sucesso
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    description: O identificador único do onboarding
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  account_id:
                    type: string
                    description: Id único da conta na Yuno
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  recipient_id:
                    type: string
                    description: O identificador único do destinatário
                    example: 9104911d-5df9-429e-8488-ad41abea1a4b
                  type:
                    type: string
                    enum:
                      - PREVIOUSLY_ONBOARDED
                      - ONE_STEP_ONBOARDING
                      - TWO_STEP_ONBOARDING
                    description: Tipo de fluxo de onboarding
                    example: PREVIOUSLY_ONBOARDED
                  workflow:
                    type: string
                    enum:
                      - HOSTED_BY_PROVIDER
                      - HOSTED_BY_YUNO
                      - DIRECT
                    description: Workflow do onboarding
                    example: HOSTED_BY_PROVIDER
                  status:
                    type: string
                    description: Status atual do onboarding
                    example: ACTIVE
                  callback_url:
                    type: string
                    format: uri
                    description: URL para redirecionar após o processo de onboarding
                    example: https://www.google.com
                  provider:
                    type: object
                    properties:
                      id:
                        type: string
                        description: Id do provedor
                        example: PAGARME
                      connection_id:
                        type: string
                        description: Id da conexão na Yuno
                        example: 9104911d-5df9-429e-8488-ad41abea1a4b
                      recipient_id:
                        type: string
                        description: O identificador único do destinatário no provedor
                        example: AAAAA01
                  created_at:
                    type: string
                    format: date-time
                    description: Data de criação do onboarding
                    example: '2024-01-15T10:30:00Z'
                  updated_at:
                    type: string
                    format: date-time
                    description: Data da última atualização do 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: Não autorizado
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              examples:
                Unauthorized:
                  value:
                    code: INVALID_CREDENTIALS
                    messages:
                      - Invalid credentials
        '403':
          description: Proibido
          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.