Stripe driver for Scala.
This client is compatible with Stripe API v1
You may need to add the Sonatype nexus to your resolvers:
resolvers ++= Seq("OSS" at "http://oss.sonatype.org/content/repositories/releases")
sbt:
libraryDependencies += "com.charlesahunt" % "stripe4s_2.13" % "0.1.0"
maven:
<dependency>
<groupId>com.charlesahunt</groupId>
<artifactId>stripe4s_2.13</artifactId>
<version>0.1.0</version>
</dependency>
To configure your application with Stripe4S, you will need to create a Stripe4SConfig configuration object to initialize
client. You will most likely want to materialize the configuration case class from an application.conf
that looks like the following to a case class using Config.configuration
in your code:
stripe4S {
...
}
You can also create the Stripe4SConfig manually in your source like so:
Stripe4SConfig(
....
)
//TODO: Coming soon!