crystal-stripe

stripe

A Crystal library for interacting with the Stripe API. This library provides a clean and idiomatic Crystal interface to the Stripe payment processing platform.

Installation

Add this to your application's shard.yml:

dependencies:
  stripe:
    github: petterthowsen/crystal-stripe

Then run:

shards install

Usage

require "stripe"

# Initialize the client with your API key
client = Stripe::Client.new(api_key: ENV["STRIPE_API_KEY"])

# Create a customer

Contributing

  1. Fork it (https://github.com/your-github-user/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

crystal-stripe

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • 14 days ago
  • June 28, 2025
License

MIT License

Links
Synced at

Tue, 15 Jul 2025 01:59:36 GMT

Languages