Install Razorpay Java SDK
Install the Java server-side SDK to interact with Razorpay APIs to start accepting payments.
You can install the Razorpay Java SDK and integrate it with your Java-based website to accept payments, initiate refunds and much more.
Java 1.7 or higher
You can install Razorpay using Maven or Gradle.
Download and install Maven on your system.
Download the latest Source code zip file from the Releases section of GitHub.
Unzip the file and add this dependency to the project object model (POM) of your project.Copy
<dependency> <groupId>com.razorpay</groupId> <artifactId>razorpay-java</artifactId> <version>x.y.z</version> //x.y.z = the version you want to install </dependency>