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

# Get ledger account

> Retrieve the details of a specific ledger account.



## OpenAPI

````yaml get /v1/ledger-account/{id}
openapi: 3.0.0
info:
  title: ibana public api
  description: Public API for ibana
  version: 1.0.0
  contact:
    name: ibana
    url: https://ibana.io
    email: dev@ibana.io
servers:
  - url: http://localhost:3001
security: []
tags: []
paths:
  /v1/ledger-account/{id}:
    get:
      tags:
        - Ledger Account
      summary: Get ledger account
      description: Retrieve the details of a specific ledger account.
      operationId: LedgerAccountController_getById_v1
      parameters:
        - name: id
          required: true
          in: path
          description: Ledger Account ID
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LedgerAccountResponseDto'
      security:
        - bearer: []
components:
  schemas:
    LedgerAccountResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the entity.
        createdAt:
          format: date-time
          type: string
          description: The date and time the entity was created.
        updatedAt:
          format: date-time
          type: string
          description: The date and time the entity was last updated.
        accountNumber:
          type: string
          description: Account number of the ledger account
        name:
          type: string
          description: Name of the ledger account
      required:
        - accountNumber
        - name
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````