stripe
stripe
Crystal implementation of the Stripe API
Installation
-
Add the dependency to your
shard.yml
:dependencies: stripe: github: jgaskins/stripe
-
Run
shards install
Usage
The Stripe::Client
takes an API key argument or you can set the STRIPE_API_KEY
environment variable.
require "stripe"
# Pass the API key explicitly
stripe = Stripe::Client.new(api_key)
# ... or pull it from the `STRIPE_API_KEY` env var
stripe = Stripe::Client.new
Contributing
- Fork it (https://github.com/jgaskins/stripe/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Jamie Gaskins - creator and maintainer
Repository
stripe
Owner
Statistic
- 0
- 0
- 0
- 0
- 1
- 6 days ago
- April 16, 2025
License
MIT License
Links
Synced at
Mon, 21 Apr 2025 17:01:44 GMT
Languages