API Docs Início Documentação Referência de API Copiar para LLM
GET/api/v1/Installment/{installmentId}
Cobrança · Parcelamentos

Método de visualização de um parcelamento específico

Consulta api pelo identificador informado na rota.

Visão geral

Método de visualização de um parcelamento específico.

Autenticação e pré-requisitos

Requer autenticação. Envie o token no header Authorization: Bearer {{token}} (JWT do AWS Cognito). Integrações servidor-a-servidor podem usar X-Api-Key. Todo tráfego é HTTPS e a credencial nunca vai na URL nem em query string.

Pré-requisitos: a rota exige identificador(es) de recurso já existente(s):

Request

Parâmetros

NomeEmTipoObrigatórioDescriçãoExemplo
installmentIdpathstringobrigatório3fa85f64-5717-4562-b3fc-2c963f66afa6

Corpo da requisição

Este endpoint não recebe corpo.

Response

Resposta 200.

Campos

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
walletCodeinteger (int64)opcional0
billingCreateTypeValuestringopcional"texto"
billingCreateTypeDisplaystringopcional"texto"
descriptionstringopcional"texto"
operationsarray de stringopcional[ … ]
admissionDatesarray de string (date-time)opcional[ … ]
billingSettingIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
billingSettingDisplaystringopcional"texto"
communicationSettingIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
communicationSettingDisplaystringopcional"texto"
referenceobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
tagsarray de stringopcional[ … ]
billingsarray de objetoopcionalobjeto — ver detalhe abaixo[ … ]
payerobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
guarantorobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
billingCountintegeropcional0
firstInstructionDebtCollectionstringopcional"texto"
secondInstructionDebtCollectionintegeropcional0
statusValuestringopcional"texto"
statusDisplaystringopcional"texto"
registeredbooleanopcionaltrue
bankCodestringopcional"texto"
walletNumberintegeropcional0
latePaymentInterestAmountPerDayintegeropcional0
creditTypeValuestringopcional"texto"
creditTypeDisplaystringopcional"texto"
createdAtstring (date-time)opcional"2025-08-11T13:45:00Z"
aprnumber (double)opcional1.99
warrantyRegistrationOfficeobjetoopcionalvaria conforme o tipo — ver exemplo"None"
warrantyRegistrationOfficeDisplaystringopcional"texto"
calculationCriteriaobjetoopcionalvaria conforme o tipo — ver exemplo"V252DiasUteis"
calculationCriteriaDisplaystringopcional"texto"
interestTypeValuestringopcional"texto"
interestTypeValueDisplaystringopcional"texto"
interestAmountnumber (decimal)opcional1000
fineTypeValuestringopcional"texto"
fineTypeValueDisplaystringopcional"texto"
fineAmountnumber (decimal)opcional1000
predecessorInstallmentIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
successorInstallmentIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"

Detalhe de billings

CampoTipoObrigatórioDescriçãoValoresExemplo
idstringopcional"texto"
externalIdstringopcional"3fa85f64-5717-4562-b3fc-2c963f66afa6"
billingStatusobjetoopcionalvaria conforme o tipo — ver exemplo{ … }
isAnticipatedBillingbooleanopcionaltrue

Exemplo de resposta

{
  "id": "texto",
  "walletCode": 0,
  "billingCreateTypeValue": "texto",
  "billingCreateTypeDisplay": "texto",
  "description": "texto",
  "operations": [
    "texto"
  ],
  "admissionDates": [
    "2025-08-11T13:45:00Z"
  ],
  "billingSettingId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "billingSettingDisplay": "texto",
  "communicationSettingId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "communicationSettingDisplay": "texto",
  "reference": {
    "resource": "CreditNote",
    "id": "texto"
  },
  "tags": [
    "texto"
  ],
  "billings": [
    {
      "id": "texto",
      "externalId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "billingStatus": {
        "type": {},
        "message": "texto"
      },
      "isAnticipatedBilling": true
    }
  ],
  "payer": {
    "name": "Fulano de Tal",
    "personTypeValue": "texto",
    "personTypeValueDisplay": "texto",
    "registrationNumber": "12345678909",
    "zipCode": "01310930",
    "addressName": "Fulano de Tal",
    "addressNumber": "texto",
    "addressComplement": "texto",
    "email": "cliente@exemplo.com.br"
  },
  "guarantor": {
    "name": "Fulano de Tal",
    "registrationNumber": "12345678909"
  },
  "billingCount": 0,
  "firstInstructionDebtCollection": "texto",
  "secondInstructionDebtCollection": 0,
  "statusValue": "texto",
  "statusDisplay": "texto",
  "registered": true,
  "bankCode": "texto",
  "walletNumber": 0,
  "latePaymentInterestAmountPerDay": 0,
  "creditTypeValue": "texto",
  "creditTypeDisplay": "texto",
  "createdAt": "2025-08-11T13:45:00Z",
  "apr": 1.99,
  "warrantyRegistrationOffice": "None",
  "warrantyRegistrationOfficeDisplay": "texto",
  "calculationCriteria": "V252DiasUteis",
  "calculationCriteriaDisplay": "texto",
  "interestTypeValue": "texto",
  "interestTypeValueDisplay": "texto",
  "interestAmount": 1000,
  "fineTypeValue": "texto",
  "fineTypeValueDisplay": "texto",
  "fineAmount": 1000,
  "predecessorInstallmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
  "successorInstallmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}

Códigos de retorno

CódigoSignificadoDetalhe do contrato
200Requisição bem-sucedida.
401Não autenticado — token ausente, inválido ou expirado.

Exemplos

curl -X GET "{{baseUrl}}/api/v1/Installment/3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Authorization: Bearer {{token}}"
var baseUrl = "{{baseUrl}}";
var token   = "{{token}}";

using var http = new HttpClient { BaseAddress = new Uri(baseUrl) };
http.DefaultRequestHeaders.Authorization =
    new AuthenticationHeaderValue("Bearer", token);

var rota = "/api/v1/Installment/3fa85f64-5717-4562-b3fc-2c963f66afa6";

var resp = await http.GetAsync(rota);
resp.EnsureSuccessStatusCode();
var json = await resp.Content.ReadAsStringAsync();
const baseUrl = '{{baseUrl}}';
const token   = '{{token}}';

const resp = await fetch(`${baseUrl}/api/v1/Installment/3fa85f64-5717-4562-b3fc-2c963f66afa6`, {
  method: 'GET',
  headers: {
    'Authorization': `Bearer ${token}`,
  },
});

if (!resp.ok) throw new Error(`HTTP ${resp.status}`);
const data = await resp.json();

Troque apenas {{baseUrl}} e {{token}}. No Postman, defina-os como variáveis de environment; o cURL importa em Import > Raw text.

Downloads

Este endpoint já vem configurado nas collections abaixo, na pasta da etapa correspondente.

Guia de importação: Como importar no Postman · Todos os downloads: Downloads