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

# Dokumente zum Anfechten einer Rückbuchung hochladen

Laden Sie die erforderlichen Unterlagen hoch, um eine Rückbuchung anzufechten. Mit diesem Endpunkt können Sie Beweismittel und ergänzende Unterlagen einreichen, um die Belastung einer Transaktion anzufechten.


## OpenAPI

````yaml openapi/de/localpayment.json POST /api/chargeback/documentation/{externalId}
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/chargeback/documentation/{externalId}:
    post:
      summary: Dokumente zur Anfechtung einer Rückbuchung hochladen
      operationId: upload-documents-to-dispute-a-chargeback
      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).
          required: true
          schema:
            type: string
        - name: externalId
          in: path
          description: >-
            Auf Ihrer Seite generierte ID zur Rückverfolgbarkeit der
            Transaktion. Sie muss eindeutig sein und akzeptiert nur
            alphanumerische Zeichen und Bindestriche (zum Beispiel UUID4).
          required: true
          schema:
            type: string
            pattern: '[a-zA-Z0-9\- ]+'
            examples:
              - 53025bf4-4c87-4b4f-8fea-b47004440f37
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                files:
                  type: string
                  description: Beweisdokumente für die Anfechtung.
              required:
                - files
              x-examples:
                Example 1:
                  files: /test.txt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  externalId:
                    type: string
                    description: >-
                      Eine von Ihrem System generierte eindeutige Kennung zur
                      Nachverfolgung der Transaktion (alphanumerische Zeichen
                      und Bindestriche). Wir empfehlen UUID4, um die
                      Eindeutigkeit sicherzustellen.
                  internalId:
                    type: string
                    description: Localpayment-Transaktionskennung.
                  status:
                    type: object
                    title: status
                    description: Status des Vorgangs.
                    properties:
                      code:
                        type: string
                        description: >-
                          [Statuscode](/de/reference/transaction-status-error-codes).
                      description:
                        type: string
                        description: >-
                          [Statusbeschreibung](/de/reference/transaction-status-error-codes).
                      detail:
                        type: string
                        description: Zusätzliche Statusinformationen.
                x-examples:
                  Example 1:
                    externalId: '1652301353'
                    internalId: 5a76070b-cd60-4f4a-9186-044d76a9d4fd
                    status:
                      code: '101'
                      description: DOC_RECEIVED
                      detail: Dispute documentation received
        '401':
          description: Nicht autorisiert.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                    description: Zusätzliche Informationen zur Antwort.
                  code:
                    type: string
                    description: Statuscode.
                  messages:
                    type: array
                    description: Liste der Meldungen.
                    items:
                      type: object
                      properties:
                        token_class:
                          type: string
                          description: Token-Klasse.
                        token_type:
                          type: string
                          description: Token-Typ.
                        message:
                          type: string
                          description: Meldung mit zusätzlichen Informationen.
                x-examples:
                  Example 1:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
              examples:
                401 - Token is invalid or expired:
                  value:
                    detail: Given token not valid for any token type
                    code: token_not_valid
                    messages:
                      - token_class: AccessToken
                        token_type: access
                        message: Token is invalid or expired
      security:
        - token: []
      servers:
        - url: https://api.stage.localpayment.com
          description: Stage
components:
  securitySchemes:
    token:
      type: http
      scheme: bearer

````

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