Skip to content

adamkuipers/stripe-scala

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

= Stripe Scala bindings

== Installation The current release is distributed for Scala 2.11.0 or later. Add +stripe-scala+ as a dependency in sbt or Maven:

== Run the test suite

Set API_KEY environment variable to your stripe test secret key before running tests.

== Documentation === Example

import com.stripe
stripe.apiKey = "sSs57dBsUSkxo3lQPsNKNDX5H0RAcYsj"
val charge = stripe.Charge.create(Map(
  "amount" -> 100,
  "currency" -> "usd",
  "card" -> Map("number" -> "4242424242424242", "exp_month" -> 3, "exp_year" -> 2015)
))

See https://stripe.com/api for the most up-to-date documentation.

About

Stripe Scala Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 97.9%
  • Java 2.1%