cURL
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>"
}
]
}
'import requests
url = "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar"
payload = {
"dto": {
"codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoOperacao": "<string>",
"numeroProposta": 123
},
"propostaRecusaDTO": {
"motivoRejeicao": 123,
"textoMotivoRecusa": "<string>"
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}
headers = {
"IdempotencyKey": "<idempotencykey>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
IdempotencyKey: '<idempotencykey>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
dto: {
codigoProposta: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
codigoOperacao: '<string>',
numeroProposta: 123
},
propostaRecusaDTO: {motivoRejeicao: 123, textoMotivoRecusa: '<string>'},
parametros: [{nome: '<string>', valor: '<string>'}]
})
};
fetch('https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dto' => [
'codigoProposta' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'codigoOperacao' => '<string>',
'numeroProposta' => 123
],
'propostaRecusaDTO' => [
'motivoRejeicao' => 123,
'textoMotivoRecusa' => '<string>'
],
'parametros' => [
[
'nome' => '<string>',
'valor' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"IdempotencyKey: <idempotencykey>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar"
payload := strings.NewReader("{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IdempotencyKey", "<idempotencykey>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar")
.header("IdempotencyKey", "<idempotencykey>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IdempotencyKey"] = '<idempotencykey>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"msg": "<string>",
"hasError": true,
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}{
"msg": "<string>",
"hasError": true,
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
]
}Hiring
27 - Reject
cURL
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>"
}
]
}
'import requests
url = "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar"
payload = {
"dto": {
"codigoProposta": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"codigoOperacao": "<string>",
"numeroProposta": 123
},
"propostaRecusaDTO": {
"motivoRejeicao": 123,
"textoMotivoRecusa": "<string>"
},
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}
headers = {
"IdempotencyKey": "<idempotencykey>",
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
IdempotencyKey: '<idempotencykey>',
Authorization: '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
dto: {
codigoProposta: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
codigoOperacao: '<string>',
numeroProposta: 123
},
propostaRecusaDTO: {motivoRejeicao: 123, textoMotivoRecusa: '<string>'},
parametros: [{nome: '<string>', valor: '<string>'}]
})
};
fetch('https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dto' => [
'codigoProposta' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'codigoOperacao' => '<string>',
'numeroProposta' => 123
],
'propostaRecusaDTO' => [
'motivoRejeicao' => 123,
'textoMotivoRecusa' => '<string>'
],
'parametros' => [
[
'nome' => '<string>',
'valor' => '<string>'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json",
"IdempotencyKey: <idempotencykey>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar"
payload := strings.NewReader("{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("IdempotencyKey", "<idempotencykey>")
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar")
.header("IdempotencyKey", "<idempotencykey>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bmpdigital.moneyp.dev.br/Proposta/Recusar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["IdempotencyKey"] = '<idempotencykey>'
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dto\": {\n \"codigoProposta\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"codigoOperacao\": \"<string>\",\n \"numeroProposta\": 123\n },\n \"propostaRecusaDTO\": {\n \"motivoRejeicao\": 123,\n \"textoMotivoRecusa\": \"<string>\"\n },\n \"parametros\": [\n {\n \"nome\": \"<string>\",\n \"valor\": \"<string>\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"msg": "<string>",
"hasError": true,
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"parametros": [
{
"nome": "<string>",
"valor": "<string>"
}
]
}{
"msg": "<string>",
"hasError": true,
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
]
}Through this endpoint, the partner rejects the proposal, provided the partner has permission to perform this action.
Show Mensageria - Proposal Reject
Show Mensageria - Proposal Reject
| Category | Operation | Action | Code | Detailed Code | Message |
|---|---|---|---|---|---|
| Proposta | PropostaRecusar | Recusar | C0056 | V0001 | Este parceiro não tem permissão para recusar a proposta |
| Proposta | PropostaRecusar | Recusar | C0056 | V0002 | Esta proposta já está recusada |
| Proposta | PropostaRecusar | Recusar | C0056 | V0003 | A situação {descricaoSituacao} não permite marcar como Recusada a Proposta |
| Proposta | PropostaRecusar | Recusar | C0056 | V0004 | Proposta não pode ser recusada, pois sua situação é {SituacaoPropostaEnum.GetDescricao(proposta.Situacao)} |
| Proposta | PropostaRecusar | Recusar | C0112 | V0001 | Proposta não encontrada |
| Proposta | PropostaRecusar | Recusar | C0112 | V0002 | A Proposta não pertence à esta Integração |
| Proposta | PropostaRecusar | Recusar | C0185 | V0001 | Informe o valor aprovado e a quantidade de parcelas |
| Proposta | PropostaRecusar | Recusar | C0185 | V0002 | Valor aprovado não pode ser superior ao valor solicitado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0003 | Valor/Prazo aprovado não pode ser diferente do Valor/Prazo solicitado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0004 | A Proposta deve ter pelo menos 1(um) Assinante cadastrado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0005 | É necessário informar o E-mail e Celular de todos os Assinantes |
| Proposta | PropostaRecusar | Recusar | C0185 | V0006 | Proposta não deve ter boletos. |
| Proposta | PropostaRecusar | Recusar | C0185 | V0007 | Motivo de Rejeição deve ser informado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0008 | Valor e Prazo não podem ser alterados quando o cálculo da parcela é sem juros |
| Proposta | PropostaRecusar | Recusar | C0185 | V0009 | Percentual de Juros deve ser informado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0010 | Valor da Parcela deve ser informado |
| Proposta | PropostaRecusar | Recusar | C0185 | V0011 | Proposta deve ter parcelas geradas antes de ser finalizada. |
| Proposta | PropostaRecusar | Recusar | C0185 | V0012 | Os documentos do cliente devem estar conferidos |
| Proposta | PropostaRecusar | Recusar | C0185 | V0013 | Os documentos da proposta devem estar conferidos |
| Proposta | PropostaRecusar | Recusar | C0186 | V0001 | Proposta ainda não foi aprovada pelo analista de crédito |
| Proposta | PropostaRecusar | Recusar | C0198 | V0001 | Proposta não pode ser HotMoney ou Rotativo |
| Proposta | PropostaRecusar | Recusar | C0198 | V0002 | Taxa deve ser de {percJuros} |
| Proposta | PropostaRecusar | Recusar | C0198 | V0003 | TAC deve ser de {VlrTAC} |
| Proposta | PropostaRecusar | Recusar | C0196 | V0001 | O valor solicitado não é válido |
| Proposta | PropostaRecusar | Recusar | C0196 | V0002 | Formato de cálculo inválido |
| Proposta | PropostaRecusar | Recusar | C0196 | V0003 | É necessário o produto |
| Proposta | PropostaRecusar | Recusar | C0196 | V0004 | Prazo inválido ou não localizado para este Produto x Rede |
| Proposta | PropostaRecusar | Recusar | C0196 | V0005 | Não é possível aprovar a proposta. Produto x Rede x Parcela não possui juros configurado |
| Proposta | PropostaRecusar | Recusar | C0196 | V0006 | Configuração deve ser enviada para proposta HotMoney |
| Proposta | PropostaRecusar | Recusar | C0196 | V0007 | Produto Rotativo e HotMoney aceitam apenas formato de cálculo com juros |
| Proposta | PropostaRecusar | Recusar | C0196 | V0008 | Formato de Cálculo não informado |
| Proposta | PropostaRecusar | Recusar | T0665 | D0001 | Informe o Cliente |
| Proposta | PropostaRecusar | Recusar | T0665 | D0002 | Documento do Cliente é inválido |
| Proposta | PropostaRecusar | Recusar | T0665 | D0016 | EPCodigo não informado |
| Proposta | PropostaRecusar | Recusar | T0665 | D0017 | Vendedor não encontrado |
| Proposta | PropostaRecusar | Recusar | T0665 | D0018 | Promotor não encontrado |
| Proposta | PropostaRecusar | Recusar | T0665 | D0019 | Informe o Tipo de Operação |
| Proposta | PropostaRecusar | Recusar | T0665 | D0020 | Informe o Valor |
| Proposta | PropostaRecusar | Recusar | T0665 | D0021 | Informe a Quantidade de Parcelas |
| Proposta | PropostaRecusar | Recusar | T0665 | D0022 | Formato de cálculo inválido |
| Proposta | PropostaRecusar | Recusar | T0665 | D0023 | Cliente deve ser pessoa física |
| Proposta | PropostaRecusar | Recusar | C0204 | V0001 | Erro ao extrair os dados do histórico da proposta |
| Proposta | PropostaRecusar | Recusar | C0203 | V0001 | Erro ao gerar o objeto de histórico da proposta |
| Proposta | PropostaRecusar | Recusar | C0205 | V0001 | Erro ao confrontar as alterações da proposta |
| Proposta | PropostaRecusar | Recusar | C0206 | V0001 | Erro ao comparar listas da proposta |
| Proposta | PropostaRecusar | Recusar | C0207 | V0001 | Erro ao selecionar label do campo histórico |
| Proposta | PropostaRecusar | Recusar | C0208 | V0001 | nan |
| Proposta | PropostaRecusar | Recusar | C0201 | V0001 | Erro ao gerar histórico da proposta. |
Authorizations
Informe o token
Headers
Body
application/jsontext/jsonapplication/*+json
Was this page helpful?
⌘I

