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

# Listar entradas

> Usa este endpoint para listar todas las entradas Pix de una cuenta con
filtros opcionales. Devuelve un arreglo vacío [] si ninguna entrada
coincide con los criterios.



## OpenAPI

````yaml es/openapi/v3-current/indirect-pix.yaml GET /v1/dict/entries
openapi: 3.0.3
info:
  title: Plugin BR Pix Indirect - API completa
  description: |
    API completa para el sistema de pagos instantáneos Pix de Brasil, que
    incluye operaciones del diccionario de claves Pix, generación/decodificación
    de códigos QR, transacciones y límites transaccionales.
  version: 1.0.0
servers:
  - url: https://plugin-pix-indirect.api.lerian.net
security:
  - bearerAuth: []
paths:
  /v1/dict/entries:
    get:
      tags:
        - DICT API
      summary: Listar entradas
      description: |-
        Usa este endpoint para listar todas las entradas Pix de una cuenta con
        filtros opcionales. Devuelve un arreglo vacío [] si ninguna entrada
        coincide con los criterios.
      parameters:
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/Limit'
        - name: key_type
          in: query
          description: 'Filtrar por tipo de clave: CPF, CNPJ, EMAIL, PHONE, EVP.'
          required: false
          example: EMAIL
          schema:
            type: string
            enum:
              - CPF
              - CNPJ
              - EMAIL
              - PHONE
              - EVP
        - name: key_value
          in: query
          description: >-
            Filtrar por valor de la clave (por ejemplo, dirección de correo
            electrónico o número de teléfono).
          required: false
          example: john.doe@example.com
          schema:
            type: string
        - name: entry_id
          in: query
          description: Filtrar por ID de entrada (formato UUID).
          required: false
          example: 019c96a0-0c0c-7221-8cf3-13313fb60081
          schema:
            type: string
        - $ref: '#/components/parameters/SortOrder'
        - $ref: '#/components/parameters/XAccountId'
      responses:
        '200':
          description: Lista de entradas Pix recuperada correctamente.
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/EntryObject'
                  page:
                    type: integer
                    description: Número de página actual.
                    example: 1
                  limit:
                    type: integer
                    description: Cantidad de elementos por página.
                    example: 10
                required:
                  - items
                  - page
                  - limit
        '400':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0001:
                  $ref: '#/components/examples/ErrorPIX0001'
                ErrorPIX0002:
                  $ref: '#/components/examples/ErrorPIX0002'
                ErrorPIX0009:
                  $ref: '#/components/examples/ErrorPIX0009'
                ErrorPIX0010:
                  $ref: '#/components/examples/ErrorPIX0010'
                ErrorPIX0013:
                  $ref: '#/components/examples/ErrorPIX0013'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorFormat'
              examples:
                ErrorPIX0000:
                  $ref: '#/components/examples/ErrorPIX0000'
      deprecated: false
      security:
        - bearerAuth: []
components:
  parameters:
    Page:
      name: page
      in: query
      description: Número de página para la paginación.
      required: false
      example: 1
      schema:
        type: integer
        minimum: 1
        default: 1
    Limit:
      name: limit
      in: query
      description: Número máximo de elementos por página.
      required: false
      example: 10
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 10
    SortOrder:
      name: sort_order
      in: query
      description: 'Dirección de ordenamiento: asc o desc.'
      required: false
      example: asc
      schema:
        type: string
        enum:
          - asc
          - desc
        default: asc
    XAccountId:
      name: X-Account-Id
      in: header
      description: Identificador único de la cuenta del Ledger de Midaz (formato UUID).
      required: true
      example: 019c96a0-0a98-7287-9a31-786e0809c769
      schema:
        type: string
  schemas:
    EntryObject:
      type: object
      properties:
        id:
          type: string
          description: Identificador único del registro (formato UUID).
          example: 019c96a0-0c0c-7221-8cf3-13313fb60081
        key:
          type: string
          description: Valor de la clave Pix.
          example: john.doe@example.com
        keyType:
          type: string
          description: Tipo de clave Pix.
          example: EMAIL
        status:
          type: string
          description: Estado del registro (ACTIVE, INACTIVE).
          example: ACTIVE
        account:
          $ref: '#/components/schemas/AccountDetails'
        owner:
          $ref: '#/components/schemas/OwnerDetails'
        createdAt:
          type: string
          format: date-time
          description: Marca de tiempo de creación.
          example: '2024-01-15T10:30:00Z'
        updatedAt:
          type: string
          format: date-time
          description: Marca de tiempo de la última actualización.
          example: '2024-01-15T10:30:00Z'
    ErrorFormat:
      type: object
      description: El mensaje de error de la respuesta.
      required:
        - code
        - title
        - message
      properties:
        code:
          type: string
          description: Un identificador único y estable para el error.
        title:
          type: string
          description: Un breve resumen del problema.
        message:
          type: string
          description: Orientación detallada para resolver el error.
    AccountDetails:
      type: object
      properties:
        branch:
          type: string
          description: Código de la agencia bancaria.
          example: '0001'
        number:
          type: string
          description: Número de cuenta.
          example: '123456789'
        participant:
          type: string
          description: ISPB de la institución participante.
          example: '12345678'
        type:
          type: string
          description: Tipo de cuenta.
          example: TRAN
    OwnerDetails:
      type: object
      properties:
        name:
          type: string
          description: Nombre del titular.
          example: John Doe
        taxIdNumber:
          type: string
          description: CPF o CNPJ.
          example: '12345678901'
        type:
          type: string
          enum:
            - NATURAL_PERSON
            - LEGAL_PERSON
          description: Tipo de titular.
          example: NATURAL_PERSON
  examples:
    ErrorPIX0001:
      summary: Missing Headers in Request
      value:
        code: PIX-0001
        title: Missing Headers in Request
        message: >-
          Your request is missing one or more required header params. Please
          refer to the documentation to ensure all necessary header params are
          included in your request.
    ErrorPIX0002:
      summary: Invalid Header Value
      value:
        code: PIX-0002
        title: Invalid Header Value
        message: >-
          One or more header values are invalid. Please refer to the
          documentation to verify the expected format and allowed values for
          each header.
    ErrorPIX0009:
      summary: Missing Query Params in Request
      value:
        code: PIX-0009
        title: Missing Query Params in Request
        message: >-
          Your request is missing one or more required query params. Please
          refer to the documentation to ensure all necessary query params are
          included in your request.
    ErrorPIX0010:
      summary: Invalid Query Param in Request
      value:
        code: PIX-0010
        title: Invalid Query Param in Request
        message: >-
          One or more query params are invalid. Please refer to the
          documentation to verify the expected format and allowed values for
          each query param.
    ErrorPIX0013:
      summary: Limit Exceeded
      value:
        code: PIX-0013
        title: Limit Exceeded
        message: The request exceeded the allowed limit.
    ErrorPIX0000:
      summary: Internal Server Error
      value:
        code: PIX-0000
        title: Internal Server Error
        message: The server encountered an unexpected error. Please try again later.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````