stripe

Stripe API client for Crystal

stripe

Crystal implementation of the Stripe API

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      stripe:
        github: jgaskins/stripe
    
  2. 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

  1. Fork it (https://github.com/jgaskins/stripe/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

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