4.1 - Sending Data For Simulation Of Plots
POST - /v2/ccb/simulation
Plot forecast simulation
CURL Request Example
curl --request POST \
--url https://demo-api.easycredito.com.br/api/external/v2/ccb/simulation \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"type": "CAAS",
"releaseDate": "2022-10-30",
"dueDate": "2022-11-30",
"installments": 10,
"monthly_tax": 7.9,
"cadValue": 150.2,
"value": 28500.5
}
'
Response Example
{
"xmlns:d5p1": "http://schemas.datacontract.org/2004/07/Facil.Credito.WsContracts.Emprestimo",
"Conta": "100000027",
"ValorBruto": "516.33",
"ValorDoSeguro": "0",
"ValorDaCAD": "10",
"ValorDoIOF": "6.33",
"ValorLiquido": "500",
"TaxaDeJuros": "1.3",
"CET": "2.6",
"CET_ANUAL": "36.07",
"DataDeLiberacao": "2021-11-03T00:00:00",
"DataDeVencimentoInicial": "2021-12-03T00:00:00",
"DataDeVencimentoFinal": "2022-03-03T00:00:00",
"NumeroDeParcelas": "4",
"Parcelas": {
"PrevisaoDeParcela": [
{
"NumeroDaParcela": "1",
"DataDeVencimento": "2021-12-03T00:00:00",
"ValorDaAmortizacao": "126.59",
"ValorDaCorrecao": "0",
"ValorDoJuros": "6.71",
"ValorDoSeguro": "0",
"ValorTaxaBancaria": "0",
"ValorDaPrestacao": "133.3",
"ValorDoSaldoAnterior": "516.33",
"ValorDoJurosCapitalizados": "0",
"ValorDoSaldoAtual": "389.74"
},
{
"NumeroDaParcela": "2",
"DataDeVencimento": "2022-01-03T00:00:00",
"ValorDaAmortizacao": "128.23",
"ValorDaCorrecao": "0",
"ValorDoJuros": "5.07",
"ValorDoSeguro": "0",
"ValorTaxaBancaria": "0",
"ValorDaPrestacao": "133.3",
"ValorDoSaldoAnterior": "389.74",
"ValorDoJurosCapitalizados": "0",
"ValorDoSaldoAtual": "261.51"
},
{
"NumeroDaParcela": "3",
"DataDeVencimento": "2022-02-03T00:00:00",
"ValorDaAmortizacao": "129.9",
"ValorDaCorrecao": "0",
"ValorDoJuros": "3.4",
"ValorDoSeguro": "0",
"ValorTaxaBancaria": "0",
"ValorDaPrestacao": "133.3",
"ValorDoSaldoAnterior": "261.51",
"ValorDoJurosCapitalizados": "0",
"ValorDoSaldoAtual": "131.61"
},
{
"NumeroDaParcela": "4",
"DataDeVencimento": "2022-03-03T00:00:00",
"ValorDaAmortizacao": "131.61",
"ValorDaCorrecao": "0",
"ValorDoJuros": "1.69",
"ValorDoSeguro": "0",
"ValorTaxaBancaria": "0",
"ValorDaPrestacao": "133.3",
"ValorDoSaldoAnterior": "131.61",
"ValorDoJurosCapitalizados": "0",
"ValorDoSaldoAtual": "0"
}
]
},
"TotalDeAmortizacao": "516.33",
"TotalDaTaxaDeServico": "0",
"TotalDoSeguro": "0",
"TotalDaTaxaDeCorrecao": "0",
"TotalDeJuros": "16.87",
"TotalDoValorDasParcelas": "533.2",
"DetalhamentoDaCET": {
"PorcentagemDeJuros": "1.29",
"PorcentagemDeImpostos": "0.51",
"PorcentagemDeTarifas": "0.80",
"PorcentagemDeServicos": "0.0"
}
}
Updated 2 months ago