HTTPS SSH

The Java SDK for Juspay APIs.

REQUIREMENTS

JDK 1.7 or higher.

CHANGELOG

https://bitbucket.org/juspay/expresscheckout-java-sdk/src/8557446d2f20/CHANGELOG.md

INSTALLATION

You can obtain the latest copy of the code using this command:

git clone https://bitbucket.org/juspay/expresscheckout-java-sdk.git

Getting Started

For Maven, add the following dependency to your pom.xml file:

<dependency>
  <groupId>in.juspay</groupId>
  <artifactId>expresscheckout</artifactId>
  <version>1.0.9</version>
</dependency>

In other environments, manually install the following JARs:

  1. ExpressCheckout-SDK from expresscheckout-1.0.8.jar.
  2. Apache-HttpClient from httpclient-4.5.2.jar.
  3. Apache-HttpCore from httpcore-4.4.4.jar.
  4. Hamcrest-Core from hamcrest-core-1.3.jar.
  5. Commons-Codec from commons-codec-1.9.jar.
  6. Commons-Logging from commons-logging-1.2.jar.
  7. Google-Gson from gson-2.7.jar.
  8. Log4j-Core from log4j-core-2.6.2.jar.
  9. Log4j-Api from log4j-api-2.6.2.jar.
  10. Junit from junit-4.12.jar (only if you wish to execute the Test cases).

Usage

Setup the SDK environment using the following code:

JuspayEnvironment.withBaseUrl(JuspayEnvironment.PRODUCTION_BASE_URL).withApiKey(<your_api_key>);

Following baseUrls are available for your usage:
    1. JuspayEnvironment.PRODUCTION_BASE_URL
    2. JuspayEnvironment.SANDBOX_BASE_URL

Test

To run all the test cases, simply issue the following command

mvn test //inside your ${PROJECT_DIRECTORY}

Questions?

Still have any questions? Feel free to mail us here - support@juspay.in.