Skip to content

cashfree/cashfree-payout-sdk-java

Repository files navigation

Cashfree Payout Java SDK

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

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

Documentation

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 !

Getting Started

Installation

  • 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>

Configuration

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

Licence

Apache Licensed. See LICENSE.md for more details

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages