Inicio
DocumentaciĆ³n
Recursos
Partners
Comunidad

Recursos

Revisa las actualizaciones de nuestras soluciones y operatividad del sistema o pide soporte tƩcnico.

Partners

Conoce nuestro programa para agencias o desarrolladores que ofrecen servicios de integraciĆ³n y vendedores que quieren contratarlos.

Comunidad

Recibe las Ćŗltimas novedades, pide ayuda a otros integradores y comparte tus conocimientos.

Cobros online
Cobros presenciales
Herramientas y recursos
APIs y SDKS
Datos de industria - Configuraciones adicionales - Mercado Pago Developers

Datos sobre industrias

Revisa que campos puedes enviar segĆŗn tu industria para mejorar tu aprobaciĆ³n.

AtenciĆ³n
Esta informaciĆ³n solo funciona para la API de Preferencias.

Apparel

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
typeStringTipo
descriptionStringDescripciĆ³n
picture_urlStringURL de imagen
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
express_shipmentBooleanTrue si lo es, False si no lo es.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "type": "test",
            "category_id": "fashion",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "first_name": "Carlota",
        "last_name": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        },
        "express_shipment": false
    }
}'

Electro

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
warrantyBooleanTrue si el producto tiene garantĆ­a, False si no la tiene.

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
local_pickupBooleanTrue si retira en sucursal, False si no lo hace
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
express_shipmentBooleanTrue si lo es, False si no lo es.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "category_id": "phones",
            "quantity": 1,
            "unit_price": 150,
            "warranty": false,
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.comā€,
        "first_name": "Carlota",
        "last_name": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        },
        "express_shipment": false,
        "local_pickup": false
    }
}'

Entretenimiento

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
category_descriptorObjectDescripciĆ³n de la categorĆ­a
event_dateDateFecha del evento

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
express_shipmentBooleanTrue si lo es, False si no lo es.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "category_id": "entertainment",
            "quantity": 1,
            "unit_price": 150,
            "category_descriptor":{
                "event_date": "2022-03-12T12:58:41.425-04:00"
            },
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "first_name": "Carlota",
        "last_name": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        },
        "express_shipment": false,
        "local_pickup": false
    }
}'

Home & deco

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
warrantyBooleanTrue si el producto tiene garantĆ­a, False si no la tiene.

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
express_shipmentBooleanTrue si lo es, False si no lo es.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "home",
            "quantity": 1,
            "unit_price": 150,
            "warranty": false,
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "first_name": "Carlota",
        "last_name": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        },
        "express_shipment": false,
        "local_pickup": false
    }
}'

Aplicaciones y plataformas online

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "services",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'

Retail

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
picture_urlStringURL de imagen
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
express_shipmentBooleanTrue si lo es, False si no lo es.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/us/home/failure",
        "pending": "https://www.mercadopago.com/us/home/pending",
        "success": "https://www.mercadopago.com/us/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "others",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        },
        "express_shipment": false,
        "local_pickup": false
    }
}'

Gobierno y servicios pĆŗblicos

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
category_descriptorObjectDescripciĆ³n de la categorĆ­a
event_dateDateFecha del evento

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Servicio",
            "picture_url": "",
            "description": "DescripciĆ³n de servicio",
            "category_id": "services",
            "quantity": 1,
            "unit_price": 150,
            "category_descriptor":{
                "event_date": "2022-03-12T12:58:41.425-04:00"
            },
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
        }
    }
}'

Turismo

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
category_descriptorObjectDescripciĆ³n de la categorĆ­a.
passengerObjectInformaciĆ³n adicional del pasajero.
first_nameStringNombre
last_nameStringApellido
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
routeObjectInformaciĆ³n de la ruta
departureStringSalida
destinationStringLlegada
departure_date_timeDateFecha de salida. Ejemplo: 2024-06-20T06:20:00.000-04:00.
arrival_date_timeDateFecha de llegada
companyStringCompaƱƭa

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Servicio",
            "description": "DescripciĆ³n de servicio",
            "category_id": "Travels",
            "category_descriptor":{
             "passenger": {
                 "first_name": "Carlota",
                  "last_name": "Castellanos",
                   "type": "-",
                   "number": 12345678
              },
              "route": {
            	 "departure": "Ciudad de MĆ©xico",
            	 "destination": "Londres",
            	 "departure_date_time": "2022-03-12T12:58:41.425-04:00",
            	 "arrival_date_time": "2022-03-14T12:58:41.425-04:00",
            	 "company": "CompaƱƭa"
            }
},
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'

HotelerĆ­a

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario
event_dateDateFecha del evento
category_descriptorObjectDescripciĆ³n de la categorĆ­a.
passengerObjectInformaciĆ³n adicional del pasajero.
first_nameStringNombre
last_nameStringApellido
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Servicio",
            "description": "DescripciĆ³n de servicio",
            "category_id": "Travels",
            "category_descriptor": {
                "event_date": "2020-06-02T12:58:41.425-04:00",
                "passenger": {
                    "first_name": "Carlota",
                    "last_name": "Castellanos",
                    "type": "-",
                    "number": 12345678
                }
            },
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'

Utilities

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "category_id": "others",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'

Venta directa

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
floorStringPiso
apartmentStringApartamento
local_pickupBooleanTrue si se retira en sucursal, False si no lo hace.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "others",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_prime_user": false,
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "local_pickup": false,
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
            "floor": "12",
            "apartment": "B"
        }
    }
}'

AutomĆ³viles y nĆ”uticas

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

Sobre envĆ­os

