Connect Stripe to ChatGPT

Connect Stripe to ChatGPT with the Windsor.ai plugin.

Ask ChatGPT about transactions, fees, payouts, refunds, invoices and subscriptions, and create a Stripe customer and subscription after you confirm the details.

No code needed. You need a Stripe API key.

Free forever plan No credit card needed
logo connect
Windsor.ai is your proven Stripe to ChatGPT connector
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2
google cloud
meta partner
google partner
snowflake
users love us
medal
soc2

Ask ChatGPT about Stripe revenue, fees and subscriptions

With the Windsor.ai plugin, ChatGPT reads Stripe balance transactions, payouts, refunds, invoices, subscriptions and products from the Stripe account you connect.

See fees and net amounts by reporting category

Each Stripe balance transaction has a gross amount, a fee, a net amount and a reporting category, such as charge, refund or payout. Ask ChatGPT for fees and net amounts by category and by week to see which categories cost the most in fees.

Find Stripe trials that end soon

Stripe subscriptions carry a trial start and end date, a status and a default payment method. Ask ChatGPT which Stripe subscription trials end in the next 14 days, and which of them have no payment method set on the subscription. The customer may still have a default card, but customer records don’t come through Windsor.ai’s Stripe connector. Subscriptions created more than 30 days ago need a paid plan.

Group cancellations by reason

Each canceled Stripe subscription carries Stripe’s cancellation reason and, when the customer canceled it themselves, their feedback and comment. Ask ChatGPT to count cancellations by reason and feedback for a period, and to add up the monthly amount the canceled subscriptions were paying. Subscriptions created more than 30 days ago need a paid plan, even if they were canceled recently.

List Stripe subscriptions at risk of ending

Ask ChatGPT for Stripe subscriptions with a past_due, unpaid or paused status, or set to cancel at the end of the current period. ChatGPT can sort them by amount and show when each current period ends. Subscriptions created more than 30 days ago need a paid plan.

How ChatGPT reads your Stripe data through Windsor.ai

Supported fields: 35 metrics169 dimensions

Windsor.ai reads Stripe balance transactions, payouts, refunds, invoices, subscriptions, subscription items, products and your account balance. The Stripe field reference lists every field. Balance transactions include the amount, fee, net amount, currency, type, reporting category, customer ID and email. Subscriptions include the status, start date, current period, trial dates, cancellation details and collection method. Subscription items include the price unit amount, billing interval and quantity.

A subscription item’s amount is its price unit amount times its quantity. Windsor.ai’s Stripe connector has no MRR field, but you can ask ChatGPT to estimate MRR from these amounts. The MRR question in the FAQs below gives the rule. Amounts are in the currency’s smallest unit, such as cents, so ChatGPT divides by 100 for USD or EUR.

Windsor.ai reads Stripe when ChatGPT asks, and if ChatGPT runs the same query again within 6 hours, Windsor.ai can return the saved result. ChatGPT can create a Stripe customer and a subscription through two write actions, listed below, and asks you to confirm before it runs either one.

ChatGPT answer with Stripe fees and net amount by reporting category from the Windsor.ai plugin

Available actions


Create Customer

Create a new Stripe customer and return its id (cus_...), which create_subscription then uses to start a subscription. Provide at least an email or a name.

Parameters
emailstringnamestringdescriptionstringmetadatastring
Create Subscription

Create a recurring Stripe subscription for an existing customer, billing a fixed amount each interval (e.g. an opportunity or contract value from a CRM). amount is in the currency's minor unit (e.g. cents: 5000 means 50.00). A price is created inline for that amount; set product to bill against an existing product, otherwise product_name names a new product (defaults to "Subscription"). collection_method defaults to send_invoice, which emails the customer an invoice; days_until_due sets how many days they have to pay (defaults to 0, due on receipt). Use charge_automatically to charge the customer's saved payment method instead.

Parameters
customerstringRequiredamountintegerRequiredcurrencystringRequiredintervalstringRequiredinterval_countintegerproductstringproduct_namestringcollection_methodstringdays_until_duestringdescriptionstringmetadatastring
Join 40,000+ businesses that trust Windsor.ai to streamline Stripe to ChatGPT integration
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma
audi logo
colgate
asics
roche
novo nordisk logo
UBS
unicef
verisure
wpp
club med
skoda
heineken
puma

How to connect Stripe to ChatGPT with Windsor.ai

Follow the Stripe to ChatGPT guide to add your Stripe API key in Windsor.ai and install the Windsor.ai plugin in ChatGPT.

1

Add your Stripe API key in Windsor.ai

In the Stripe Dashboard, open the API keys page under Developers. Under Standard keys, select Reveal live key and copy the secret key (it starts with sk_). If you can’t reveal it, create a new secret key and copy it before you close the dialog. A test key works on your sandbox and a live key on your live account, and the two write actions run on whichever account the key belongs to. Try the write prompts with a test key first.

Open the Stripe connector page in Windsor.ai, paste the key in API Key, add an account name if you like, and select Add Account.

The Windsor.ai form’s help text asks for the secret key, which has full access to your Stripe account. You can expire or rotate it on the API keys page at any time. After you rotate it, paste the new key in Windsor.ai.

If you’d rather use a restricted key (it starts with rk_), test it in Windsor.ai first. If Windsor.ai accepts it, give it read access only to the Stripe resources you report on. For reporting, the key doesn’t need write access.

Stripe connect form in Windsor.ai with account name and API key fields
Connect Windsor.ai pop-up in the ChatGPT Plugins page
ChatGPT answer with Stripe fees and net amount by reporting category from the Windsor.ai plugin

FAQs

Can ChatGPT connect to Stripe?

Yes. The Windsor.ai plugin reads Stripe data with your API key (Step 1 above) and can create customers and subscriptions. Stripe also has its own ChatGPT plugin, which connects through Stripe’s consent page. Stripe’s plugin suits work inside Stripe, such as refunds, and Windsor.ai suits Stripe next to your ad and analytics data.

Ask ChatGPT about your Stripe revenue. Try Windsor.ai free.

Access your data from various sources in one place. Get started for free.
g logo
fb logo
big query data
youtube logo
power logo
looker logo