Did you find this information useful?
Yes
No
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
Products that use it:
Request's parameters
Response parameters
id
Localization: bodyIdentification type id.string
name
Localization: bodyIdentification type name.string
type
Localization: bodyIdentification number data type.string
min_length
Localization: bodyIdentification number min length.number
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
1001
401bad_request
1000The credentials are required.
404bad_request
1004Identification types not found.