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

# UBO verknüpfen

Verknüpft eine INDIVIDUAL-Entität als wirtschaftlich Berechtigten (UBO) mit einer COMPANY-Entität, einschließlich Beteiligungsquote und Kontrollrolle. Beide Entitäten müssen bereits existieren.

* Eine Verknüpfung ist möglich, solange sich das Unternehmen im Status PENDING\_KYC oder ACTIVE befindet. Im Status IN\_REVIEW wird 409 ENTITY\_IN\_REVIEW zurückgegeben; in den Status CLOSED, BLOCKED oder REJECTED ist keine Verknüpfung möglich.
* Pro Unternehmen sind bis zu 50 aktive UBO-Verknüpfungen möglich. Dieselbe Person kann nicht zweimal verknüpft werden, solange eine Verknüpfung aktiv ist.
* Nach der Verknüpfung gibt „Entität abrufen“ für das Unternehmen uboCount und uboRequirementMet zurück.

Fehler werden als `application/problem+json` mit einem stabilen `code` zurückgegeben. Vollständiger Katalog: [Entitätsstatus und Fehlercodes](https://docs.localpayment.com/de/reference/entity-statuses-and-error-codes.md).


## OpenAPI

````yaml openapi/de/localpayment.json POST /api/entity/v1/entities/{companyId}/ubos
openapi: 3.1.0
info:
  version: '1.0'
  title: Localpayment
  contact:
    name: Support
    url: mailto:support@localpayment.com
servers:
  - url: https://api.stage.localpayment.com
    description: Stage
security:
  - token: []
paths:
  /api/entity/v1/entities/{companyId}/ubos:
    post:
      summary: UBO verknüpfen
      operationId: link-ubo
      parameters:
        - name: Authorization
          in: header
          description: >-
            Bearer-Zugriffstoken zur Authentifizierung. Dieses Token erhalten
            Sie über die Endpunkte [Zugriffstoken
            abrufen](/de/reference/get-token) oder [Zugriffstoken
            aktualisieren](/de/reference/refresh-token). Ihr Händlerkonto und
            der handelnde Benutzer werden daraus ermittelt.
          required: true
          schema:
            type: string
            examples:
              - Bearer <your_access_token>
        - name: X-Correlation-ID
          in: header
          description: >-
            Trace-Kennung (UUID). Wird in der Antwort zurückgegeben; fehlt sie,
            generiert Localpayment eine.
          required: false
          schema:
            type: string
            examples:
              - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
        - name: companyId
          in: path
          description: internalId der COMPANY-Entität.
          required: true
          schema:
            type: string
            examples:
              - 7c9e6679-7425-40de-944b-e07fc1f90ae7
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                personId:
                  type: string
                  format: uuid
                  description: internalId der INDIVIDUAL-Entität.
                  examples:
                    - c1e384f5-ae1c-475e-9e64-a0abe533a96f
                ownershipPercentage:
                  type:
                    - number
                    - 'null'
                  description: >-
                    0 bis 100, bis zu zwei Dezimalstellen. Senden Sie null, wenn
                    der Prozentsatz unbekannt ist, und 0 für einen gesetzlichen
                    Vertreter, der keine Anteile hält.
                  examples:
                    - 60
                controlRole:
                  type: string
                  description: >-
                    Rolle der Person, einer der 24 Codes. Groß-/Kleinschreibung
                    wird beachtet: director gibt 422 INVALID_CONTROL_ROLE
                    zurück. Verwenden Sie LEGAL_REPRESENTATIVE für den
                    gesetzlichen Vertreter und AUTHORIZED_SIGNATORY für eine
                    Person, die mit Vollmacht unterzeichnet.
                  examples:
                    - CEO
                  enum:
                    - CEO
                    - CFO
                    - COO
                    - CTO
                    - PRESIDENT
                    - VICE_PRESIDENT
                    - DIRECTOR
                    - MANAGING_DIRECTOR
                    - MANAGING_PARTNER
                    - GENERAL_PARTNER
                    - PARTNER
                    - SECRETARY
                    - TREASURER
                    - CHAIRMAN
                    - BOARD_MEMBER
                    - AUTHORIZED_SIGNATORY
                    - GENERAL_COUNSEL
                    - OWNER
                    - FOUNDER
                    - MANAGER
                    - MEMBER
                    - COMPTROLLER
                    - CHIEF_COMPLIANCE_OFFICER
                    - LEGAL_REPRESENTATIVE
                validFrom:
                  type: string
                  format: date
                  description: 'YYYY-MM-DD. Standard: heute.'
                  examples:
                    - '2024-01-15'
                validTo:
                  type: string
                  format: date
                  description: >-
                    YYYY-MM-DD, am oder nach validFrom. Für eine unbefristete
                    Verknüpfung weglassen.
                  examples:
                    - '2025-01-15'
              required:
                - personId
                - ownershipPercentage
            examples:
              Example 1:
                value:
                  personId: c1e384f5-ae1c-475e-9e64-a0abe533a96f
                  ownershipPercentage: 60
                  controlRole: CEO
      responses:
        '201':
          description: Erstellt.
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                    examples:
                      - 4584b476-ccc6-4e98-be40-0c5082748e35
                    description: Kennung der UBO-Verknüpfung (uboId).
                  companyId:
                    type: string
                    examples:
                      - 7c9e6679-7425-40de-944b-e07fc1f90ae7
                    format: uuid
                    description: Die COMPANY-Entität.
                  personId:
                    type: string
                    examples:
                      - c1e384f5-ae1c-475e-9e64-a0abe533a96f
                    format: uuid
                    description: >-
                      Die INDIVIDUAL-Entität. Hier werden keine
                      personenbezogenen Daten der Person zurückgegeben.
                  ownershipPercentage:
                    type:
                      - number
                      - 'null'
                    examples:
                      - 60
                    description: >-
                      0 bis 100, bis zu zwei Dezimalstellen. null, wenn der
                      Prozentsatz unbekannt ist.
                  controlRole:
                    type: string
                    examples:
                      - CEO
                    description: >-
                      Rolle in Großbuchstaben, zum Beispiel CEO, PARTNER,
                      DIRECTOR, LEGAL_REPRESENTATIVE. null, wenn nicht
                      angegeben.
                  validFrom:
                    type: string
                    examples:
                      - '2024-01-15'
                    format: date
                    description: >-
                      Gültigkeit der Verknüpfung. validTo ist null, solange die
                      Verknüpfung aktiv ist.
                  validTo:
                    type:
                      - string
                      - 'null'
                    format: date
                    description: >-
                      Gültigkeit der Verknüpfung. validTo ist null, solange die
                      Verknüpfung aktiv ist.
                  createdAt:
                    type: string
                    examples:
                      - '2024-01-15T17:20:47Z'
                    format: date-time
                    description: Erstellungszeitpunkt.
              examples:
                Example 1:
                  value:
                    id: 4584b476-ccc6-4e98-be40-0c5082748e35
                    companyId: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                    personId: c1e384f5-ae1c-475e-9e64-a0abe533a96f
                    ownershipPercentage: 60
                    controlRole: CEO
                    validFrom: '2024-01-15'
                    validTo: null
                    createdAt: '2024-01-15T17:20:47Z'
        '400':
          description: >-
            Ungültige Anfrage. VALIDATION_ERROR: Ein Feld, Header, Pfad- oder
            Query-Parameter fehlt, ist unbekannt oder ungültig. details[] listet
            Feld und Problem auf.
          content:
            application/problem+json:
              schema:
                type: object
                description: Problemdetails nach RFC 9457 (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Kurze Zusammenfassung des Problems.
                  status:
                    type: integer
                    description: HTTP-Statuscode.
                  detail:
                    type: string
                    description: Verständliche Erläuterung.
                  instance:
                    type: string
                    description: Pfad der Anfrage.
                  code:
                    type: string
                    description: >-
                      Stabiler, maschinenlesbarer Fehlercode. Verzweigen Sie
                      Ihre Logik anhand dieses Werts.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Kennung der Anfrage. Geben Sie sie an, wenn Sie den
                      Support kontaktieren.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Fehlerhafte Felder, falls zutreffend.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - VALIDATION_ERROR:
                  value:
                    type: about:blank
                    title: Validation error
                    status: 400
                    detail: >-
                      A field, header, path or query parameter is missing,
                      unknown or invalid. details[] lists field and issue.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: VALIDATION_ERROR
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details:
                      - field: externalId
                        issue: REQUIRED
        '401':
          description: >-
            Nicht autorisiert. UNAUTHORIZED: Zugriffstoken fehlt oder ist
            ungültig.
          content:
            application/problem+json:
              schema:
                type: object
                description: Problemdetails nach RFC 9457 (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Kurze Zusammenfassung des Problems.
                  status:
                    type: integer
                    description: HTTP-Statuscode.
                  detail:
                    type: string
                    description: Verständliche Erläuterung.
                  instance:
                    type: string
                    description: Pfad der Anfrage.
                  code:
                    type: string
                    description: >-
                      Stabiler, maschinenlesbarer Fehlercode. Verzweigen Sie
                      Ihre Logik anhand dieses Werts.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Kennung der Anfrage. Geben Sie sie an, wenn Sie den
                      Support kontaktieren.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Fehlerhafte Felder, falls zutreffend.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - UNAUTHORIZED:
                  value:
                    type: about:blank
                    title: Unauthorized
                    status: 401
                    detail: Missing or invalid access token.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: UNAUTHORIZED
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '404':
          description: >-
            Nicht gefunden. ENTITY_NOT_FOUND: Die Entität existiert nicht oder
            gehört zu einem anderen Händler.
          content:
            application/problem+json:
              schema:
                type: object
                description: Problemdetails nach RFC 9457 (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Kurze Zusammenfassung des Problems.
                  status:
                    type: integer
                    description: HTTP-Statuscode.
                  detail:
                    type: string
                    description: Verständliche Erläuterung.
                  instance:
                    type: string
                    description: Pfad der Anfrage.
                  code:
                    type: string
                    description: >-
                      Stabiler, maschinenlesbarer Fehlercode. Verzweigen Sie
                      Ihre Logik anhand dieses Werts.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Kennung der Anfrage. Geben Sie sie an, wenn Sie den
                      Support kontaktieren.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Fehlerhafte Felder, falls zutreffend.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - ENTITY_NOT_FOUND:
                  value:
                    type: about:blank
                    title: Not found
                    status: 404
                    detail: The entity does not exist or belongs to another merchant.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: ENTITY_NOT_FOUND
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '409':
          description: >-
            Konflikt. ENTITY_IN_REVIEW: Die Entität ist IN_REVIEW: ihre Daten,
            Dokumente, Dateien und UBO-Verknüpfungen sind eingefroren, bis
            Localpayment Compliance sie bearbeitet hat. UBO_ALREADY_LINKED: Die
            Person hat bereits eine aktive UBO-Verknüpfung mit diesem
            Unternehmen. UBO_LIMIT_EXCEEDED: Das Unternehmen hat bereits 50
            aktive UBO-Verknüpfungen.
          content:
            application/problem+json:
              schema:
                type: object
                description: Problemdetails nach RFC 9457 (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Kurze Zusammenfassung des Problems.
                  status:
                    type: integer
                    description: HTTP-Statuscode.
                  detail:
                    type: string
                    description: Verständliche Erläuterung.
                  instance:
                    type: string
                    description: Pfad der Anfrage.
                  code:
                    type: string
                    description: >-
                      Stabiler, maschinenlesbarer Fehlercode. Verzweigen Sie
                      Ihre Logik anhand dieses Werts.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Kennung der Anfrage. Geben Sie sie an, wenn Sie den
                      Support kontaktieren.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Fehlerhafte Felder, falls zutreffend.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - ENTITY_IN_REVIEW:
                  value:
                    type: about:blank
                    title: Conflict
                    status: 409
                    detail: >-
                      The entity is IN_REVIEW: its data, documents, files and
                      UBO links are frozen until Localpayment Compliance
                      resolves it.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: ENTITY_IN_REVIEW
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 2 - UBO_ALREADY_LINKED:
                  value:
                    type: about:blank
                    title: Conflict
                    status: 409
                    detail: Conflict
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: UBO_ALREADY_LINKED
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 3 - UBO_LIMIT_EXCEEDED:
                  value:
                    type: about:blank
                    title: Conflict
                    status: 409
                    detail: The company already has 50 active UBO links.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: UBO_LIMIT_EXCEEDED
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '422':
          description: >-
            Nicht verarbeitbare Entität. INVALID_ENTITY_TYPE: companyId muss
            eine COMPANY und personId eine INDIVIDUAL-Entität sein.
            ENTITY_NOT_ACTIVE: Das Unternehmen (oder die Person) ist CLOSED,
            BLOCKED oder REJECTED. INVALID_PERCENTAGE: ownershipPercentage liegt
            außerhalb von 0 bis 100 oder hat mehr als zwei Dezimalstellen.
            INVALID_CONTROL_ROLE: controlRole ist keiner der unter „UBO
            verknüpfen“ aufgeführten Rollencodes. Bei den Codes wird zwischen
            Groß- und Kleinschreibung unterschieden: director löst diesen Fehler
            aus. INVALID_VALIDITY_RANGE: validTo liegt vor validFrom.
          content:
            application/problem+json:
              schema:
                type: object
                description: Problemdetails nach RFC 9457 (application/problem+json).
                properties:
                  type:
                    type: string
                    examples:
                      - about:blank
                  title:
                    type: string
                    description: Kurze Zusammenfassung des Problems.
                  status:
                    type: integer
                    description: HTTP-Statuscode.
                  detail:
                    type: string
                    description: Verständliche Erläuterung.
                  instance:
                    type: string
                    description: Pfad der Anfrage.
                  code:
                    type: string
                    description: >-
                      Stabiler, maschinenlesbarer Fehlercode. Verzweigen Sie
                      Ihre Logik anhand dieses Werts.
                  correlationId:
                    type: string
                    format: uuid
                    description: >-
                      Kennung der Anfrage. Geben Sie sie an, wenn Sie den
                      Support kontaktieren.
                    examples:
                      - 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                  details:
                    type: array
                    description: Fehlerhafte Felder, falls zutreffend.
                    items:
                      type: object
                      properties:
                        field:
                          type: string
                          examples:
                            - numberOfEmployees
                        issue:
                          type: string
                          examples:
                            - NOT_IN_OPTIONS
              examples:
                Example 1 - INVALID_ENTITY_TYPE:
                  value:
                    type: about:blank
                    title: Unprocessable entity
                    status: 422
                    detail: companyId must be a COMPANY and personId an INDIVIDUAL.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: INVALID_ENTITY_TYPE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 2 - ENTITY_NOT_ACTIVE:
                  value:
                    type: about:blank
                    title: Unprocessable entity
                    status: 422
                    detail: >-
                      The company (or the person) is CLOSED, BLOCKED or
                      REJECTED.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: ENTITY_NOT_ACTIVE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 3 - INVALID_PERCENTAGE:
                  value:
                    type: about:blank
                    title: Unprocessable entity
                    status: 422
                    detail: >-
                      ownershipPercentage is outside 0 to 100 or has more than
                      two decimals.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: INVALID_PERCENTAGE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 4 - INVALID_CONTROL_ROLE:
                  value:
                    type: about:blank
                    title: Unprocessable entity
                    status: 422
                    detail: >-
                      controlRole is not one of the role codes listed in Link a
                      UBO. Codes are case-sensitive: director returns this
                      error.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: INVALID_CONTROL_ROLE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 5 - INVALID_VALIDITY_RANGE:
                  value:
                    type: about:blank
                    title: Unprocessable entity
                    status: 422
                    detail: validTo is earlier than validFrom.
                    instance: >-
                      /api/entity/v1/entities/7c9e6679-7425-40de-944b-e07fc1f90ae7/ubos
                    code: INVALID_VALIDITY_RANGE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

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