CharlesAHunt / stripe4S

Scala Stripe Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stripe4S

Latest version Maven Central Stripe4S Codacy Badge Codacy Badge

Stripe driver for Scala.

This client is compatible with Stripe API v1

Getting Started

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>

Configuration

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(
....
    )

Usage

//TODO: Coming soon!

About

Scala Stripe Client

License:Apache License 2.0


Languages

Language:Scala 100.0%