Scala Dwolla API wrapper
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"
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)
dwolla-scala-sdk uses Semantic Versioning.
Apache 2 - See LICENSE