Are you looking for test card numbers?

Would you like to contact support?

Risk-management icon

Device fingerprinting

Device Fingerprinting allows you to log attributes of the shopper device and analyze them during repeat visits of the same shopper.

Adyen provides you with the following options depending on the integration type you use:

Get the fingerprint

First, calculate a fingerprint on a client side and submit it to your server, along with other payment details.

Calculating the device fingerprint might take some time varying on the shopper's computer speed and Internet connection. Run fingerprinting on page load to ensure that the fingerprint is successfully calculated while a shopper fills out payment details.

To get the device fingerprint:

  1. Add a reference to the script to your Checkout page. Browsers typically cache JavaScript files, so we recommend specifying the current date (YYYYMMDD) in the URL (for instance, This ensures you benefit from future updates to the calculation of the device fingerprint.
  2. Add a hidden field with any id to your page.
  3. Calculate a fingerprint for the hidden field by calling the dfDo function with the field's id as a parameter.

The JavaScript file that calculates the device fingerprint has been minified to reduce loading time.

Below is an example form that calculates the device fingerprint using the bar hidden field.

    <title>Your Website</title>
<p>Your Checkout page.</p>
    <script type="text/javascript" src=""></script>
    <form action="" method="POST">
      Your other payment related fields
      <input type="hidden" name="foo" id="bar" />
      <input type="submit" value="Submit" />

Submit the fingerprint to Adyen

After the device fingerprint is calculated and submitted to your server, include this fingerprint into the payment request in the deviceFingerprint field value. The Adyen payments platform then uses this fingerprint for fraud checks on the payment request.

      "holderName":"Adyen Test",
   "reference":"Your Reference Here",
<soap:Envelope xmlns:soap="" xmlns:xsd="" xmlns:xsi="">
      <ns1:authorise xmlns:ns1="">
            <amount xmlns="">
               <currency xmlns="">EUR</currency>
               <value xmlns="">2000</value>
            <card xmlns="">
               <holderName>Adyen Test</holderName>
            <merchantAccount xmlns="">YourMerchant</merchantAccount>
            <reference xmlns="">Your Reference Here</reference>
            <shopperEmail xmlns=""></shopperEmail>
            <shopperIP xmlns=""></shopperIP>
            <shopperReference xmlns="">YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j</shopperReference>
            <deviceFingerprint xmlns="">m7Cmrf++0cW4P6XfF7m/rA</deviceFingerprint>