Skip to main content
cURL
curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/Calcular \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '
{
  "dto": {
    "propostaModelo": 123,
    "dadosCalculo": "<unknown>"
  }
}
'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ]
}
Through this endpoint, the partner specifies the model to be used for calculating/including the proposal via the PropostaModelo attribute and provides the values for calculation through a dynamic object called DadosCalculo.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

dto
object

Response

OK