Get document types/v1/identification_typesConsult all the types of documents available by country and get a list with the ID and details of each one.
GET
Request's parameters
Parámetros de respuesta
id
Localization: bodyIdentification type idstring
name
Localization: bodyIdentification type namestring
type
Localization: bodyIdentification number data typestring
min_length
Localization: bodyIdentification number min lengthnumber
Solicitud
curl
curl -X GET \
'https://api.mercadopago.com/v1/identification_types' \
-H 'Authorization: Bearer ACCESS_TOKEN_ENV'
Answer
json
[
{
"id": "CPF",
"name": "CPF",
"type": "number",
"min_length": 11,
"max_length": 11
}
]
Errors
400bad_request
1001
401bad_request
1000
404bad_request
1004
Was this information helpful?