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

# Get bank transaction

> Returns a specific bank transaction by ID



## OpenAPI

````yaml /openapi-public.json get /v1/bank-accounts/{bankAccountId}/bank-transactions/{bankTransactionId}
openapi: 3.0.1
info:
  title: Light API
  version: 1.0.0
servers: []
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /v1/bank-accounts/{bankAccountId}/bank-transactions/{bankTransactionId}:
    get:
      tags:
        - v1 - Bank Accounts
      summary: Get bank transaction
      description: Returns a specific bank transaction by ID
      operationId: getBankTransaction
      parameters:
        - name: bankAccountId
          in: path
          required: true
          schema:
            type: string
            format: uuid
        - name: bankTransactionId
          in: path
          required: true
          schema:
            type: string
            format: uuid
      responses:
        default:
          description: default response
          content:
            application/json;charset=UTF-8:
              schema:
                $ref: '#/components/schemas/ExternalBankTransactionV1Model'
components:
  schemas:
    ExternalBankTransactionV1Model:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the bank transaction
          format: uuid
        bankAccountId:
          type: string
          description: ID of the bank account this transaction belongs to
          format: uuid
        date:
          type: string
          description: Transaction date
          format: date
        amount:
          type: integer
          description: Transaction amount in minor units (e.g. cents)
          format: int64
        dcSign:
          type: string
          description: >-
            Debit/credit sign


            ⚠️ This enum is not exhaustive; new values may be added in the
            future.
          nullable: false
          deprecated: false
          enum:
            - D
            - C
        reconciliationStatus:
          type: string
          description: >-
            Reconciliation status


            ⚠️ This enum is not exhaustive; new values may be added in the
            future.
          nullable: false
          deprecated: false
          enum:
            - EXCLUDED
            - MATCHED
            - UNMATCHED
        name:
          type: string
          description: Transaction name / payee
          nullable: true
        memo:
          type: string
          description: Transaction memo / description
          nullable: true
        reference:
          type: string
          description: Transaction reference
          nullable: true
        transactionId:
          type: string
          description: External transaction identifier for idempotency
          nullable: true
        createdAt:
          type: string
          description: Timestamp when the transaction was created
          format: date-time
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      description: >-
        Basic authentication header of the form **Basic** **<api_key>**, where
        **<api_key>** is your api key.
      name: Authorization
      in: header
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````