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.

Installation🔗

You can install Razorpay using Maven or Gradle.

Maven🔗

  1. Download and install Maven on your system.

  2. Download the latest Source code zip file from the Releases section of GitHub.

  3. 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>

Gradle🔗

  1. Download and install Gradle on your system.

  2. Download the latest Source code zip file from the Releases section of GitHub.

  3. Unzip the file and add this dependency to the build file of the project:

    Copycompile "com.razorpay:razorpay-java:x.y.z" //x.y.z = the version you want to install
×