The Cashfree Verification Java SDK offers a convenient solution to access Cashfree Verification APIs from a server-side Java applications.
Cashfree's Verification API Documentation - (https://docs.cashfree.com/reference/verification-api-overview)
Try out our interactive guides at Cashfree Dev Studio !
- Gradle Project
implementation `com.cashfree.verification.java:cashfree_verification:2.0.0`
- Maven Project
<dependency>
<groupId>com.cashfree.verification.java</groupId>
<artifactId>cashfree_verification</artifactId>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
</dependency>
import com.cashfree.*;
Cashfree.XClientId = "<x-client-id>";
Cashfree.XClientSecret = "<x-client-secret>";
Cashfree.XEnvironment = Cashfree.SANDBOX;
Cashfree cashfree = new Cashfree();
String xApiVersion = "2022-09-01";
Generate your API keys (x-client-id , x-client-secret) from Cashfree Merchant Dashboard
Apache Licensed. See LICENSE.md for more details