The Java client library for the GoCardless API
Java
Latest commit 0c4541e Sep 29, 2015 @hmarr hmarr Link to the pro library

README.md

GoCardless Java Client Library

Important notice: if you're using GoCardless Pro, use the Pro Java client instead.

The GoCardless Java client provides a simple interface to the GoCardless API.

You can sign up for a GoCardless account at https://gocardless.com.

Requirements

Java 6 or later.

Using with Maven

Add this dependency to your project's POM:

<dependency>
  <groupId>com.gocardless</groupId>
  <artifactId>gocardless-java</artifactId>
  <version>3.1.0</version>
</dependency>

Using without Maven

Note that using gocardless-java with Maven is the officially supported and recommended method.

That said, if you want to use gocardless-java without Maven, just:

  • Download the jar from the Maven Central Repository
  • Ensure the jar is on your classpath
  • Ensure you have the various dependency jars on your classpath (Apache Commons Lang, Apache Commons Codec, Apache Commons BeanUtils, Google GSON)

Usage

Refer to the documentation.