The Cashfree Payout Java SDK offers a convenient solution to access Cashfree Payout APIs from a server-side Java applications.
Cashfree's Payout API Documentation -https://docs.cashfree.com/reference/version-2
Learn and understand payment gateway workflows at Cashfree Payouts here
Try out our interactive guides at Cashfree Dev Studio !
- Gradle Project
implementation `com.cashfree.payout.java:cashfree_payout:2.0.2`
- Maven Project
<dependency>
<groupId>com.cashfree.payout.java</groupId>
<artifactId>cashfree_payout</artifactId>
<version>2.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>4.10.0</version>
</dependency>
import com.cashfree.*;
CashfreePayout.XClientId = "<x-client-id>";
CashfreePayout.XClientSecret = "<x-client-secret>";
CashfreePayout.XEnvironment = CashfreePayout.SANDBOX;
CashfreePayout cashfree = new CashfreePayout();
String xApiVersion = "2024-01-01";
Generate your API keys (x-client-id , x-client-secret) from Cashfree Merchant Dashboard
Apache Licensed. See LICENSE.md for more details