{
  "info": {
    "_postman_id": "2bfaa840-976b-4701-8d76-0288f1ddb554",
    "name": "Totum Cobrança — API v1",
    "description": "API v1 (Bearer Token). Válida até 31/07/2026. Migre para a v2.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://app4.sistematotum.com.br/Homologacao/cobranca/Api",
      "type": "string"
    },
    {
      "key": "token",
      "value": "L_Vv3PRWzGaISsNVKrYYZXHokz7w3HIAZn7D5jQbHdE=",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Geral",
      "item": [
        {
          "name": "Status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/Status",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "Status"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Consulta Acessos",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaAcessos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaAcessos"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Consultas",
      "item": [
        {
          "name": "Consulta Débitos — por CPF",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaDebitos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaDebitos"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"CPFouCNPJ\": \"12312312387\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Consulta Débitos — por IdContrato",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaDebitos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaDebitos"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdContrato\": 3\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Consulta Condições do Acordo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaCondicoesAcordo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaCondicoesAcordo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdOferta\": \"e9799edb-0003-0003-9edb-c6a19e9799ed\",\n  \"ValorEntrada\": \"1.000,00\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Consulta Cliente por Telefone",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaClienteTelefone",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaClienteTelefone"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"DDDTelefone\": \"21972923945\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Consulta Termo de Acordo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaTermoAcordo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaTermoAcordo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdContrato\": 6,\n  \"IdAcordo\": 41\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Detalhe Títulos",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/DetalheTitulos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "DetalheTitulos"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdContrato\": \"6\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Status do Acordo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/StatusAcordo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "StatusAcordo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdAcordo\": 41\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Listar",
      "item": [
        {
          "name": "Listar Carteiras",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarCarteiras",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarCarteiras"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Listar Filas",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarFilas",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarFilas"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Listar Clientes Fila",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarClientesFila",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarClientesFila"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdFila\": 1,\n  \"Acordos\": false,\n  \"Agendados\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Listar Documentos",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarDocumentos",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarDocumentos"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Listar Ocorrências",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarOcorrencias",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarOcorrencias"
              ]
            }
          },
          "response": []
        },
        {
          "name": "Listar Regras",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ListarRegras",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ListarRegras"
              ]
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Negociação",
      "item": [
        {
          "name": "Cadastro do Acordo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/CadastroAcordo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "CadastroAcordo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdOferta\": \"e9799edb-0003-0003-9edb-c6a19e9799ed\",\n  \"IdNegociacao\": 1,\n  \"DataEntrada\": \"2026-07-01\",\n  \"FormaPagamento\": \"PIX\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Consulta Parcela",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/ConsultaParcela",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ConsultaParcela"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdAcordo\": \"40\",\n  \"Parcela\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Cancelar Acordo",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/CancelarAcordo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "CancelarAcordo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdAcordo\": 41\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    },
    {
      "name": "Processos",
      "item": [
        {
          "name": "Incluir Cliente",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/IncluirCliente",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "IncluirCliente"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Cliente\": {\n    \"CPFouCNPJ\": \"12312312387\",\n    \"Nome\": \"JOSELITO DA SILVA E SOUZA\",\n    \"DataNascimento\": \"1975-05-02\",\n    \"Sexo\": \"M\"\n  },\n  \"ListaTelefones\": {\n    \"Telefones\": [\n      {\n        \"DDDTelefone\": \"21972923945\",\n        \"Tipo\": \"WhatsApp\",\n        \"Preferecial\": true\n      }\n    ]\n  },\n  \"Contrato\": {\n    \"IdCarteira\": 1,\n    \"Numero\": \"FAT-2024-0001\",\n    \"DataContrato\": \"2024-01-04\"\n  },\n  \"ListaTitulos\": {\n    \"Titulos\": [\n      {\n        \"Parcela\": \"01/03\",\n        \"Documento\": \"Fatura\",\n        \"Numero\": \"FAT-00012024\",\n        \"Emissao\": \"2024-01-01\",\n        \"Vencimento\": \"2024-01-05\",\n        \"Valor\": 100.5\n      }\n    ]\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Incluir Ocorrência",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/IncluirOcorrencia",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "IncluirOcorrencia"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdContrato\": \"4822\",\n  \"IdOcorrencia\": \"0011\",\n  \"DataHora\": \"2025-08-14 14:00:00\",\n  \"DDDTelefone\": \"21972923945\",\n  \"Observacao\": \"Cliente solicitou retorno em 2 dias\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Atualizar E-mail",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/AtualizaEmail",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "AtualizaEmail"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"CPFouCNPJ\": \"12312312387\",\n  \"Email\": \"joselito@exemplo.com.br\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Atualizar Telefone",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/AtualizaTelefone",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "AtualizaTelefone"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"CPFouCNPJ\": \"12312312387\",\n  \"DDDTelefone\": \"21972923945\",\n  \"Tipo\": \"WhatsApp\",\n  \"Observacao\": \"Entre 08:00 e 18:00\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Baixa Contrato",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/BaixaContrato",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "BaixaContrato"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdContrato\": \"6224\",\n  \"IdMotivo\": \"2\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        },
        {
          "name": "Baixa Título",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Authorization",
                "value": "Bearer {{token}}",
                "type": "text"
              },
              {
                "key": "Content-Type",
                "value": "application/json",
                "type": "text"
              }
            ],
            "url": {
              "raw": "{{base_url}}/BaixaTitulo",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "BaixaTitulo"
              ]
            },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"IdTitulo\": 12805,\n  \"IdMotivo\": 2\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          },
          "response": []
        }
      ]
    }
  ]
}