Home
Documentation
Resources
Partners
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Partners

Discover our program for agencies or developers that offer integration services and sellers who want to hire them.

Community

Get the latest news, ask others for help and share your knowledge.

Get document types - Identification Types - Mercado Pago Developers

Intelligent search powered by OpenAI 

Get document types

GET

https://api.mercadopago.com/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 dont need to use any parameters to make the request.
Response parameters
id
string
Identification type id.
name
string
Identification type name.
type
string
Identification number data type.
min_length
number
Identification number min length.
Errors

400Error

1001

Public_key not found.

401Error

1000

The credentials are required.

404Error

1004

Identification types not found.

Request
curl -X GET \
    'https://api.mercadopago.com/v1/identification_types'\
    -H 'Content-Type: application/json' \
       -H 'Authorization: Bearer TEST-7434*********159-03141*********cee51edf8*********f94f589-1*********' \
    
Sample answer
[
  {
    "id": "CPF",
    "name": "CPF",
    "type": "number",
    "min_length": 11,
    "max_length": 11
  }
]