Skip to content

cashfree/cashfree-verification-sdk-java

Repository files navigation

Cashfree Verification Java SDK

GitHub Discord GitHub last commit (branch) GitHub release (with filter) GitHub forks Coverage Status

The Cashfree Verification Java SDK offers a convenient solution to access Cashfree Verification APIs from a server-side Java applications.

Documentation

Cashfree's Verification API Documentation -https://docs.cashfree.com/reference/verification-api-overview

Try out our interactive guides at Cashfree Dev Studio !

Getting Started

Installation

  • Gradle Project
implementation `com.cashfree.verification.java:cashfree_verification:2.0.10`
  • Maven Project
<dependency>
  <groupId>com.cashfree.verification.java</groupId>
  <artifactId>cashfree_verification</artifactId>
  <version>2.0.10</version>
  <scope>compile</scope>
</dependency>
<dependency>
    <groupId>com.squareup.okhttp3</groupId>
    <artifactId>okhttp</artifactId>
    <version>4.10.0</version>
</dependency>

Configuration

import com.cashfree.*;

CashfreeVrs.XClientId = "<x-client-id>";
CashfreeVrs.XClientSecret = "<x-client-secret>";
CashfreeVrs.XEnvironment = CashfreeVrs.SANDBOX;

CashfreeVrs cashfree = new CashfreeVrs();
String xApiVersion = "2024-01-01";

Generate your API keys (x-client-id , x-client-secret) from Cashfree Merchant Dashboard

Licence

Apache Licensed. See LICENSE.md for more details