| Name |
Type |
Description |
Notes |
| device_type |
String |
Defines the type of this object. |
|
| device_id |
String |
The unique ID of the device. Must be unique for the entire system (not just within a specific merchant or industry). |
|
| networks |
Array<Items> |
Information about the networks associated with the device. |
[optional] |
| latitude |
Float |
The GPS decimal latitude, ranging from (-90.0 to 90.0) where positive numbers indicate locations North of the equator. |
[optional] |
| longitude |
Float |
The GPS decimal longitude, ranging from (-180.0 to 180.0) where positive numbers indicate locations East of the IERS Reference Meridian. |
[optional] |
| imei |
String |
The device's International Mobile Equipment Identity (IMEI) as described in IETF RFC7254. |
[optional] |
| model |
String |
The device's model name. |
[optional] |
| manufacturer |
String |
The device's manufacturer. |
[optional] |
| timezone_offset |
String |
The timezone offset from UTC to the devices timezone configuration, specified in the format +hh:mm. |
[optional] |
| rooted |
Boolean |
A flag indicating that the device has been altered to allow privileged access to users. This flag should only be set to false if a test was performed and the result was negative. Leave unset otherwise. |
[optional] |
| malware_detected |
Boolean |
A flag indicating that malware was detected on the mobile phone. This flag should only be set to false if a test was performed and the result was negative. Leave unset otherwise. |
[optional] |
| user_defined |
Object |
A JSON object that can carry any additional information about the device that might be helpful for fraud detection. |
[optional] |
require 'OpenapiClient'
instance = OpenapiClient::Device.new(device_type: device/mobile,
device_id: BDE000:008945:58AC03:F02569,
networks: [{"networkType":"network/wifi","ip":"10.201.0.244","phoneNumber":"302-123-4567","carrierName":"T-Mobile","mobileCountryCode":"310","mobileNetworkCode":"004","subscriptionIdentificationNumber":"123456789","locationAreaCode":"12345","cellId":"2224","standard":"GSM","mac":"02:00:00:00:00:00","ssid":"Boston-5G-1","bssid":"e8:fc:af:fb:4b:8c","userDefined":{"usedData":"50MB"}}],
latitude: 41.14961,
longitude: -8.61099,
imei: 49-015420-323751,
model: iPhone 10,
manufacturer: Apple,
timezone_offset: +02:00,
rooted: false,
malware_detected: false,
user_defined: {"battery":"95%"})