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

# Entität aktualisieren

Aktualisiert KYC-Daten, Adresse und benutzerdefinierte Felder teilweise. Nur die gesendeten Felder werden geändert. Die aktuelle Version muss in If-Match angegeben werden, damit gleichzeitige Änderungen nicht überschrieben werden.

* Fehlt If-Match, wird 400 zurückgegeben; ein veralteter Wert führt zu 412 VERSION\_CONFLICT. Rufen Sie die Entität erneut ab und wiederholen Sie den Vorgang mit dem neuen ETag.
* Die Felder type, externalId, birthdate, nationality, birthCountry, incorporationDate und incorporationCountry können über diesen Endpunkt nicht geändert werden.
* Dokumente werden über die Endpunkte für Dokumente verwaltet, nicht hier.
* Das Bearbeiten von Entitätsdaten setzt die Prüfung der Nachweise nicht zurück.
* Solange sich die Entität im Status IN\_REVIEW befindet, ist sie gesperrt (409 ENTITY\_IN\_REVIEW); Entitäten im Status REJECTED, BLOCKED oder CLOSED können nicht bearbeitet werden (409 ENTITY\_NOT\_EDITABLE).

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 PATCH /api/entity/v1/entities/{entityId}
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/{entityId}:
    patch:
      summary: Entität aktualisieren
      operationId: update-entity
      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: If-Match
          in: header
          description: >-
            Version der Entität, wie sie im ETag-Header Ihres letzten
            Lesezugriffs zurückgegeben wurde. Schützt vor gleichzeitigen
            Aktualisierungen.
          required: true
          schema:
            type: string
            examples:
              - '"0"'
        - 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: entityId
          in: path
          description: internalId der Entität.
          required: true
          schema:
            type: string
            examples:
              - 5aced5da-40c1-4bec-85ff-c8cd1bcb4526
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  description: Vorname / Firmenname.
                  examples:
                    - Jane
                lastname:
                  type: string
                  description: Nachname.
                  examples:
                    - Doe
                occupation:
                  type: string
                  description: Beruf.
                  examples:
                    - Engineer
                residenceCountry:
                  type: string
                  description: Code nach ISO 3166-1 alpha-3.
                  examples:
                    - BRA
                website:
                  type: string
                  description: Website-Adresse.
                  examples:
                    - https://www.example.com/new
                legalRepresentativeName:
                  type: string
                  description: Gesetzlicher Vertreter.
                  examples:
                    - Jane Doe
                email:
                  type: string
                  description: Kontakt-E-Mail-Adresse.
                  examples:
                    - jane.doe@example.com
                phone:
                  type: object
                  description: '{ countryCode, areaCode, number }, nur Ziffern.'
                address:
                  type: object
                  description: >-
                    Vollständiges Adressobjekt (ersetzt die gespeicherte
                    Adresse).
                attributes:
                  type: object
                  description: >-
                    Benutzerdefinierte Felder; werden anhand des
                    veröffentlichten Schemas validiert.
                isPep:
                  type: boolean
                  description: Politisch exponierte Person.
                  examples:
                    - false
            examples:
              Example 1:
                value:
                  website: https://www.example.com/new
                  phone:
                    countryCode: '55'
                    areaCode: '11'
                    number: '999990099'
      responses:
        '200':
          description: OK.
          content:
            application/json:
              schema:
                type: object
                properties:
                  internalId:
                    type: string
                    examples:
                      - 7c9e6679-7425-40de-944b-e07fc1f90ae7
                    format: uuid
                    description: >-
                      Localpayment-Kennung der Entität. Verwenden Sie sie in
                      allen anderen Entities-Endpunkten.
                  externalId:
                    type: string
                    examples:
                      - f47ac10b-58cc-4372-a567-0e02b2c3d479
                    description: Ihre Kennung, wie gesendet.
                  type:
                    type: string
                    examples:
                      - COMPANY
                    enum:
                      - INDIVIDUAL
                      - COMPANY
                    description: INDIVIDUAL oder COMPANY.
                  status:
                    type: string
                    examples:
                      - PENDING_KYC
                    enum:
                      - PENDING_KYC
                      - IN_REVIEW
                      - ACTIVE
                      - REJECTED
                      - BLOCKED
                      - CLOSED
                    description: >-
                      Status der Entität. Siehe „Entitätsstatus und
                      Fehlercodes“.
                  name:
                    type: string
                    examples:
                      - Example Company S.A.
                  lastname:
                    type:
                      - string
                      - 'null'
                  birthdate:
                    type:
                      - string
                      - 'null'
                    format: date
                  gender:
                    type:
                      - string
                      - 'null'
                  nationality:
                    type:
                      - string
                      - 'null'
                  birthCountry:
                    type:
                      - string
                      - 'null'
                  residenceCountry:
                    type:
                      - string
                      - 'null'
                  occupation:
                    type:
                      - string
                      - 'null'
                  isPep:
                    type: boolean
                    examples:
                      - false
                  incorporationDate:
                    type: string
                    examples:
                      - '2020-01-15'
                    format: date
                  incorporationCountry:
                    type: string
                    examples:
                      - BRA
                  website:
                    type: string
                    examples:
                      - https://www.example.com/new
                  legalRepresentativeName:
                    type: string
                    examples:
                      - Jane Doe
                  email:
                    type: string
                    examples:
                      - test@example.com
                  phone:
                    type: object
                    properties:
                      countryCode:
                        type: string
                        examples:
                          - '55'
                      areaCode:
                        type: string
                        examples:
                          - '11'
                      number:
                        type: string
                        examples:
                          - '999990099'
                  address:
                    type: object
                    properties:
                      street:
                        type: string
                        examples:
                          - Rua Exemplo
                      city:
                        type: string
                        examples:
                          - São Paulo
                      state:
                        type: string
                        examples:
                          - SP
                      zipCode:
                        type: string
                        examples:
                          - 01310-100
                      number:
                        type: string
                        examples:
                          - '100'
                      comment:
                        type:
                          - string
                          - 'null'
                      country:
                        type: string
                        examples:
                          - BRA
                      line2:
                        type: string
                        examples:
                          - Sala 100
                      line3:
                        type: string
                        examples:
                          - Torre A
                  attributes:
                    type: object
                    properties:
                      emailPixKey:
                        type: string
                        examples:
                          - test@example.com
                      socialMedia:
                        type: string
                        examples:
                          - https://www.linkedin.com/company/example
                      numberOfEmployees:
                        type: string
                        examples:
                          - 11-50
                      countryTaxResidence:
                        type: string
                        examples:
                          - BRA
                      sourceOfFundsAndIncome:
                        type: string
                        examples:
                          - sales_of_goods_and_services
                      reasonForAccountOpening:
                        type: string
                        examples:
                          - receive_payments_for_goods_and_services
                      estimatedAnnualRevenueUsd:
                        type: string
                        examples:
                          - 1m_to_10m
                      estimatedMonthlyVolumeUsd:
                        type: string
                        examples:
                          - '50000'
                      businessActivityDescription:
                        type: string
                        examples:
                          - >-
                            Online retail of home goods. Receives payments from
                            end customers in Brazil via PIX.
                  documentationStatus:
                    type: string
                    examples:
                      - NO_FILES
                    enum:
                      - NO_FILES
                      - PARTIAL
                      - COMPLETE
                    description: >-
                      NO_FILES, PARTIAL oder COMPLETE: ob keines, einige oder
                      alle deklarierten Dokumente mindestens eine Datei haben.
                      Gemessen wird das Vorhandensein von Dateien, nicht die
                      Genehmigung.
                  document:
                    type: object
                    properties:
                      documentId:
                        type: string
                        examples:
                          - 91eaf0c8-844b-42a1-a614-304edbcfa57d
                        format: uuid
                      entityId:
                        type: string
                        examples:
                          - 7c9e6679-7425-40de-944b-e07fc1f90ae7
                        format: uuid
                      type:
                        type: string
                        examples:
                          - CNPJ
                        enum:
                          - DNI
                          - NATIONAL_ID
                          - DRIVER_LICENSE
                          - PASSPORT
                          - CE
                          - CC
                          - CUIT
                          - CUIL
                          - RFC
                          - CURP
                          - CPF
                          - CNPJ
                          - RUC
                          - NIT
                          - TAX_ID
                          - ARTICLES_OF_INCORPORATION
                          - POWER_OF_ATTORNEY
                          - TAX_CERTIFICATE
                          - PAYSLIP
                          - ARCA_REGISTRATION
                          - PROOF_OF_ADDRESS
                          - PROOF_OF_FUNDS
                          - OTHER
                        description: INDIVIDUAL oder COMPANY.
                      id:
                        type: string
                        examples:
                          - '00000000000100'
                      issuingCountry:
                        type: string
                        examples:
                          - BRA
                      issueDate:
                        type:
                          - string
                          - 'null'
                        format: date
                      expirationDate:
                        type:
                          - string
                          - 'null'
                        format: date
                      isPrimary:
                        type: boolean
                        examples:
                          - true
                      status:
                        type: string
                        examples:
                          - PENDING
                        enum:
                          - PENDING
                          - VERIFIED
                          - REJECTED
                          - EXPIRED
                        description: >-
                          Abgeleiteter Dokumentstatus: EXPIRED, wenn
                          expirationDate überschritten ist, REJECTED, wenn ein
                          aktiver Nachweis abgelehnt wurde, VERIFIED, wenn alle
                          aktiven Nachweise genehmigt sind, andernfalls PENDING.
                      metadata:
                        type:
                          - object
                          - 'null'
                      proofs:
                        type: array
                        items:
                          type: object
                      createdAt:
                        type: string
                        examples:
                          - '2024-01-15T17:18:53Z'
                        format: date-time
                        description: UTC-Zeitstempel nach ISO 8601.
                      updatedAt:
                        type: string
                        examples:
                          - '2024-01-15T17:19:23Z'
                        format: date-time
                        description: UTC-Zeitstempel nach ISO 8601.
                    description: >-
                      Das primäre Dokument mit seiner documentId (zum Hochladen
                      von Dateien erforderlich), dem abgeleiteten Status und den
                      aktuellen proofs[].
                  documents:
                    type: array
                    items:
                      type: object
                      properties:
                        documentId:
                          type: string
                          examples:
                            - a4f9d2ed-c365-4a0b-b775-9278c039af93
                          format: uuid
                        entityId:
                          type: string
                          examples:
                            - 7c9e6679-7425-40de-944b-e07fc1f90ae7
                          format: uuid
                        type:
                          type: string
                          examples:
                            - ARTICLES_OF_INCORPORATION
                          enum:
                            - DNI
                            - NATIONAL_ID
                            - DRIVER_LICENSE
                            - PASSPORT
                            - CE
                            - CC
                            - CUIT
                            - CUIL
                            - RFC
                            - CURP
                            - CPF
                            - CNPJ
                            - RUC
                            - NIT
                            - TAX_ID
                            - ARTICLES_OF_INCORPORATION
                            - POWER_OF_ATTORNEY
                            - TAX_CERTIFICATE
                            - PAYSLIP
                            - ARCA_REGISTRATION
                            - PROOF_OF_ADDRESS
                            - PROOF_OF_FUNDS
                            - OTHER
                          description: INDIVIDUAL oder COMPANY.
                        id:
                          type: string
                          examples:
                            - ART-00000000000100
                        issuingCountry:
                          type: string
                          examples:
                            - BRA
                        issueDate:
                          type:
                            - string
                            - 'null'
                          format: date
                        expirationDate:
                          type:
                            - string
                            - 'null'
                          format: date
                        isPrimary:
                          type: boolean
                          examples:
                            - false
                        status:
                          type: string
                          examples:
                            - PENDING
                          enum:
                            - PENDING
                            - VERIFIED
                            - REJECTED
                            - EXPIRED
                          description: >-
                            Abgeleiteter Dokumentstatus: EXPIRED, wenn
                            expirationDate überschritten ist, REJECTED, wenn ein
                            aktiver Nachweis abgelehnt wurde, VERIFIED, wenn
                            alle aktiven Nachweise genehmigt sind, andernfalls
                            PENDING.
                        metadata:
                          type:
                            - object
                            - 'null'
                        proofs:
                          type: array
                          items:
                            type: object
                        createdAt:
                          type: string
                          examples:
                            - '2024-01-15T17:18:53Z'
                          format: date-time
                          description: UTC-Zeitstempel nach ISO 8601.
                        updatedAt:
                          type: string
                          examples:
                            - '2024-01-15T17:19:23Z'
                          format: date-time
                          description: UTC-Zeitstempel nach ISO 8601.
                    description: >-
                      Die übrigen deklarierten Dokumente (das primäre befindet
                      sich nur in document), mit derselben Struktur.
                  version:
                    type: integer
                    examples:
                      - 1
                    description: >-
                      Version der Entität. Entspricht dem ETag-Header; senden
                      Sie sie bei PATCH als If-Match zurück.
                  createdAt:
                    type: string
                    examples:
                      - '2024-01-15T17:18:53Z'
                    format: date-time
                    description: UTC-Zeitstempel nach ISO 8601.
                  updatedAt:
                    type: string
                    examples:
                      - '2024-01-15T17:19:23Z'
                    format: date-time
                    description: UTC-Zeitstempel nach ISO 8601.
                  customFieldSchemaVersion:
                    type: integer
                    examples:
                      - 9
                    description: >-
                      Version des Schemas für benutzerdefinierte Felder, mit dem
                      attributes validiert wurde, oder null.
              examples:
                Example 1:
                  value:
                    internalId: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                    externalId: f47ac10b-58cc-4372-a567-0e02b2c3d479
                    type: COMPANY
                    status: PENDING_KYC
                    name: Example Company S.A.
                    lastname: null
                    birthdate: null
                    gender: null
                    nationality: null
                    birthCountry: null
                    residenceCountry: null
                    occupation: null
                    isPep: false
                    incorporationDate: '2020-01-15'
                    incorporationCountry: BRA
                    website: https://www.example.com/new
                    legalRepresentativeName: Jane Doe
                    email: test@example.com
                    phone:
                      countryCode: '55'
                      areaCode: '11'
                      number: '999990099'
                    address:
                      street: Rua Exemplo
                      city: São Paulo
                      state: SP
                      zipCode: 01310-100
                      number: '100'
                      comment: null
                      country: BRA
                      line2: Sala 100
                      line3: Torre A
                    attributes:
                      emailPixKey: test@example.com
                      socialMedia: https://www.linkedin.com/company/example
                      numberOfEmployees: 11-50
                      countryTaxResidence: BRA
                      sourceOfFundsAndIncome: sales_of_goods_and_services
                      reasonForAccountOpening: receive_payments_for_goods_and_services
                      estimatedAnnualRevenueUsd: 1m_to_10m
                      estimatedMonthlyVolumeUsd: '50000'
                      businessActivityDescription: >-
                        Online retail of home goods. Receives payments from end
                        customers in Brazil via PIX.
                    documentationStatus: NO_FILES
                    document:
                      documentId: 91eaf0c8-844b-42a1-a614-304edbcfa57d
                      entityId: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                      type: CNPJ
                      id: '00000000000100'
                      issuingCountry: BRA
                      issueDate: null
                      expirationDate: null
                      isPrimary: true
                      status: PENDING
                      metadata: null
                      proofs: []
                      createdAt: '2024-01-15T17:18:53Z'
                      updatedAt: '2024-01-15T17:19:23Z'
                    documents:
                      - documentId: a4f9d2ed-c365-4a0b-b775-9278c039af93
                        entityId: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                        type: ARTICLES_OF_INCORPORATION
                        id: ART-00000000000100
                        issuingCountry: BRA
                        issueDate: null
                        expirationDate: null
                        isPrimary: false
                        status: PENDING
                        metadata: null
                        proofs: []
                        createdAt: '2024-01-15T17:18:53Z'
                        updatedAt: '2024-01-15T17:19:23Z'
                      - documentId: 5ca3e868-2b76-4390-b25a-5d10c0db8516
                        entityId: 7c9e6679-7425-40de-944b-e07fc1f90ae7
                        type: TAX_ID
                        id: 00.000.000/0001-00
                        issuingCountry: BRA
                        issueDate: null
                        expirationDate: null
                        isPrimary: false
                        status: PENDING
                        metadata: null
                        proofs: []
                        createdAt: '2024-01-15T17:18:54Z'
                        updatedAt: '2024-01-15T17:19:23Z'
                    version: 1
                    createdAt: '2024-01-15T17:18:53Z'
                    updatedAt: '2024-01-15T17:19:23Z'
                    customFieldSchemaVersion: 9
          headers:
            ETag:
              description: >-
                Version der Entität. Senden Sie sie bei „Entität aktualisieren“
                als If-Match zurück.
              schema:
                type: string
                examples:
                  - '"0"'
        '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. CUSTOM_FIELDS_INVALID: attributes entspricht
            nicht Ihrem Schema für benutzerdefinierte Felder. 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/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: VALIDATION_ERROR
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details:
                      - field: externalId
                        issue: REQUIRED
                Example 2 - CUSTOM_FIELDS_INVALID:
                  value:
                    type: about:blank
                    title: Validation error
                    status: 400
                    detail: >-
                      attributes does not satisfy your custom-fields schema.
                      details[] lists field and issue.
                    instance: >-
                      /api/entity/v1/entities/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: CUSTOM_FIELDS_INVALID
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details:
                      - field: numberOfEmployees
                        issue: NOT_IN_OPTIONS
        '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/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    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/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: ENTITY_NOT_FOUND
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '409':
          description: >-
            Konflikt. ENTITY_NOT_EDITABLE: Die Entität ist REJECTED, BLOCKED
            oder CLOSED, oder der Vorgang würde das primäre oder das einzige
            Dokument entfernen. 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.
          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_EDITABLE:
                  value:
                    type: about:blank
                    title: Conflict
                    status: 409
                    detail: >-
                      The entity is REJECTED, BLOCKED or CLOSED, or the
                      operation would remove the primary document or the only
                      document.
                    instance: >-
                      /api/entity/v1/entities/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: ENTITY_NOT_EDITABLE
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
                Example 2 - 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/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: ENTITY_IN_REVIEW
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '412':
          description: >-
            Vorbedingung fehlgeschlagen. VERSION_CONFLICT: If-Match stimmt nicht
            mit der aktuellen Version der Entität überein. Lesen Sie die Entität
            erneut und versuchen Sie es noch einmal.
          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 - VERSION_CONFLICT:
                  value:
                    type: about:blank
                    title: Precondition failed
                    status: 412
                    detail: Precondition failed
                    instance: >-
                      /api/entity/v1/entities/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: VERSION_CONFLICT
                    correlationId: 0e8f6a2c-5b3d-4c1e-9a7f-6d5e4c3b2a10
                    details: []
        '413':
          description: >-
            Nutzdaten zu groß. PAYLOAD_TOO_LARGE: attributes überschreitet 64
            KB.
          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 - PAYLOAD_TOO_LARGE:
                  value:
                    type: about:blank
                    title: Payload too large
                    status: 413
                    detail: attributes exceeds 64 KB.
                    instance: >-
                      /api/entity/v1/entities/5aced5da-40c1-4bec-85ff-c8cd1bcb4526
                    code: PAYLOAD_TOO_LARGE
                    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.