Stripe + Steampipe
Stripe provides payment processing software and application programming interfaces (APIs) for e-commerce websites and mobile applications.
Steampipe is an open source CLI to instantly query cloud APIs using SQL.
For example:
select id, name, descriptionfrom stripe_product
+---------------------+-----------------------+------------------------+| id | name | description |+---------------------+-----------------------+------------------------+| prod_Gm5Ugng0ZhPIxt | Airstream Deluxe A4 | The Cadillac of Paper. || prod_Hx0RdoxVyNJ3aC | 40 pound Letter Stock | <null> || prod_GnCKT8Km8WsOwK | Premium Copy Paper | <null> |+---------------------+-----------------------+------------------------+
Documentation
Get started
Install
Download and install the latest Stripe plugin:
steampipe plugin install stripe
Credentials
Item | Description |
---|---|
Credentials | Stripe requires an API key for all requests. |
Radius | Each connection represents a single Stripe account. |
Configuration
Installing the latest stripe plugin will create a config file (~/.steampipe/config/stripe.spc
) with a single connection named stripe
:
connection "stripe" { plugin = "stripe" api_key = "sk_test_giG4MlyrcybGi1YFDEXAMPLE"}
api_key
- Your Stripe API key for test or live data.
Get involved
- Open source: https://github.com/turbot/steampipe-plugin-stripe
- Community: Slack Channel