Official Scala Wrapper for Dwolla's API
Scala
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 2 commits ahead of coreyjonoliver:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
dwolla-sdk/src
examples/src/main/scala/dwolla/sdk/examples
project
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md

README.md

dwolla-scala-sdk

Deprecation warning

This repository is for an old version of our API and is no longer actively maintained. Please use our new SDKs.

No Maintenance Intended

Build Status

Scala Dwolla API wrapper

Using with SBT

dwolla-scala-sdk is available on the Maven Central repository. Simply use the following:

libraryDependencies += "com.dwolla" % "dwolla-scala-sdk" % "1.0.0"

A snapshot is also available:

resolvers +=
  "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"

libraryDependencies += "com.dwolla" % "dwolla-scala-sdk" % "1.0.1-SNAPSHOT"

Usage

dwolla-scala-sdk uses Akka and Spray to make asynchronous requests. This requires defining a few implicits of the following types:

implicit val system = ActorSystem()
implicit val timeout: Timeout = 1.minutes
implicit val ec = ExecutionContext.global

Next create an instance of DwollaSdk:

val dwollaSdk = new DwollaSdk()

Now call methods on the instance of DwollaSdk as desired:

val createTransactionFuture = dwollaSdk.Transaction.create(accessToken, pin, "812-713-9234", .01)

Versioning

dwolla-scala-sdk uses Semantic Versioning.

License

Apache 2 - See LICENSE