Prerequisites
Before proceeding, ensure the following prerequisites are met:- Install MindsDB locally via Docker or use MindsDB Cloud.
- To connect Stripe to MindsDB, install the required dependencies following this instruction.
- Install or ensure access to Stripe.
Connection
This handler was implemented using stripe-python, the Python library for the Stripe API. There is only one parameter required to set up the connection with Stripe:api_key
: a Stripe API key.
You can find your API keys in the Stripe Dashboard. Read more.
Usage
Now, you can query the data in your Stripe account (customers, for example) as follows:Supported tables
The following tables are supported by the Stripe handler:customers
products
payment_intents