How to install
Using Maven
Add this dependency to your project’s POM:XML
XML
Using Gradle
Add this dependency to your project’s build file:Groovy
Kotlin
Others
Generate the JAR file:Bash
sdk/build/libs/java-sdk-8.0.0.jar.
Usage
Initialize the client instance and use it to make API requests. You need to specify your secret API key and region (if it is not US/Global).Java
Migration guide for Java SDK v8.0.0
Version 8.0.0 migrates the SDK from Server API v3 to v4. This is a breaking change.Package rename
The artifact ID changed fromfingerprint-pro-server-api-java-sdk to java-sdk. All import paths changed from com.fingerprint.* to com.fingerprint.v4.*.
Gradle (build.gradle):
Groovy
Import changes
All imports change fromcom.fingerprint.* to com.fingerprint.v4.*:
Java
getEvent return type
getEvent now returns Event instead of EventsGetResponse. The event object has a flatter structure — Smart Signals are now top-level fields instead of nested under products:
Java
getVisits replaced by searchEvents
getVisits and getRelatedVisitors have been removed. Use searchEvents to query visitor history:
Java