curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/CalcularValoresProposta \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dto": {
    "vlrSolicitado": 123,
    "prazo": 123,
    "nroDiasAcrescimo": 123,
    "formatoCalculo": 1,
    "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,
    "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>"
    }
  ],
  "vlrParcela": 123,
  "vlrTAC": 123,
  "vlrBoleto": 123,
  "vlrSeguro": 123,
  "vlrIOF": 123,
  "vlrTotalCredito": 123,
  "vlrTotalDivida": 123,
  "percCETMensal": 123,
  "percCETAnual": 123,
  "percJurosMensal": 123,
  "percJurosAnual": 123
}

Through this endpoint, the partner simulates the values of the proposal before finalizing it 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
vlrParcela
number
vlrTAC
number
vlrBoleto
number
vlrSeguro
number
vlrIOF
number
vlrTotalCredito
number
vlrTotalDivida
number
percCETMensal
number
percCETAnual
number
percJurosMensal
number
percJurosAnual
number