---
updatedAt: 2026-11-10T16:26:49.000Z
agentTools:
  projectIndex: https://docs.pagaleve.com.br/llms.txt
---

# Listar todas as transações do comerciante

Este endpoint lista as transações do comerciante.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "TransactionAccountDto": {
        "type": "object",
        "properties": {
          "transfer_id": {
            "type": "string",
            "format": "uuid",
            "description": "id da transferência"
          },
          "day_summary_id": {
            "type": "string",
            "format": "uuid",
            "description": "id do resumo diário"
          },
          "day_summary_date": {
            "type": "string",
            "format": "date-time",
            "description": "data do resumo diário"
          }
        }
      },
      "TransactionBusinessDto": {
        "type": "object",
        "required": [
          "name",
          "number"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "Example Store",
            "description": "nome do comerciante"
          },
          "number": {
            "type": "string",
            "example": 68417213000179,
            "description": "CNPJ do comerciante"
          }
        }
      },
      "TransactionCustomerDto": {
        "type": "object",
        "required": [
          "id",
          "email"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id do customer"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "email do customer"
          },
          "phone": {
            "type": "string",
            "example": "+5511986123531",
            "description": "telefone do customer"
          }
        }
      },
      "TransactionPaginationDto": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TransactionDto"
            }
          },
          "total_count": {
            "type": "integer",
            "example": 1
          }
        },
        "description": "Número total de registros encontrados"
      },
      "TransactionDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id da transação"
          },
          "type": {
            "type": "string",
            "enum": [
              "CREDIT",
              "DEBIT"
            ],
            "description": "informa se é operação é de crédito ou débito"
          },
          "event_timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "data e hora que ocorreu a transação"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "Data de criação da transação (>= 1 characters)"
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "description": "Data de atualização da transação (>= 1 characters)"
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "description": "data da transação"
          },
          "amount": {
            "type": "number",
            "example": 20000,
            "description": "total da transação"
          },
          "final_amount": {
            "type": "number",
            "example": 17950,
            "description": "valor final da transação"
          },
          "merchant": {
            "$ref": "#/components/schemas/TransactionMerchantDto"
          },
          "fees": {
            "$ref": "#/components/schemas/TransactionFeesDto"
          },
          "customer": {
            "$ref": "#/components/schemas/TransactionCustomerDto"
          },
          "order": {
            "$ref": "#/components/schemas/TransactionOrderDto"
          },
          "checkout": {
            "$ref": "#/components/schemas/TransactionCheckoutDto"
          },
          "payment": {
            "$ref": "#/components/schemas/TransactionPaymentDto"
          },
          "facility": {
            "$ref": "#/components/schemas/TransactionFacilityDto"
          },
          "account": {
            "$ref": "#/components/schemas/TransactionAccountDto"
          },
          "installment": {
            "$ref": "#/components/schemas/TransactionInstallmentDto"
          },
          "internal": {
            "$ref": "#/components/schemas/TransactionInternalDto"
          }
        }
      },
      "TransactionCheckoutDto": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id do checkout"
          }
        }
      },
      "TransactionFacilityDto": {
        "type": "object",
        "required": [
          "name"
        ],
        "properties": {
          "name": {
            "type": "string",
            "example": "PAGALEVE",
            "description": "nome da instituição financeira"
          },
          "payment": {
            "type": "string",
            "example": "PAGALEVE",
            "description": "nome da instituição financeira responsável pelo pagamento"
          }
        }
      },
      "TransactionFeesDto": {
        "type": "object",
        "required": [
          "transaction",
          "service"
        ],
        "properties": {
          "transaction": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": -50,
                "description": "Valor da taxa de transação aplicada à transação do comerciante"
              },
              "original_fee": {
                "type": "number",
                "example": -50,
                "description": "Valor original da taxa de transação sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado à taxa de transação"
              }
            }
          },
          "service": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": -2000,
                "description": "Valor da taxa de serviço aplicada à transação do comerciante"
              },
              "original_fee": {
                "type": "number",
                "example": -2000,
                "description": "Valor original da taxa de serviço sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado à taxa de serviço"
              }
            }
          },
          "not_invoiceable_service_fee": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": 0,
                "description": "taxa de serviço não faturável"
              },
              "original_fee": {
                "type": "number",
                "example": 0,
                "description": "Valor original da taxa de serviço não faturável sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado à taxa de serviço não faturável"
              }
            }
          },
          "commission": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": 0,
                "description": "Total de comissão pago pelo vendedor"
              },
              "original_fee": {
                "type": "number",
                "example": 0,
                "description": "Valor original da comissão sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado à comissão"
              }
            }
          },
          "anticipation": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": 0,
                "description": "valor da taxa de antecipação"
              },
              "original_fee": {
                "type": "number",
                "example": 0,
                "description": "Valor original da taxa de antecipação sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado à taxa de antecipação"
              }
            }
          },
          "total_not_invoiceable_fee": {
            "type": "object",
            "required": [
              "amount"
            ],
            "properties": {
              "amount": {
                "type": "number",
                "example": 0,
                "description": "total taxas de serviço não faturável"
              },
              "original_fee": {
                "type": "number",
                "example": 0,
                "description": "Valor original das taxas de serviço não faturável sem desconto"
              },
              "discount_percentage": {
                "type": "number",
                "example": 0.1,
                "description": "Percentual de desconto aplicado às taxas de serviço não faturável"
              }
            }
          }
        }
      },
      "TransactionHoldingCompanyDto": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id da holding"
          }
        }
      },
      "TransactionInstallmentDto": {
        "type": "object",
        "required": [
          "id",
          "number",
          "total_number"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id da parcela"
          },
          "number": {
            "type": "number",
            "example": 1,
            "description": "numero da parcela"
          },
          "total_number": {
            "type": "number",
            "example": 1,
            "description": "total de parcelas"
          },
          "anticipation_request_id": {
            "type": "string",
            "format": "uuid",
            "description": "id da solicitação de antecipação"
          }
        }
      },
      "TransactionInternalDto": {
        "type": "object",
        "required": [
          "is_internal",
          "description",
          "reason_code"
        ],
        "properties": {
          "is_internal": {
            "type": "boolean",
            "example": true,
            "description": "Indica se a transação foi criada internamente pela Pagaleve"
          },
          "description": {
            "type": "string",
            "example": "Saldo acumulado até o dia 22/12/2024",
            "description": "descrição da transação criada internamente"
          },
          "reason_code": {
            "type": "number",
            "example": 4,
            "description": "código da razão da transação criada internamente"
          },
          "anticipation_request_id": {
            "type": "string",
            "format": "uuid",
            "description": "id da solicitação de antecipação"
          }
        }
      },
      "TransactionMarketplaceDto": {
        "type": "object",
        "required": [
          "id"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id do marketplace"
          }
        }
      },
      "TransactionMerchantDto": {
        "type": "object",
        "required": [
          "id",
          "type",
          "status",
          "business"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "example": "57175f64-963f-4562-b3hc-2c963f66afa6",
            "description": "id do merchant"
          },
          "type": {
            "type": "string",
            "enum": [
              "MERCHANT",
              "MARKETPLACE"
            ],
            "description": "informa o tipo de merchant (merchant, marketplace, seller)"
          },
          "status": {
            "type": "string",
            "enum": [
              "ATIVO",
              "INATIVO",
              "BLOQUEADO"
            ],
            "description": "informa o status do merchant (ativo, inativo, pendente)"
          },
          "business": {
            "$ref": "#/components/schemas/TransactionBusinessDto"
          },
          "holding_company": {
            "$ref": "#/components/schemas/TransactionHoldingCompanyDto"
          },
          "marketplace": {
            "$ref": "#/components/schemas/TransactionMarketplaceDto"
          }
        }
      },
      "TransactionOrderDto": {
        "type": "object",
        "required": [
          "amount",
          "type",
          "reference",
          "platform"
        ],
        "properties": {
          "amount": {
            "type": "number",
            "example": 20000,
            "description": "Valor total do Pedido"
          },
          "type": {
            "type": "string",
            "enum": [
              "ORDINARY",
              "MARKETPLACE"
            ],
            "description": "informa se é um pedido do tipo marketplace ou não"
          },
          "purchase_date": {
            "type": "string",
            "format": "date-time",
            "description": "Data da efetivação do pedido"
          },
          "reference": {
            "type": "string",
            "example": "PL20250311081922",
            "description": "Referencia do Pedido"
          },
          "platform": {
            "type": "string",
            "example": "INTERNAL_INVITE",
            "description": "plataforma onde o pedido foi efetuado"
          }
        }
      },
      "TransactionPaymentDto": {
        "type": "object",
        "required": [
          "id",
          "flow",
          "expected_date"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "id do payment"
          },
          "type": {
            "type": "string",
            "enum": [
              "PAYMENT",
              "REFUND"
            ],
            "description": "Tipo de pagamento (à vista, declinado ou parcelado)"
          },
          "refund_reference": {
            "type": "string",
            "description": "referência do reembolso"
          },
          "flow": {
            "type": "string",
            "enum": [
              "D1",
              "ALL_D30",
              "MONTHLY",
              "FORTNIGHTLY",
              "DX"
            ],
            "description": "Fluxo de pagamento (D1, ALL_D30, MONTHLY, FORTNIGHTLY, DX), o tipo DX deve ser complementado com o campo days_to_pay"
          },
          "days_to_pay": {
            "type": "number",
            "description": "Dias para pagamento (DX)"
          },
          "limit_to_refund_service_fee": {
            "type": "string",
            "format": "date-time",
            "description": "data limite para reembolso da taxa de serviço"
          },
          "expected_date": {
            "type": "string",
            "format": "date-time",
            "description": "data esperada de crédito"
          },
          "credit_date": {
            "type": "string",
            "format": "date-time",
            "description": "data de crédito"
          }
        }
      }
    },
    "securitySchemes": {
      "bearerAuth": {
        "scheme": "bearer",
        "type": "http"
      }
    }
  },
  "info": {
    "contact": {},
    "description": "API pública",
    "title": "API Endpoints",
    "version": "1.0"
  },
  "openapi": "3.0.0",
  "paths": {
    "/v2/transactions": {
      "get": {
        "description": "Este endpoint lista as transações do comerciante.",
        "operationId": "TransactionController_listTransactions",
        "parameters": [
          {
            "description": "Token de autorização Bearer",
            "in": "header",
            "name": "Authorization",
            "required": true,
            "schema": {
              "type": "string",
              "example": "Bearer eyJhbGciOiJIUzI1NiJ9..."
            }
          },
          {
            "description": "Id da subsidiária que será utilizado para efetuar a operação",
            "in": "header",
            "name": "Subsidiary-Id",
            "schema": {
              "type": "string"
            },
            "example": "fb6fbad0-d171-4aaf-809e-4f55e003bb10"
          },
          {
            "description": "Número de página para iniciar (>=0)",
            "in": "query",
            "name": "page",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Número máximo de itens a serem retornados por página (limitado em 200)",
            "in": "query",
            "name": "size",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "description": "Data inicial no formato ISO (UTC-0)",
            "in": "query",
            "name": "start_date",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "description": "Data final no formato ISO (UTC-0)",
            "in": "query",
            "name": "end_date",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "description": "Campo para filtrar por data",
            "in": "query",
            "name": "date_filter_field",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "date",
                "expectedDate",
                "creditDate",
                "updatedAt"
              ]
            }
          },
          {
            "description": "Texto para filtrar a pesquisa",
            "in": "query",
            "name": "text_to_search",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "Campo para filtrar pedido pelo id",
            "in": "query",
            "name": "checkout_id",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "IDs das lojas para filtrar",
            "in": "query",
            "name": "stores",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "uuid"
              }
            }
          },
          {
            "description": "Filtro de fluxo de pagamento",
            "in": "query",
            "name": "payment_flow",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "D1",
                "D15",
                "D30"
              ]
            }
          },
          {
            "description": "Tipo de transação",
            "in": "query",
            "name": "type",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "CREDIT",
                "DEBIT"
              ]
            }
          },
          {
            "description": "Flag para listar todas as transações do comerciante.",
            "in": "query",
            "name": "list_all",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "description": "Flag para listar apenas as transações de pedidos",
            "in": "query",
            "name": "all_orders",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "security": [
          {
            "bearerAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "Lista de transações retornada com sucesso",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TransactionPaginationDto"
                }
              }
            }
          }
        },
        "summary": "Listar todas as transações do comerciante",
        "tags": [
          "Liquidações V2"
        ]
      }
    }
  },
  "servers": [
    {
      "description": "Staging server",
      "url": "https://sandbox-api.pagaleve.io"
    },
    {
      "description": "Production server",
      "url": "https://api.pagaleve.com.br"
    },
    {
      "url": "https://pre-analysis.pagaleve.com.br/api/v1",
      "description": "Pre-analysis production server"
    },
    {
      "url": "https://sandbox-pre-analysis.pagaleve.io/api/v1",
      "description": "Pre-analysis staging server"
    }
  ],
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  }
}
```