(static) VERSION :string

The current version of the SDK, i.e. 3.57.0.



(static) create(options, callbackopt) → {Promise|void}

Creates a DataCollector instance.

Name Type Attributes Description
options object

Creation options:

Name Type Attributes Description
client Client <optional>

A Client instance.

authorization string <optional>

A tokenizationKey or clientToken. Can be used in place of options.client.

kount boolean <optional>

If true, Kount fraud data collection is enabled. Before using the kount option, make sure you have enabled advanced fraud protection in the Braintree gateway. To use your own Kount ID, contact our support team ( or 877.434.2894).

Note: the data sent to Kount is asynchronous and may not have completed by the time the data collector create call is complete. In most cases, this will not matter, but if you create the data collector instance and immediately navigate away from the page, the device information may fail to be sent to Kount.

paypal boolean <optional>

If true, PayPal fraud data collection is enabled.

callback callback <optional>

The second argument, data, is the DataCollector instance.