curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/KycSancoesPFAsync \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consultaAsync": {
"identificador": "<string>",
"documento": "<string>",
"enderecoCallback": "<string>"
}
}
'{
"msg": "<string>",
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}curl --request POST \
--url https://api.bmpdigital.moneyp.dev.br/Bureau/KycSancoesPFAsync \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'IdempotencyKey: <idempotencykey>' \
--data '
{
"consultaAsync": {
"identificador": "<string>",
"documento": "<string>",
"enderecoCallback": "<string>"
}
}
'{
"msg": "<string>",
"messages": [
{
"messageType": 1,
"code": "<string>",
"context": "<string>",
"description": "<string>",
"field": "<string>"
}
],
"hasError": true,
"falha": true,
"json": "<string>"
}Mostrar Exemplo de retorno completo
"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":.{
"PEPHistory": [
{
"Level": "String",
"JobTitle": "String",
"Department": "String",
"Motive": "String",
"Source": "String",
"TaxId": "String",
"StartDate": "Data",
"EndDate": "Data"
}
],
"IsCurrentlyPEP": Boolean,
"SanctionsHistory": [],
"IsCurrentlySanctioned": Boolean,
"WasPreviouslySanctioned": Boolean,
"Last30DaysSanctions": int,
"Last90DaysSanctions": int,
"Last180DaysSanctions": int,
"Last365DaysSanctions": int,
"LastYearPEPOccurence": int,
"Last3YearsPEPOccurence": int,
"Last5YearsPEPOccurence": int,
"Last5PlusYearsPEPOccurence": int,
"FirstSanctionDate": null,
"LastSanctionDate": null,
"FirstPEPOccurenceDate": "Data",
"LastPEPOccurenceDate": "Data",
"IsCurrentlyElectoralDonor": Boolean,
"IsHistoricalElectoralDonor": Boolean,
"TotalElectoralDonations": int,
"TotalElectoralDonationAmount": float,
"ElectoralDonations": {
"String": {
"DonationsCount": int,
"AmountDonated": float
},
"String": {
"DonationsCount": int,
"AmountDonated": float
}
},
"Identificador": "String",
"StatusConsulta": {
"Code": int,
"Message": "String"
}
}
Informe o token
Success
Esta página foi útil?