dwolla-v2-kotlin
is an actively maintained client library for Java/Kotlin applications and is used to facilitate interactions with the Dwolla API. The source code is available on our GitHub page. More information is available on the project’s README. Note: The library is currently in preview mode for developers. Any feedback as well as community contribution is encouraged.
Add this to your project's POM:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.Dwolla</groupId>
<artifactId>dwolla-v2-kotlin</artifactId>
<version>0.1.1</version>
</dependency>
Add this to your project's build file:
repositories {
// ...
maven(url = "https://jitpack.io") {
name = "jitpack"
}
}
dependencies {
implementation("com.github.Dwolla:dwolla-v2-kotlin:0.1.1")
}
Let's set up a Dwolla client using our application key and secret:
import com.dwolla.Client
import com.dwolla.Environment
val dwolla = Client(
key = "yourClientKey", // see dashboard.dwolla.com
secret = "yourClientSecret", // for your client credentials
environment = Environment.SANDBOX
)
import com.dwolla.Client;
import com.dwolla.Environment;
Client dwolla = new Client(
"yourClientKey", // see dashboard.dwolla.com
"yourClientSecret", // for your client credentials
Environment.SANDBOX
);
All funds transfers made using the Dwolla Platform are performed by a financial institution partner, and any funds held in a Dwolla Balance are held by a financial institution partner. Learn more about our financial institution partners.