Object shipmentTipoDescripciĆ³n
receiver_addressObjectDatos de direcciĆ³n del comprador.
zip_codeStringCĆ³digo postal
state_nameStringProvincia
city_nameStringCiudad
street_numberIntegerNĆŗmero de calle
floorStringPiso
apartmentStringApartamento
local_pickupBooleanTrue si se retira en sucursal, False si no lo hace.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "others",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_first_purchase_online": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    },
    "shipments": {
        "mode": "not_specified",
        "local_pickup": false,
        "receiver_address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "city_name": "Ciudad de MĆ©xico",
            "state_name": "CDMX",
            "street_number": 1000
            "floor": "12",
            "apartment": "B"
        }
    }
}'

Transporte urbano

Campos a enviar

Agrega toda la informaciĆ³n adicional que quieras.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo
titleStringNombre
descriptionStringDescripciĆ³n
category_idStringCategorĆ­a
quantityIntegerCantidad
unit_priceFloatPrecio unitario

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre
last_nameStringApellido
identificationObjectDatos de identificaciĆ³n
identification_typeStringTipo de identificaciĆ³n
identification_numberStringNĆŗmero de identificaciĆ³n
phoneObjectTelƩfono
area_codeIntegerCĆ³digo de Ć”rea
numberIntegerNĆŗmero de telĆ©fono
addressObjectDatos de direcciĆ³n
zip_codeStringCĆ³digo postal
street_nameStringNombre de calle
street_numberIntegerNĆŗmero de calle
authentication_typeEnumTipo de autenticaciĆ³n ("Gmail" - "Facebook" - "Web Nativa" - "Otro")
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanTrue si lo es, False si no lo es.
is_first_purchase_onlineBooleanTrue si lo es, False si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location --request POST 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2025-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "others",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "john@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_first_purchase_online": false,
        "is_prime_user": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'

Gambling

Estos son los datos especĆ­ficos para la industria gambling que puedes agregar a tu integraciĆ³n para mejorar la aprobaciĆ³n de los pagos.

Sobre los Ć­tems

Array itemsTipoDescripciĆ³n
idStringCĆ³digo de identificaciĆ³n del Ć­tem.
titleStringNombre del Ć­tem.
warrantyBooleantrue si lo es, false si no lo es.
category_idStringCategorĆ­a del Ć­tem.
quantityIntegerCantidad de unidades para el Ć­tem.
unit_priceFloatPrecio unitario asignado al Ć­tem. Puede ser entero o con decimales.

Sobre el comprador

Object payerTipoDescripciĆ³n
first_nameStringNombre del comprador.
last_nameStringApellido del comprador.
identificationObjectDatos de identificaciĆ³n del comprador.
typeStringTipo de identificaciĆ³n. Se encuentra dentro del objeto identification.
numberStringNĆŗmero de identificaciĆ³n. Se encuentra dentro del objeto identification.
phoneObjectTelƩfono del comprador.
area_codeIntegerCĆ³digo de Ć”rea del comprador. Se encuentra dentro del objeto phone.
numberIntegerNĆŗmero de telĆ©fono del comprador. Se encuentra dentro del objeto phone.
addressObjectDatos del domicilio del comprador.
zip_codeStringCĆ³digo postal del comprador. Se encuentra dentro del objeto address.
street_nameStringNombre de calle del domicilio del comprador. Se encuentra dentro del objeto address.
street_numberIntegerNĆŗmero de calle del domicilio del comprador. Se encuentra dentro del objeto address.
authentication_typeEnumTipo de autenticaciĆ³n. Pueden ser "Gmail", "Facebook", "Web Nativa" u "Otro".
registration_dateDateFecha de registro del comprador en el sitio.
is_prime_userBooleanIndica si el usuario es premium. Coloca true si lo es o false si no lo es.
is_first_purchase_onlineBooleanIndica si es la primera compra del cliente. Coloca true si lo es o false si no lo es.
last_purchaseDateFecha de la Ćŗltima compra en el sitio.

curl

curl --location 'https://api.mercadopago.com/checkout/preferences' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {{access_token}}' \
--data-raw '{
    "auto_return": "approved",
    "back_urls": {
        "failure": "https://www.mercadopago.com/home/failure",
        "pending": "https://www.mercadopago.com/home/pending",
        "success": "https://www.mercadopago.com/home/success"
    },
    "notification_url": "https://webhook.site/xyz",
    "expires": false,
    "external_reference": "order-123",
    "date_of_expiration": "2026-03-12T12:58:41.425-04:00",
    "items": [
        {
            "id": "1234",
            "currency_id": "MXN",
            "title": "Producto",
            "picture_url": "",
            "description": "DescripciĆ³n de producto",
            "category_id": "lottery",
            "quantity": 1,
            "unit_price": 150
        }
    ],
    "payer": {
        "phone": {
            "area_code": "11",
            "number": "619 911 306"
        },
        "address": {
            "zip_code": "52",
            "street_name": "Insurgentes Sur",
            "street_number": 1000
        },
        "identification": {
          "identification_type": "-",
          "identification_number": "12345678"
        },
        "email": "carlota.castellanos@yourdomain.com",
        "name": "Carlota",
        "surname": "Castellanos",
        "date_created": "",
        "authentication_type": "Facebook",
        "registration date": "2015-06-02T12:58:41.425-04:00",
        "is_first_purchase_online": false,
        "is_prime_user": false,
        "last_purchase": "2020-01-02T12:58:41.425-04:00"
    },
    "payment_methods": {
        "excluded_payment_methods": [
            {
                "id": ""
            }
        ],
        "default_installments": null,
        "default_payment_method_id": null,
        "excluded_payment_types": [
            {
                "id": ""
            }
        ],
        "installments": null
    }
}'