Device
Object
| Name | Type | Mandatory | Description |
|---|---|---|---|
| type | string | Y | The device used to process the payment. Browser is currently the only supported type |
| browser_width | int | Y | Total width of the screen in pixels |
| browser_height | int | Y | Total width of the screen in pixels |
| browser_time_zone_offset | int | Y | Time difference between UTC time and the browser local time, in minutes |
| browser_color_depth | int | Y | Value representing the bit depth of the color palette, in bits per pixel. (Accepted values: 1, 4, 8, 15, 16, 24, 32, 48) |
| browser_java_enabled | bool | Y | Represents the ability of the browser to execute Java |
| browser_language | string | Y | Value representing the browser language as defined in IETF BCP47 |
| accept_header | string | Y | Exact content of the HTTP accept headers |
| user_agent_header | string | Y | Exact content of the HTTP user-agent header |
Example
{
"type": "browser",
"browser_width": "1024",
"browser_height": "768",
"browser_time_zone_offset": "-120",
"browser_color_depth": "48",
"browser_java_enabled": "1",
"browser_language": "en",
"accept_header": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"user_agent_header": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36"
}