Get document types - Identification Types - Mercado Pago Developers
Get document types

GET

/v1/identification_types
Consult all the types of documents available by country and get a list with the ID and details of each one.
Request's parameters
You don't need to use any parameters to make the request.
Response parameters
id
string
Localization: bodyIdentification type id.
name
string
Localization: bodyIdentification type name.
type
string
Localization: bodyIdentification number data type.
min_length
number
Localization: bodyIdentification number min length.
Request
curl
curl -X GET \
    'https://api.mercadopago.com/v1/identification_types' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' 
Answer
json
[
  {
    "id": "CPF",
    "name": "CPF",
    "type": "number",
    "min_length": 11,
    "max_length": 11
  }
]
Errors
400bad_request
1001Public_key not found.
401bad_request
1000The credentials are required.
404bad_request
1004Identification types not found.