The DeviceId Object (for Mercado Pago only)

PropertyTypeDescription
deviceIdStringDevice web unique identificator. Use dedicated script to collect it. Example: 5cf65fc6c5db631a47471bb0. Required only if browser is web.
fingerprintObjectUsed for mobile devices. See example and SDKs following. Required only if used on native mobile app.

Web

Add the following script on website:

<script src="https://www.mercadopago.com/v2/security.js" view="checkout"></script>

Mobile

Use the following SDK to get mobile device fingerprint:

Android: https://github.com/mercadopago/px-android

new Device(context);

iOS: https://github.com/mercadopago/px-ios

Device()

Mobile fingerprint example

    "fingerprint": {
   	 "os": "iOS",
   	 "system_version": "8.3",
   	 "ram": 18446744071562067968,
   	 "disk_space": 498876809216,
   	 "model": "MacBookPro9,2",
   	 "free_disk_space": 328918237184,
   	 "vendor_ids": [
   		 {
   			 "name": "vendor_id",
   			 "value": "C2508642-79CF-44E4-A205-284A4F4DE04C"
   		 },
   		 {
   			 "name": "uuid",
   			 "value": "AB28738B-8DC2-4EC2-B514-3ACF330482B6"
   		 }
   	 ],
   	 "vendor_specific_attributes": {
   		 "feature_flash": false,
   		 "can_make_phone_calls": false,
   		 "can_send_sms": false,
   		 "video_camera_available": true,
   		 "cpu_count": 4,
   		 "simulator": true,
   		 "device_languaje": "en",
   		 "device_idiom": "Phone",
   		 "platform": "x86_64",
   		 "device_name": "iPhone Simulator",
   		 "device_family": 4,
   		 "retina_display_capable": true,
   		 "feature_camera": false,
   		 "device_model": "iPhone Simulator",
   		 "feature_front_camera": false
   	 },
   	 "resolution": "375x667"
    }