Detran vehicles
Description
Consult the Detran’s database that gathers information on the registration status of the vehicle at the State Department of Transit.
HTTP method GET
Endpoint
https://8ehec73psb.execute-api.us-west-2.amazonaws.com/uat/identity/api/idv-govcheck/v1/br-identity/{documentNumber}/check-detran-vehicules
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 |
---|---|---|---|
Plate | ✅ | string | Vehicle plate. |
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": {
"source": "detran",
"plate": "FBR3382",
"renavam": "49493435681",
"owner_id": "44728917-2",
"owner_name": "RaimundoSolimõesdeSouza",
"type": "automovel",
"especie": "passageiro",
"chasis": "conversível",
"category": "particular",
"fuel": "álcool/gasolina",
"brand": "Ford",
"model": "EscortGL1.6MPI",
"manufacture_year": "2012",
"model_year": "2013",
"colour": "vermelho",
"capacity": "5",
"load_capacity": "1ton",
"power": "88",
"displacement": "1400",
"restrictions": [
{
"source": "detran_sp",
"type": "financeira",
"description": "BANCOSANTANDERSA"
}
]
}
}
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-detran-vehicules"
}
Response 500 status code
{
"traceId": "43a20f33d4e8730d",
"timestamp": "yyyy-mm-dd HH:MM:SS",
"code": "IDV-1001",
"message": "A generic error has occurred.",
"data": null
}