cURL
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consulta": {
"documentoCliente": "<string>"
}
}
'import requests
url = "https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck"
payload = { "consulta": { "documentoCliente": "<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({consulta: {documentoCliente: '<string>'}})
};
fetch('https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck', 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/Bureau/ConsultarAllCheck",
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([
'consulta' => [
'documentoCliente' => '<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/Bureau/ConsultarAllCheck"
payload := strings.NewReader("{\n \"consulta\": {\n \"documentoCliente\": \"<string>\"\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/Bureau/ConsultarAllCheck")
.header("IdempotencyKey", "<idempotencykey>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"consulta\": {\n \"documentoCliente\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck")
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 \"consulta\": {\n \"documentoCliente\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"msg": "<string>",
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}{
"msg": "<string>",
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}Allcheck
21 - Consulta Dados no AllCheck
cURL
curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consulta": {
"documentoCliente": "<string>"
}
}
'import requests
url = "https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck"
payload = { "consulta": { "documentoCliente": "<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({consulta: {documentoCliente: '<string>'}})
};
fetch('https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck', 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/Bureau/ConsultarAllCheck",
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([
'consulta' => [
'documentoCliente' => '<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/Bureau/ConsultarAllCheck"
payload := strings.NewReader("{\n \"consulta\": {\n \"documentoCliente\": \"<string>\"\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/Bureau/ConsultarAllCheck")
.header("IdempotencyKey", "<idempotencykey>")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"consulta\": {\n \"documentoCliente\": \"<string>\"\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bmpdigital.moneyp.dev.br/Bureau/ConsultarAllCheck")
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 \"consulta\": {\n \"documentoCliente\": \"<string>\"\n }\n}"
response = http.request(request)
puts response.read_body{
"msg": "<string>",
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}{
"msg": "<string>",
"messages": [
{
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}Este endpoint permite consultar de forma detalhada um documento de pessoa física ou jurídica. A resposta é retornada em ‘String JSON’ serializado e contém dados estruturados, incluindo endereço, e-mail, telefone, endereço comercial, CCF, empresas vinculadas, veículo, número do PIS, carteira profissional e informações de sociedades.
Mostrar Exemplo de retorno completo
Mostrar Exemplo de retorno completo
O exemplo de retorno, mostrado no lado direito desta tela, está resumido. Na linha
"json": "<string>" o retorno do Bureau vem de forma serializada, sendo necessário deserializar para melhor visualização. Aqui está um exemplo do retorno deserializado que vem no campo "json":.{
"NroConsulta": "String",
"Nome": "String",
"NumeroDocumento": "INT",
"RG": "String",
"DataNascimento": "Data",
"Signo": "String",
"Idade": "INT",
"Email": "String",
"Filiacao": "String",
"PIS": "String",
"CarteiraProf": "String",
"CNPJEmpregador": "String",
"DtAdmissao": "Data",
"Atividade": "String",
"GrauInstrucao": "String",
"Sexo": "String",
"EstadoCivil": "String",
"NumeroBeneficio": "String",
"ValorBeneficio": "INT",
"InicioBeneficio": "",
"NumeroTitulo": "String",
"Nacionalidade": "String",
"Banco": [
{
"NomeBanco": "String",
"NomeAgencia": "String",
"EnderecoAgencia": "String",
"Cidade": "String",
"Estado": "String",
"CEP": "String",
"DDD": "String",
"Telefone": "String",
"Fax": "String",
"Banco": "String",
"Agencia": "String"
}
],
"CCF": [
{
"Nome": "String",
"Documento": "String",
"QtdeOcorrencias": "INT",
"NomeBanco": "String",
"NomeAgencia": "String",
"EnderecoAgencia": "String",
"Cidade": "String",
"UF": "String",
"CEP": "String",
"DDD": "String",
"Telefone": "String",
"Banco": "String",
"Agencia": "String",
"MotivoDevolucao": "String",
"DtUltimaOcorrencia": "Data"
}
],
"Empresa": [
{
"CNPJ": "String",
"Nome": "String",
"NomeFantasia": "String",
"DtAbertura": "Data",
"AtividadeComercial": "String",
"CNAE": "String",
"CNAE2": "String",
"NaturezaJuridica": "String",
"CEP": "String",
"Logradouro": "String",
"NroLogradouro": "String",
"Bairro": "String",
"Complemento": "String",
"Cidade": "String",
"UF": "String",
"SituacaoCadastral": "String",
"DtSituacaoCadastral": "Data",
"Porte": "String",
"Tipo": "String",
"SituacaoEspecial": "String",
"DtSituacaoEspecial": "Data"
}
],
"HistoricoTrabalho": [
{
"DtAdmissao": "Data",
"DtDemissao": "Data",
"Nome": "String",
"CPF": "String",
"CNPJ": "String",
"RazaoSocial": "String",
"Fre": ""
}
],
"Obito": [
{
"Nome": "String",
"NomeMae": "String",
"DataObito": "String",
"DataNascimento": "String"
}
],
"RedeVigiada": [
{
"DtConsulta": "Data",
"Produto": "String",
"Cliente": "String",
"Telefone": "String"
}
],
"Sociedade": [
{
"Socio": "String",
"CPF": "String",
"RG": "String",
"CNPJ": "String",
"InscricaoEstadual": "String",
"Participacao": "String",
"DtIngresso": "Data",
"DtInicio": "Data",
"NomeEmpresa": "String"
}
],
"Telefone": [
{
"Nome": "String",
"Documento": "String",
"DDD": "String",
"Telefone": "String",
"CEP": "String",
"Logradouro": " String",
"NroLogradouro": "String",
"Bairro": "String",
"Complemento": "String",
"Cidade": "String",
"UF": "String",
"DtInstalacao": "Data"
}
],
"Veiculo": [
{
"Nome": "String",
"Documento": "String",
"Placa": "String",
"Renavam": "String",
"MarcaModelo": "String",
"AnoFabricacao": "INT",
"Chassis": "String"
}
],
"TipoRetorno": "String",
"Error": "Boolean",
"ErrorDescription": "String"
}
Autorizações
Informe o token
Cabeçalhos
Corpo
application/jsontext/jsonapplication/*+json
Show child attributes
Show child attributes
Esta página foi útil?
⌘I

