stripe
Version, currently 0.0.14 versions
- 0.0.4latestSep 8, 2024
- 0.0.3not indexedSep 8, 2024
- 0.0.2not indexedSep 8, 2024
- 0.0.1not indexedSep 8, 2024
github.com/cyangle/stripe
Stripe API Client Generated by OpenAPI Generator
Nothing has been indexed for 0.0.1 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
stripe:
github: cyangle/stripe
version: ~> 0.0.1Then run:
shards installshard.yml
No shard.yml has been indexed for 0.0.1. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
stripe
Experimental Stripe API Client!
The Crystal module for the Stripe API
The Stripe REST API. Please see https://stripe.com/docs/api for more details.
This SDK is automatically generated by the OpenAPI Generator project with CUSTOM templates:
- API version: 2024-06-20
- Stripe OpenAPI version v1250
- Package version: 0.0.4
- Build package: org.openapitools.codegen.languages.CrystalClientCodegen
- Custom templates: crystal_client_generator
For more information, please visit https://stripe.com
Installation
Install from Git
Add the following to shard.yaml
dependencies:
stripe:
github: cyangle/stripe
version: ~> 0.0.4
Usage
Warning: Experimental Stripe SDK, use at your own risk!
Check here for more information about how to use stripe APIs.
Below lists only a few examples of the most interesting APIs, the client should support APIs provided by the stripe OpenAPI specification file as it's generated from the OpenAPI v3 specification ./stripe_api_spec_fixed.json.
Require this shard in your project
First you need to require it.
require "stripe"
# Or Require a specific api
require "stripe/api/balance_api"
Configure client with stripe credentials
Stripe.configure do |config|
config.access_token = "STRIPE_API_KEY"
end
Stripe::ApiClient.default.default_headers["Stripe-Version"] = "2024-06-20"
You can try stripe APIs with their test API key: sk_test_4eC39HqLyjWDarjtT1zdp7dc
Create an instance of Stripe::BalanceApi
api = Stripe::BalanceApi.new
Get balance
balance = api.get_balance
pp balance
Development
Install dependencies
shards
Run the tests:
crystal spec
Run lints
./bin/ameba
crystal tool format --check
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.0.1- Tagged
- Sep 8, 2024
- Commit
1fb03f819b6d- Indexed
- not yet
Dependents
No indexed shard depends on this one yet.
Repository
github.com/cyangle/stripe
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 4