National Bank of Arrest Warrant
Description​
Consult the database of arrest warrants issued by the Banco Nacional de Mandados de Prisão (BNMP) .
HTTP method GET​
Endpoint​
https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/identity/api/idv-govcheck/v1/br-identity/{documentNumber}/check-national-bank-arrest-warrants
info
Before proceeding, make sure you have your jwt token, if you don't, check the login documentation.
Request header parameter​
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Authorization | ✅ | string | bearer jwt token |
URI request parameter​
NAME | REQUIRED | TYPE | DESCRIPTION |
---|---|---|---|
Name | ✅ | string | Idem |
DOB (optional) | ✅ | string | Date of birth |
Mother's name (optional) | ✅ | string | Idem |
Status code responses​
Code | Description |
---|---|
200 | OK |
400 | Bad request |
401 | Unauthorized |
404 | Not found |
500 | Internal server error. |
The full documentation error codes can be found here.
Response 200 status code​
{
"traceId": "b2345cfc7bee621e",
"timestamp": "2023-05-15 11:59:35",
"data": {
"items": [
{
"issued_at": "2021-01-18T06:17:45.032683Z",
"source": "MandadosPrisaoBancoNacional",
"protocol": null,
"url": null,
"nothing_contained": false,
"details": {
"warrants": {
"items": [
{
"situation": "Pendente de Cumprimento",
"warrant_number": "xxxxxxxxxxxxxxxxxxxxxx",
"warrant_date": "19/09/2019",
"valid_date": "22/08/2031",
"process_number": "xxxxxxxxxxxxx",
"class": null,
"matter": null,
"document_source": null,
"judge": "CLAUDIO CAMPOS DA SILVA",
"issue_name": null,
"date_of_offense": null,
"offense_description": null,
"offense_reason": "Preventiva decorrente de decisão condenatória",
"recapture": "Não",
" synthesis_decision ": "Ante o exposto CONDENO o réu xxxxxxxxxxxxxxxxx por incurso no art. 121, §2°, incisos II e IV, c.c. art. 14, II, todos do Código Penal, à pena de 5 (cinco) anos de reclusão e o ré xxxxxxxxxxxxxxxxxx por incurso no art. 121,§2°, incisos II e IV, c.c. art. 14, II, todos do Código Penal à pena de 4 (quatro) anos de reclusão. Para o réu xxxxxxxx, tendo em vista que o delito imputado é crime hediondo, nos termos do artigo 1º, inc. I, da Lei nº 8.072/90, com",
"prison_term": null,
"penalty_imposed": "5 ano(s) 0 mês(es) 0 dia(s).",
"compliance_regime": "Fechado",
"municipio": "Sao Paulo"
}
]
}
}
}
]
}
}
Response 400 status code​
{
"traceId": "542fc743fffda052",
"timestamp": "2023-05-05 11:20:46",
"code": "IDV-4005",
"message": "-",
"data": null
}
Response 401 status code​
{
"timestamp": "YYYY-MM-DDTHH:mm:ss.sssZ",
"status": 401,
"error": "Unauthorized",
"path": "/api/idv-govcheck/v1/br-identity/{documentNumber}/check-national-bank-arrest-warrants"
}
Response 500 status code​
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}