curl --request POST \
  --url https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --header 'IdempotencyKey: <idempotencykey>' \
  --data '{
  "dto": {
    "codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "codigoOperacao": "<string>",
    "numeroProposta": 123
  },
  "propostaRecusaDTO": {
    "motivoRejeicao": 123,
    "textoMotivoRecusa": "<string>"
  },
  "parametros": [
    {
      "nome": "<string>",
      "valor": "<string>"
    }
  ]
}'
{
  "msg": "<string>",
  "hasError": true,
  "messages": [
    {
      "messageType": 1,
      "code": "<string>",
      "context": "<string>",
      "description": "<string>",
      "field": "<string>"
    }
  ],
  "parametros": [
    {
      "nome": "<string>",
      "valor": "<string>"
    }
  ]
}

Through this endpoint, the partner rejects the proposal, provided the partner has permission to perform this action.

Authorizations

Authorization
string
header
required

Informe o token

Headers

IdempotencyKey
string
required

Body

dto
object
propostaRecusaDTO
object
parametros
object[] | null

Response

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