curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/CalcularGridParcelasSimplificado \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dto": {
    "vlrSolicitado": 123,
    "nroDiasAcrescimo": 123,
    "formatoCalculo": 123,
    "percJurosNegociado": 123,
    "tipoPessoa": 1,
    "vlrOutrasDespesas": 123,
    "vlrOutrosServicos": 123,
    "vlrSeguro": 123,
    "vlrProdutoBem": 123,
    "vlrEntrada": 123,
    "vlrEntradaTradeIn": 123,
    "vlrEntradaParcelada": 123,
    "vlrDespesasAF": 123,
    "vlrIOF": 123,
    "vlrTAC": 123,
    "vlrAvaliacao": 123,
    "tipoContratoTela": "<string>",
    "vlrBlindagem": 123,
    "vlrAcessorios": 123,
    "vlrVistoria": 123,
    "vlrCertiDocs": 123
  },
  "parametros": [
    {
      "nome": "<string>",
      "valor": "<string>"
    }
  ]
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "parcelas": [
    {
      "valorSolicitado": 123,
      "prazo": 123,
      "vlrParcela": 123,
      "vlrTAC": 123,
      "vlrBoleto": 123,
      "vlrSeguro": 123,
      "vlrIOF": 123,
      "percIOF": 123,
      "vlrTotalCredito": 123,
      "vlrTotalDivida": 123,
      "percCETMensal": 123,
      "percCETAnual": 123,
      "percJurosMensal": 123,
      "percJurosAnual": 123,
      "vlrRetencaoDiarioAprox": 123
    }
  ]
}

Through this endpoint, the partner can simulate the proposal values before it is generated in the system, providing the exact possibilities for each term. It allows for the overriding of some values that are originally parameterized in the system.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

dto
object
parametros
object[] | null

Response

200
text/plain
OK
msg
string | null
hasError
boolean
messages
object[] | null
parcelas
object[] | null