dwolla-java-sdk v1.1.8
The Dwolla API wrapper for Java and Android. See the DwollaServiceAsync and DwollaServiceSync classes for the supported endpoints. It usees the Retrofit REST client by Square. For more information, see Retrofit's samples.
Using with Maven and Gradle
dwolla-java-sdk
is published to Maven Central. To include it in a Maven project, include the following in pom.xml:
<dependency>
<groupId>com.dwolla</groupId>
<artifactId>dwolla-java-sdk</artifactId>
<version>1.1.8</version>
</dependency>
For Gradle (Android's new default build automator), include the following in build.gradle:
dependencies {
classpath 'com.dwolla:dwolla-java-sdk:1.1.8'
}
Quick Start
- Open App.java and take a look at the commented code
- If you haven't already, register for a Dwolla account and follow the Getting Started documentation to create an application and generate an OAuth token using your new application
- Enter your application key, secret, OAuth token, and PIN into the appropriate fields in App.java
- If you don't have it already, download Maven and follow the installation instructions here
git clone git@github.com:Dwolla/dwolla-java.git
cd dwolla-java-sdk/samples
mvn package
java -cp target/dwolla-example-1.0-SNAPSHOT.jar com.example.App
- You should see "Reflector by Dwolla" and two transaction Ids printed to the terminal
Support
- Dwolla API | api@dwolla.com | @DwollaAPI
- Rocky Warren | rocky@dwolla.com | @therockstorm
License
Copyright © 2013 Dwolla