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

# Listar pagamentos parciais de uma transação

> Lista os pagamentos registrados do lançamento, do mais recente ao mais antigo, com o total pago e o restante. Lançamento com baixa parcial antiga, sem pagamentos registrados: `paidValue` e `remainingValue` contam a baixa parcial antiga, que só aparece em `data` depois do primeiro pagamento registrado. Aceita JWT ou o header `x-juridiq-api-key`.



## OpenAPI

````yaml https://api.juridiq.com.br/api-docs/client/openapi.json get /financial/transactions/{id}/payments
openapi: 3.1.0
info:
  title: Juridiq API — Documentação para Integradores
  description: >-
    API REST para integradores autenticados com chave (`x-juridiq-api-key`).


    ## Rate limit


    A API aberta limita **120 requisições a cada 60s por chave**.

    Ao exceder, a resposta é `429 Too Many Requests` com os headers
    `x-ratelimit-limit`, `x-ratelimit-remaining`, `x-ratelimit-reset` e
    `retry-after`.

    Respeite o `retry-after` antes de tentar de novo. Sincronizações em lote
    devem paginar e tratar 429 com backoff.
  version: 1.0.0
servers:
  - url: https://api.juridiq.com.br
    description: Production server
security:
  - apiKeyAuth: []
tags: []
paths:
  /financial/transactions/{id}/payments:
    get:
      tags:
        - Financial
      summary: Listar pagamentos parciais de uma transação
      description: >-
        Lista os pagamentos registrados do lançamento, do mais recente ao mais
        antigo, com o total pago e o restante. Lançamento com baixa parcial
        antiga, sem pagamentos registrados: `paidValue` e `remainingValue`
        contam a baixa parcial antiga, que só aparece em `data` depois do
        primeiro pagamento registrado. Aceita JWT ou o header
        `x-juridiq-api-key`.
      parameters:
        - schema:
            type: string
          in: path
          name: id
          required: true
          description: ID da transação
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                          description: ID do pagamento
                        transactionId:
                          type: string
                          format: uuid
                          description: ID da transação
                        officeId:
                          type: string
                          format: uuid
                          description: ID do escritório
                        value:
                          type: number
                          description: Valor pago
                        paymentDate:
                          anyOf:
                            - type: string
                            - type: string
                              format: date-time
                          description: Data do pagamento
                        paymentMethod:
                          type: string
                          description: Forma de pagamento
                        observation:
                          type: string
                          nullable: true
                          description: Observação
                        createdAt:
                          anyOf:
                            - type: string
                            - type: string
                              format: date-time
                          description: Criado em
                        updatedAt:
                          anyOf:
                            - type: string
                            - type: string
                              format: date-time
                          description: Atualizado em
                      required:
                        - id
                        - transactionId
                        - officeId
                        - value
                        - paymentDate
                        - paymentMethod
                        - createdAt
                        - updatedAt
                      additionalProperties: false
                    description: Pagamentos parciais
                  paidValue:
                    type: number
                    description: Valor total recebido
                  remainingValue:
                    type: number
                    description: Valor faltante
                  transactionValue:
                    type: number
                    description: Valor total do lançamento
                required:
                  - data
                  - paidValue
                  - remainingValue
                  - transactionValue
                additionalProperties: false
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  issues: {}
                required:
                  - message
                additionalProperties: false
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                  statusCode:
                    type: number
                  translateMessage:
                    type: string
                required:
                  - message
                  - statusCode
                  - translateMessage
                additionalProperties: false
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-juridiq-api-key
      description: >-
        Chave de API do escritório (criada no painel). Envie o valor no header
        x-juridiq-api-key. A API aberta aplica rate limit por chave (veja a
        documentação de integradores).

````

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