curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/CalcularGridParcelas \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "valorSolicitado": 123,
  "valorTabela": 123,
  "comJuros": true,
  "nroDiasAcrescimo": 123,
  "tipoPessoa": 1
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "parcelas": [
    {
      "prazo": 123,
      "vlrParcela": 123,
      "vlrCliente": 123,
      "vlrLoja": 123,
      "percDesconto": 123,
      "dataPrimeiroPagamento": "2023-11-07T05:31:56Z"
    }
  ]
}

Through this endpoint, the partner simulates the values of the proposal before even finalizing it in the system. This method allows the override of some values originally captured from the initial store network configuration.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

Response

200
text/plain

OK

The response is of type object.