📱 The extracted data of the user's device.
device_info
is a JSON object that contains the user's device information with the following structure:
{
"os": "string",
"browser": "string",
"country": "string",
"isp": "string",
"ip": "string",
"ip_location": "string",
"geolocation": "string",
"vpn": "boolean"
}
The following table explains the details of each field:
Note:
There will be various responses depending on user activity. There are two categories:
- Mandatory: means the field and its value will always be returned, even with
null
values.- Optional: means the field would not exist in some cases. I.e., the transaction is not completed yet. Thus, some fields are missing.
Fields | Data Type | Mandatory/Optional | Description | Possible Responses |
---|---|---|---|---|
os | string | Mandatory | The operation system the user's mobile phone utilizes, e.g., iOS 10.3.1`. | It will always be present. |
browser | string | Mandatory | The web browser the user uses to access the link, e.g: Mobile Safari 10.0 . | It will always be present. |
country | string | Mandatory | The user's country detected using IP address. | It will always be present. |
isp | string | Mandatory | The internet service provider oof the user. e.g: Hurricane Electric LLC . | It will always be present. |
ip | string | Mandatory | The user's IP address. | It will always be present. |
ip_location | string | Mandatory | The user's location is detected using the IP address in lat, lng format. | It will always be present. |
geolocation | string | Optional | The user's geolocation in lat, lng format. | - The field will not exist if the user declines location capture on his phone. - If the user doesn't let the transaction track his location, the result will be invalid with null .- Otherwise, it will always be present. |
vpn | boolean | Mandatory | VPN detection result. | - true if the user is using VPN.- Otherwise, it will return false . |
Below is the device_info
sample response:
"device_info": {
"browser": "Chrome 98.0.4758.101",
"country": "Japan",
"geolocation": "41.7531013,123.353001",
"ip": "91.207.174.99",
"ip_location": "35.6164,139.7425",
"isp": "M247 Ltd",
"os": "Android 12",
"vpn": true
}
💬 We Are Here to Help!
If you encounter an issue, a bug, or require assistance, please contact our support page here to find the solution. Don't forget to provide any important information on the issue.