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

# Transaktionsstatus abrufen

Rufen Sie in Echtzeit den Status jeder Transaktion ab, die mit Ihrem Localpayment-Konto verknüpft ist, um ihren aktuellen Fortschritt zu überwachen.


## OpenAPI

````yaml openapi/de/localpayment.json GET /api/transactions/{externalId}/status
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/transactions/{externalId}/status:
    get:
      summary: Transaktionsstatus abrufen
      operationId: get-transaction-status
      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). Sie
            können den Status einer Transaktion auch über ihre interne ID
            abrufen.
          required: true
          schema:
            type: string
            pattern: '[a-zA-Z0-9\- ]+'
            examples:
              - 53025bf4-4c87-4b4f-8fea-b47004440f37
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  internalId:
                    type: string
                    description: Localpayment-Transaktionskennung.
                  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.
                  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.
                required:
                  - internalId
                  - externalId
                x-examples:
                  Example 1:
                    internalId: c948f6de-3082-4e64-bd30-916799cc56ea
                    externalId: '123456'
                    status:
                      code: '200'
                      description: COMPLETED
                      detail: INTERNAL TRANSFER
              examples:
                200 - COMPLETED:
                  value:
                    internalId: c948f6de-3082-4e64-bd30-916799cc56ea
                    externalId: '123456'
                    status:
                      code: '200'
                      description: COMPLETED
                      detail: INTERNAL TRANSFER
                716 - REJECTED:
                  value:
                    internalId: 383a29f4-5ed2-4596-89d6-f383923a1433
                    externalId: tw-000001
                    status:
                      code: '716'
                      description: REJECTED
                      detail: TransactionNotSupported
        '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
        '404':
          description: Nicht gefunden
          content:
            application/json:
              schema:
                type: object
                properties:
                  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.
              examples:
                404 - Transaction not found:
                  value:
                    status:
                      code: '404'
                      description: ERROR
                      detail: Transaction not found
      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.