Magnes Payload Parameters

DOCS

Last updated: Sept 27th, 10:10pm

Please log in to view the content

Parameter nameTypeDescriptionAndroidiOS
`android_id`String64-bit number (as a hex String) that the OS randomly generates when the user first sets up the device. The ID changes when factory settings of the device are restored. **Note**: When a device has multiple users, each user appears as a separate device. This results in a unique `android_id` for each user.RequiredNot available
`app_first_install_time`LongThe timestamp when the app was first installedRequiredNot available
`app_guid`StringA unique installation identifier of the app. If the app is re-installed, a new `app_guid` is generated. Maximum length: 36 characters.RequiredRequired
`app_id`StringThe identifier of the app using the Magnes Hybrid source code (host app)RequiredRequired
`app_last_update_time`LongThe version number of the hosting appRequiredNot available
`app_version`StringThe version number of the hosting appRequiredRequired
`base_station_id`StringThe base station identification number for CDMA (Code Division Multiple Access) phones. This returns `-1` for an unknown base station.OptionalNot available
`bssid`StringBase Service Set Identifier (MAC address) of the WiFi AP (access point). This is available only when the device is connected to WiFi.OptionalOptional
`bssid_arr`ArrayThe top two strength `bssid`s (MAC of AP). One of them is the one to which the device is currently connected. Permission: `ACCESS_FINE_LOCATION` or `ACCESS_COARSE_LOCATION`RequiredNot available
`c`StringA counter for the number of payloads that the current device has submitted.RequiredRequired
`cdma_network_id`INTThe CDMA system identification as a purely numeric value. This returns `-1` if unknown.OptionalNot available
`cdma_system_id`INTThe CDMA system identification as a purely numeric value. This returns `-1` if unknown.OptionalNot available
`cell_id`StringThe current cell site identifier for GSM phonesOptionalNot available
`cloud_identifier`StringThe cloud identifier stored in a syncable iCloud keychain entity.Not availableRequired
`comp_version`StringThe Magnes Hybrid version number, hardcoded as `3.6.0`RequiredRequired
`conf_url`StringAndroid: `https://www.paypalobjects.com/webstatic/risk/dyson_config_android_v3.json`, iOS: `https://www.paypalobjects.com/webstatic/risk/dyson_config_ios_v4.json`RequiredRequired
`conf_version`StringAndroid: 3.0 iOS: 4.0RequiredRequired
`conn_type`StringThe current network connection type as a human-readable string. Examples: Android `WIFI` or `MOBILE` iOS `WiFi` or `Cellular`RequiredRequired
`dc_id`StringA checksum based on the `app_guid` and `timestamp`.RequiredRequired
`device_id`StringThe device ID as reported by the OS. GSM device: `IMEI`, CDMA device: `MEID` or `ESN`, No device: nullPermission requiredNot available
`device_model`StringThe phone model.RequiredRequired
`device_name`StringThe user-defined name of the device.RequiredRequired
`device_uptime`StringThe length of time (in milliseconds) since the most recent reboot of the operating system, not counting time spent in deep sleep.RequiredNot available
`ds`StringReturns `true` if the device is set with Daylight Saving Time (DST) enabled; `false` otherwise.RequiredRequired
`email_configured`BooleanReturns `true` if the device has been configured with an email account; `false` otherwise.Not availableRequired
`gsf_id`String16-digit hex string randomly generated on the device. **Note:** If the device is reset to factory settings, it is assigned a new ID.RequiredNot available
`ip_addresses`ArrayAn array that contains the addresses of all network interfaces found on the device. If available, IPV6 would be included.RequiredRequired
`ip_addrs`StringThe device IP addressRequiredRequired
`is_emulator`BooleanReturns `true` if the device is suspected of being an emulator; `false` otherwise.RequiredRequired
`is_rooted`BooleanReturns `true` if the device is suspected of being rooted (Android) or jail-broken (iOS); `false` otherwise.RequiredRequired
`known_apps`StringList of apps that are currently installed on the device (from an enumerated check list).RequiredNot available
`linker_id`StringA persistent ID that Magnes Hybrid assigns to the device. All Android or iOS apps on the same device share the same ID.Permission requiredRequired
`local_identifier`StringLocal identifier stored in a file marked as `DoNotBackup` and `DoNotSync`Not availableRequired
`locale_country`StringThe 2-character country code (ISO 3166-1) for the locale, or an empty string if none is defined.RequiredRequired
`locale_lang`StringThe 2-character language code (ISO 639-1) for the locale, or an empty string if none is defined.RequiredRequired
`location`ObjectThe location of the device. Contains: Latitude (LAT), Longitude (LNG), Accuracy (ACC), and Time stamp (Timestamp). **Note:** This is available only if the user has granted sufficient permission related to location.Permission requiredPermission required
`location_area_code`StringThe GSM location area code of the current cell site, or `-1` if unknown.RequiredNot available
`location_auth_status`StringThis returns the status if the app has access to the location.Not availableRequired
`mac_addrs`StringThe MAC address of the deviceRequiredNot available
`network_operator`StringThe numeric name (mobile country code plus mobile network code) of the current registered operator. **Note:** This is only available if the user is registered to a network. The result may be unreliable on CDMA networks.OptionalNot available
`notif_token`StringAndroid: C2DM (Cloud to Device Messaging) registration ID, OS: APNS tokenRequiredRequired
`os_type`StringThe OS that is running at the time of data collection.RequiredRequired
`os_version`StringThe currently installed version of the OS as a user-visible version string.RequiredRequired
`payload_type`StringThe payload type is either `Full` or `Incremental`. **Note:** All new instances are `Full`, but the parameter supports the legacy `Incremental`.RequiredRequired
`PayPal-Client-Metadata_Id`StringA unique 32-character string that pairs the Magnes payload with the payment context.RequiredRequired
`phone_type`StringThe device radio type used to transmit voice calls: `GSM`, `CDMA`, or `None`RequiredNot available
`pin_lock_last_timestamp`LongThe most recent time that a PIN was used to lock the device.Not availableRequired
`proxy_setting`StringProxy service information. **Note:** Available only when connected to a proxy service `(host=slc-enc-02, port=80, type=kCFProxyTypeHTTP)`OptionalOptional
`risk_comp_session_id`StringThe Magnes Hybrid session ID. A new session ID is generated each time a full payload update is created and sent.RequiredRequired
`roaming`BooleanReturns `true` if the phone is currently in roaming condition; `false` otherwise.RequiredNot available
`serial_number`StringThe Android serial number (available for Android 2.3 and later versions). **Note:** It is available via `androidos.Build.SERIAL`. Devices without telephony are required to report a unique device ID.RequiredNot available
`sim_operator_name`StringThe SPN (Service Provider Name). **Note:** This is available only when the SIM is inserted in the device.OptionalNot available
`sim_serial_number`StringThe SIM serial number. **Note:** This is available only when the SIM is inserted in the device. Returns null if none is available.OptionalNot available
`sms_enabled`BooleanReturns `true` if text messaging is enabled on the device; `false` otherwise.RequiredRequired
`source_app`INTA number enumerating the source of the host app. Always `0` for this type of integration.RequiredRequired
`source_app_version`StringThe source app version; for this type of integration, it is the host `app_version`.RequiredRequired
`ssid`StringThe SSID; the network name of the WiFi network. **Note:** This is available only when connected to a WiFi network. This may return `` if no network is connected.OptionalOptional
`subscriber_id`StringThe unique subscriber ID. It is the IMSI for a GSM phone. This returns `null` if unavailable.RequiredNot available
`timestamp`LongThe 13-digit Unix timestamp of payload creation time (in milliseconds)RequiredRequired
`total_storage_space`LongThe total storage in bytes available on the device.RequiredRequired
`tz`StringTime zone offset in milliseconds. Daylight Saving Time (DST) is applied if appropriate.RequiredRequired
`tz_name`StringThe human-readable name of the time zone.RequiredRequired
`vendor_identifier`StringIdentifier that is visible and shared across apps from the same vendor (Team ID). The identifier is deleted when the last app from the vendor is removed. A user cannot delete or change the identifier in any other way. **Note:** It is invisible to other apps that do not belong to the same vendor.Not availableRequired
`VPN_setting`StringThe VPN interface name. **Note:** This is available only when connected to a VPN service (TAP, TUN, or POP)OptionalOptional

Utilizaremos cookies para mejorar y personalizar su experiencia si continúa navegando. ¿Está bien si también utilizamos cookies para mostrarle anuncios personalizados? Obtener más información y administrar sus cookies