📱 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.
FieldsData TypeMandatory/OptionalDescriptionPossible Responses
osstringMandatoryThe operation system the user's mobile phone utilizes, e.g., iOS 10.3.1`.It will always be present.
browserstringMandatoryThe web browser the user uses to access the link, e.g: Mobile Safari 10.0.It will always be present.
countrystringMandatoryThe user's country detected using IP address.It will always be present.
ispstringMandatoryThe internet service provider oof the user. e.g: Hurricane Electric LLC.It will always be present.
ipstringMandatoryThe user's IP address.It will always be present.
ip_locationstringMandatoryThe user's location is detected using the IP address in lat, lng format.It will always be present.
geolocationstringOptionalThe 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.
vpnbooleanMandatoryVPN detection result.- true if the user is using VPN.

- Otherwise, it will returnfalse.

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.