The Ratepay Java SDK is published as a Maven artifact under the group ID com.ratepay.sdk.
pom.xml
<dependency>
<groupId>com.ratepay.sdk</groupId>
<artifactId>ratepay-sdk-core</artifactId>
<version>1.16.1</version>
</dependency>To verify that the SDK is installed and your credentials are working, initialize a RatepayClient and call validateCredentials(). This method requests or reuses an OAuth access token to verify authentication without initiating a payment.
For instructions on initializing the client and managing authentication, see Client configuration and Authentication.