/lotecobv

Query Parameters
  • inicio
    Type: string Format: date-time
    required

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • fim
    Type: string Format: date-time
    required

    the date-time notation as defined by RFC 3339, section 5.6, for example, 2017-07-21T17:32:28Z

  • pagination
    Type: object ·
    required

    Pagination and sorting parameters

    • page
      Type: integer Format: int32

      Page number (zero-based)

    • size
      Type: integer Format: int32
      max:  
      500

      Number of items per page (max: 500)

    • sort
      Type: array string[]

      Sort criteria in the format 'field,direction' (e.g., 'createdAt,desc')

Headers
  • Idempotency-Key
    Type: string
    required
Responses
  • application/json
Request Example for get/lotecobv
curl 'http://localhost/lotecobv?inicio=&fim=&page=0&size=50&sort=' \
  --header 'Idempotency-Key: ' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{
  "parametros": {
    "inicio": "2026-07-31T12:59:10.303Z",
    "fim": "2026-07-31T12:59:10.303Z",
    "paginacao": {
      "paginaAtual": 1,
      "itensPorPagina": 1,
      "quantidadeDePaginas": 1,
      "quantidadeTotalDeItens": 1
    }
  },
  "lotes": [
    {
      "id": "string",
      "descricao": "string",
      "criacao": "2026-07-31T12:59:10.303Z",
      "cobsv": [
        {
          "criacao": "2026-07-31T12:59:10.303Z",
          "txid": "string",
          "status": "EM_PROCESSAMENTO",
          "problema": {
            "type": "https://pix.bcb.gov.br/api/v2/error/CobVOperacaoInvalida",
            "title": "Cobrança inválida.",
            "status": 400,
            "detail": "string",
            "violacoes": [
              {
                "razao": "string",
                "propriedade": "string"
              }
            ]
          }
        }
      ]
    }
  ]
}