getBrowserData
const getBrowserData: () => ThreeDSBrowserData;
Collects the browser information a 3DS authentication request needs.
These are the JS-reachable EMVCo browserInformation fields; browserIP and browserAcceptHeader
are filled in server-side from the request itself. Pass the result to your backend along with the
vault form token so it can build the authentication request.
Returns
Example
const { vault_form_token } = await secureFields.submit();
await fetch('/checkout/authenticate', {
method: 'POST',
body: JSON.stringify({ vault_form_token, browserData: getBrowserData() }),
});