Install Razorpay Java SDK

Install the Java server-side SDK and 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.

Watch Out!

You must be using Java 1.8 or higher.

Here is how you can integrate the Java server-side SDK with your Java based website:

You can install Razorpay using Maven or Gradle.

  • Download and install on your system.
  • Download the zip file from the Releases section of GitHub.
  • Unzip the file and add this dependency to the project object model (POM) of your project.
  • Import the following packages before your get started:

    import org.json.JSONObject;
    import com.razorpay.*;


    Is this integration guide useful?