GET
Name | Pattern | Mandatory | Description |
---|---|---|---|
threeDSServerTransID | Length: 36 characters JSON Data Type: String Value accepted: Canonical format as defined in IETF RFC 4122. May utilise any of the specified versions if the output meets specified requirements |
Mandatory | A unique identifier for the transaction that will be the same as the 3DS Server Transaction ID in the AReq |
Name | Pattern | Mandatory | Description |
---|---|---|---|
browserScreenHeight | Length: Variable, 1–6 characters; Numeric JSON Data Type: String |
Conditional | Total height of the Cardholder’s screen in pixels. Value is returned from the screen.height property. Required when Browser JavaScript Enabled = true; otherwise Optional. |
browserScreenWidth | Length: Variable, 1–6 characters; Numeric JSON Data Type: String |
Conditional | Total width of the cardholder’s screen in pixels.<br Value is returned from the screen.width property. Required when Browser JavaScript Enabled = true; otherwise Optional. |
browserColorDepth | Length: : 1–2 characters JSON Data Type: String Value accepted: • 1 = 1 bit • 4 = 4 bits • 8 = 8 bits • 15 = 15 bits • 16 = 16 bits • 24 = 24 bits • 32 = 32 bits • 48 = 48 bits |
Conditional | Value representing the bit depth of the colour palette for displaying images, in bits per pixel. Obtained from Cardholder browser using the screen.colorDepth property Required when Browser JavaScript Enabled = true; otherwise Optional. |
browserTZ | Length: Variable, 1–5 characters; JSON Data Type: String Value accepted: • Value is returned from the getTimezoneOffset() method. |
Conditional | Time-zone offset in minutes between UTC and the Cardholder browser local time. Note that the offset is positive if the local time zone is behind UTC and negative if it is ahead Required when Browser JavaScript Enabled = true; otherwise Optional. |
browserJavaEnabled | JSON Data Type: Boolean Value accepted: • true • false |
Conditional | Boolean that represents the ability of the cardholder browser to execute Java. Value is returned from the navigator.javaEnabled property. Required when Browser JavaScript Enabled = true; otherwise Optional. |
browserJavascriptEnabled | JSON Data Type: Boolean Value accepted: • true • false |
Mandatory | Boolean that represents the ability of the cardholder browser to execute JavaScript. |
browserLanguage | Length: Variable, 1–8 characters; JSON Data Type: String |
Mandatory | Value representing the browser language as defined in IETF BCP47. Returned from navigator.language property. |
http://10.102.102.75:7690/api/browserinfo/ea4b06a9-eabe-439a-8df1-c3856490df81
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Collect Browser Info</title>
<script type="text/javascript">
function isJavaEnabled() {
return navigator.javaEnabled();
}
function getBrowserTimeZone() {
return new Date().getTimezoneOffset();
}
function onLoadFunction() {
document.getElementById('cardholderBrowserObjectModelInfoAsJson').value = JSON.stringify({
browserScreenHeight: screen.height,
browserScreenWidth: screen.width,
browserColorDepth: screen.colorDepth,
browserTZ: getBrowserTimeZone(),
browserJavaEnabled: isJavaEnabled(),
browserJavaScriptEnabled: true,
browserLanguage: navigator.language
});
document.getElementById('collect-form').submit();
}
</script>
</head>
<body onload="onLoadFunction()">
<noscript>
<div>Please enable JavaScript</div>
</noscript>
<form th:action="${threeDSMethodCollectURL}" id="collect-form" method="post">
<input name="threeDSServerTransID" th:value="ea4b06a9-eabe-439a-8df1-c3856490df81" type="hidden"/>
<input id="cardholderBrowserObjectModelInfoAsJson" name="cardholderBrowserObjectModelInfoAsJson" type="hidden" value=""/>
</form>
</body>
</html>