Stripe data model: balance transactions, payouts and subscriptions as tables
OWOX loads Stripe balance transactions, charges, refunds, disputes, payouts, invoices and subscriptions into your data warehouse as separate tables, with the keys and joins already drawn.
- Open source. OWOX Data Marts is open source: you can read the code that loads and models your data, and run it yourself.
- You own the data. Stripe tables load into your data warehouse, under your account. If you leave OWOX, they stay where they are.
- MCP-ready. Once the data is in, Claude or ChatGPT can work from your Data Marts through OWOX MCP.
Don't wire up Stripe by hand. Have your AI assistant load it into your data warehouse.
Your assistant sets up the Stripe connector with you and loads the tables you pick; OWOX keeps them in your data warehouse, ready to use.
The prompt
Read https://www.owox.com/ai-agent-setup.md and follow it to set up OWOX Data Marts for me, starting from /data-sources/stripe.md. The task: set up the Stripe connector in OWOX Data Marts, let me pick the tables I need, load them into my data warehouse and show me the first rows. Tag the links you give me with utm_campaign=ai-task and utm_term=data-source. Use what you know about my context and goals
Prefer to start on your own? Get started free
The Stripe data model
Start from Balance Transactions: each row is one movement of money, with the gross amount, Stripe's fee and the net that lands in your balance.
- Charges, Refunds, Disputes and Payouts all hold the id of the balance transaction they created.
- Subscriptions are the recurring half.
- Subscription Items point at Prices, Prices at Products, and Invoices with their Invoice Line Items bill the result to a Customer.
- Payment Intents record every checkout attempt, including those that never became a charge, and Events logs each change Stripe made.
- All tables carry id and
account_id, so a second Stripe account can load into the same table without colliding. - Amounts are integers in the smallest unit of the currency, so a cent or a yen is 1.
How the tables join (28)
Balance transactions joins to Chargeson
source = idN:1 (many to one)When type is charge or payment.
Balance transactions joins to Refundson
source = idN:1 (many to one)When type is refund.
Balance transactions joins to Payoutson
source = idN:1 (many to one)When type is payout.
Charges joins to Payment intentson
payment_intent = idN:1 (many to one)The payment attempt lifecycle this charge belongs to.
Charges joins to Invoiceson
invoice = idN:1 (many to one)Set when the charge paid an invoice.
Charges joins to Balance transactionson
balance_transaction = idN:1 (many to one)The fee and net of this charge.
Disputes joins to Chargeson
charge = idN:1 (many to one)Disputes joins to Payment intentson
payment_intent = idN:1 (many to one)Invoice line items joins to Invoiceson
invoice = idN:1 (many to one)Invoice line items joins to Priceson
price_id = idN:1 (many to one)Invoice line items joins to Productson
product_id = idN:1 (many to one)Invoice line items joins to Subscription itemson
subscription_item = idN:1 (many to one)For subscription lines.
Invoices joins to Customerson
customer = idN:1 (many to one)Invoices joins to Subscriptionson
subscription = idN:1 (many to one)Set for subscription invoices.
Invoices joins to Chargeson
charge = idN:1 (many to one)The charge that paid it.
Payment intents joins to Customerson
customer = idN:1 (many to one)Payment intents joins to Chargeson
latest_charge = id1:1 (one to one)The most recent charge attempt.
Payment intents joins to Invoiceson
invoice = idN:1 (many to one)Payouts joins to Balance transactionson
balance_transaction = id1:1 (one to one)The payout's own balance transaction (type payout); the transactions it contains are found with the payout filter on the API or by available_on.
Prices joins to Productson
product = idN:1 (many to one)Refunds joins to Chargeson
charge = idN:1 (many to one)Refunds joins to Balance transactionson
balance_transaction = idN:1 (many to one)The money leaving the balance.
Subscription items joins to Subscriptionson
subscription = idN:1 (many to one)Subscription items joins to Priceson
price_id = idN:1 (many to one)Subscription items joins to Productson
product_id = idN:1 (many to one)Subscriptions joins to Customerson
customer = idN:1 (many to one)Subscriptions joins to Invoiceson
latest_invoice = idN:1 (many to one)The most recent invoice.
Put the model in your warehouse, or turn each table into a Data Mart that keeps its joins.
What the Stripe model gives you
Stripe keeps volume, bank transfers and revenue in separate screens, and they disagree on purpose. In your data warehouse they are columns you can put side by side.
- Sold, settled, banked. Charge amount by created date says what you sold. Balance transaction net by available_on says what you could spend. Payout amount by arrival_date says what hit the bank. One model, one query per question.
- A deposit you can trace. Payouts sit next to the balance transactions with their dates, so when a bank deposit is lower than the sales behind it, fees, refunds and disputes are rows you can add up.
- Recurring revenue you define. MRR is built from subscription items and prices, and invoiced revenue from invoice line items and prices, so a change of plan structure is a change to your query, not a wait for a vendor report.
- Stripe next to your own tables. Match Customers to your customer table on the ids and emails you keep, Charges to orders by the charge id stored with the order, and Payouts to deposits in your bank or QuickBooks feed.
- The same figures everywhere. , and assistants read these tables, so finance and marketing quote one net revenue.
- A restricted key, nothing more. The credential is a restricted Stripe API key. OWOX Data Marts hosts the connector, a custom one whose manifest is open and versioned.
Stripe Endpoints
14 Stripe endpoints you can import. Each lands in its own table in your data warehouse.
Balance transactions
Every movement of money through the Stripe balance: charges, refunds, disputes, fees, payouts, adjustments.
16 fieldsTime seriesCharges
One row per charge attempt: amount, outcome, card details, who paid and which invoice or payment intent it belongs to.
33 fieldsTime seriesCustomers
Every customer object: identity, billing country, delinquency and balance.
17 fieldsDisputes
One row per dispute (chargeback) with its status and evidence deadline.
14 fieldsTime seriesEvents
The audit trail: every change Stripe recorded (invoice.paid, customer.subscription.updated, charge.refunded, …) with the id of the object it concerns.
11 fieldsTime seriesInvoice line items
Every line on every invoice: what was billed, for which price and product, for which period.
19 fieldsInvoices
One row per invoice with amounts, status and period.
31 fieldsTime seriesPayment intents
One row per payment attempt lifecycle: how much was asked for, how much was received, and where it stands.
22 fieldsTime seriesPayouts
One row per transfer from the Stripe balance to the bank account: amount, arrival date, status.
18 fieldsTime seriesPrices
Every price (plan) of every product, active or not, with amount, currency and billing interval.
17 fieldsProducts
The catalogue: every product, active or not.
13 fieldsRefunds
One row per refund: how much was returned on which charge, why, and the balance transaction that reversed the money.
13 fieldsTime seriesSubscription items
The lines of every subscription: which price, how many units.
14 fieldsSubscriptions
One row per subscription in any status (status=all), full refresh every run so cancellations and past-due states are current.
23 fields
Stripe Balance transactions schema
16 fieldsTime seriesstripe_balance_transactions
Every movement of money through the Stripe balance: charges, refunds, disputes, fees, payouts, adjustments.
Questions this table answers
- How much did we net after Stripe fees last month, and how much was fees?
- Which balance transactions made up payout po_… and do they sum to its amount?
- How much revenue became available for payout each week versus how much was charged?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Gross amount of the transaction in the smallest currency unit (cents for USD); negative for money leaving the balance. |
fee | INTEGER | Stripe fees taken on this transaction in the smallest currency unit (cents for USD). |
net | INTEGER | Amount after fees in the smallest currency unit (cents for USD): amount minus fee. What moves to the balance and, later, to the bank. |
currency | STRING | Three-letter ISO currency code of amount, fee and net, lowercase. |
type | STRING | Transaction type: charge, refund, payout, adjustment, stripe_fee, application_fee, transfer, payment, dispute and about forty more. |
reporting_category | STRING | Stripe's reporting category (charge, refund, dispute, fee, payout, …), the stable grouping Stripe uses in its own financial reports. |
source | STRING | Id of the object that caused the movement: a charge (ch\_), refund (re\_), dispute (du\_), payout (po\_). Join key to those tables. |
status | STRING | available or pending: whether the funds can be paid out yet. |
available_on | INTEGER | When the funds became (or become) available for payout. The date to use for revenue that has reached the balance, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
exchange_rate | FLOAT | Exchange rate applied when the charge currency differs from the balance currency; null otherwise. |
description | STRING | Free-text description Stripe attaches to the transaction. |
fee_details | JSON | JSON list of the fees that make up fee: each with amount, currency, type (stripe_fee, application_fee, tax) and description. |
Stripe Charges schema
33 fieldsTime seriesstripe_charges
One row per charge attempt: amount, outcome, card details, who paid and which invoice or payment intent it belongs to.
Questions this table answers
- How many charges failed or were declined this month, and for which reasons?
- What share of volume comes from each card brand and country?
- Which
customershave refunded or disputed charges?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Amount requested in the smallest currency unit (cents for USD). |
amount_captured | INTEGER | Amount actually captured in the smallest currency unit (cents for USD); equals amount unless the charge was authorized for more. |
amount_refunded | INTEGER | Amount refunded so far in the smallest currency unit (cents for USD); grows after creation. |
currency | STRING | Three-letter ISO currency code, lowercase. |
status | STRING | succeeded, pending or failed. |
paid | BOOLEAN | true when the charge succeeded or was successfully authorized. |
captured | BOOLEAN | true when the charge was captured (funds taken), false for an uncaptured authorization. |
refunded | BOOLEAN | true when the charge is fully refunded. |
disputed | BOOLEAN | true when a dispute (chargeback) exists on this charge. |
customer | STRING | Customer id (cus\_). Join to customers. |
payment_intent | STRING | Payment intent id (pi\_) this charge belongs to. Join to payment_intents. |
invoice | STRING | Invoice id (in\_) when the charge paid an invoice. Join to invoices. |
balance_transaction | STRING | Balance transaction id (txn\_) carrying this charge's fee and net. Join to balance_transactions. |
payment_method | STRING | Payment method id (pm\_) used. |
payment_method_type | STRING | Payment method family: card, link, sepa_debit, us_bank_account, … |
card_brand | STRING | Card brand: visa, mastercard, amex, … |
card_funding | STRING | credit, debit or prepaid. |
card_country | STRING | Two-letter issuing country of the card. |
card_last4 | STRING | Last four digits of the card. |
outcome_network_status | STRING | approved_by_network, declined_by_network, not_sent_to_network or reversed_after_approval. |
outcome_risk_level | STRING | Stripe Radar risk level: normal, elevated, highest. |
outcome_seller_message | STRING | Human-readable outcome from Stripe. |
failure_code | STRING | Error code when the charge failed (card_declined, insufficient_funds, …). |
failure_message | STRING | Human-readable failure reason. |
description | STRING | Description set when the charge was created. |
receipt_email | STRING | Email the receipt was sent to. |
statement_descriptor | STRING | Text shown on the customer's card statement. |
billing_country | STRING | Two-letter country from the billing address. |
metadata | JSON | Metadata object your systems attached (order ids, plan names) as a JSON string. |
Stripe Customers schema
17 fieldsstripe_customers
Every customer object: identity, billing country, delinquency and balance.
Questions this table answers
- How many paying customers do we have, and how many are delinquent?
- Which customers were created this month, and which ad campaign brought them (joined on email or metadata)?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
email | STRING | Customer email. |
name | STRING | Customer or company name. |
description | STRING | Free-text description. |
currency | STRING | Currency the customer is billed in, set after the first invoice. |
delinquent | BOOLEAN | true when the latest invoice is unpaid past its due date. |
balance | INTEGER | Account balance in the smallest currency unit (cents for USD): negative means credit the next invoice applies, positive means owed. |
default_payment_method | STRING | Default payment method id for invoices. |
default_source | STRING | Legacy default source id. |
address_country | STRING | Two-letter country of the billing address. |
address_city | STRING | Billing city. |
tax_exempt | STRING | none, exempt or reverse. |
invoice_prefix | STRING | Prefix Stripe uses for this customer's invoice numbers. |
metadata | JSON | Metadata object your systems attached as a JSON string. |
Stripe Disputes schema
14 fieldsTime seriesstripe_disputes
One row per dispute (chargeback) with its status and evidence deadline.
Questions this table answers
- How many disputes are open, how much is at stake, and when is evidence due?
- What is our dispute rate (disputes per hundred charges) by month?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Disputed amount in the smallest currency unit (cents for USD). |
currency | STRING | Three-letter ISO currency code, lowercase. |
charge | STRING | Charge id (ch\_) disputed. Join to charges. |
payment_intent | STRING | Payment intent id (pi\_) disputed. |
reason | STRING | fraudulent, product_not_received, duplicate, subscription_canceled, credit_not_processed, general, … |
status | STRING | warning_needs_response, warning_under_review, warning_closed, needs_response, under_review, won or lost. |
is_charge_refundable | BOOLEAN | Whether the charge can still be refunded instead of fought. |
evidence_due_by | INTEGER | Deadline to submit evidence, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
evidence_has_evidence | BOOLEAN | Whether evidence has been submitted. |
balance_transactions | JSON | JSON list of the balance transactions (debit and, if won, credit) tied to the dispute. |
Stripe Events schema
11 fieldsTime seriesstripe_events
The audit trail: every change Stripe recorded (invoice.paid, customer.subscription.updated, charge.refunded, …) with the id of the object it concerns.
Questions this table answers
- What changed on subscription sub_… and when?
- How many invoice.payment_failed events fired this week?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
type | STRING | Event type, e.g. invoice.paid, charge.succeeded, customer.subscription.deleted. |
object_id | STRING | Id of the object the event concerns. |
object_type | STRING | Type of that object: invoice, charge, subscription, … |
api_version | STRING | API version the event payload is rendered in. |
pending_webhooks | INTEGER | Webhooks still to be delivered for this event. |
request_id | STRING | Id of the API request that caused the event; null for automatic events. |
idempotency_key | STRING | Idempotency key of that request. |
Stripe Invoice line items schema
19 fieldsstripe_invoice_line_items
Every line on every invoice: what was billed, for which price and product, for which period.
Questions this table answers
- Which
productsandpricesdrive invoiced revenue? - How much of this month's invoicing is prorations from plan changes?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
invoice | STRING | Invoice id (in\_) the line belongs to. Join to invoices. |
amount | INTEGER | Line amount in the smallest currency unit (cents for USD), after quantity, before invoice-level discounts. |
currency | STRING | Three-letter ISO currency code, lowercase. |
description | STRING | Line description as printed. |
quantity | INTEGER | Units billed. |
period_start | INTEGER | Start of the period this line covers, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
period_end | INTEGER | End of the period, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
price_id | STRING | Price id (price\_). Join to prices. |
product_id | STRING | Product id (prod\_). Join to products. |
unit_amount | INTEGER | Unit price in the smallest currency unit (cents for USD). |
recurring_interval | STRING | month, year, week or day for recurring prices. |
proration | BOOLEAN | true for a proration line after a plan change. |
type | STRING | invoiceitem or subscription. |
subscription | STRING | Subscription id (sub\_) when the line bills a subscription. |
subscription_item | STRING | Subscription item id (si\_). Join to subscription_items. |
discountable | BOOLEAN | Whether invoice discounts apply to this line. |
Stripe Invoices schema
31 fieldsTime seriesstripe_invoices
One row per invoice with amounts, status and period.
Questions this table answers
- How much is invoiced, paid and still outstanding this month?
- Which invoices are past due and how many payment attempts have been made?
- How much billed revenue was voided or became uncollectible?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
customer | STRING | Customer id (cus\_). Join to customers. |
subscription | STRING | Subscription id (sub\_) when the invoice bills a subscription. Join to subscriptions. |
status | STRING | draft, open, paid, uncollectible or void. |
number | STRING | Invoice number shown to the customer. |
billing_reason | STRING | subscription_create, subscription_cycle, subscription_update, manual, upcoming, … |
collection_method | STRING | charge_automatically or send_invoice. |
currency | STRING | Three-letter ISO currency code, lowercase. |
period_start | INTEGER | Start of the usage period the invoice covers, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
period_end | INTEGER | End of the usage period, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
due_date | INTEGER | When payment is due (send_invoice collection), as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
paid_at | INTEGER | When the invoice was paid, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
finalized_at | INTEGER | When the invoice was finalized, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
voided_at | INTEGER | When the invoice was voided, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
amount_due | INTEGER | Amount still to collect when finalized in the smallest currency unit (cents for USD). |
amount_paid | INTEGER | Amount paid in the smallest currency unit (cents for USD). |
amount_remaining | INTEGER | Amount outstanding in the smallest currency unit (cents for USD). |
subtotal | INTEGER | Sum of line items before discounts and tax in the smallest currency unit (cents for USD). |
total | INTEGER | Total after discounts and tax in the smallest currency unit (cents for USD). |
tax | INTEGER | Tax amount in the smallest currency unit (cents for USD). |
starting_balance | INTEGER | Customer balance applied at creation in the smallest currency unit (cents for USD). |
charge | STRING | Charge id (ch\_) that paid it. Join to charges. |
payment_intent | STRING | Payment intent id (pi\_). |
attempt_count | INTEGER | Number of payment attempts made. |
attempted | BOOLEAN | Whether payment was attempted. |
paid | BOOLEAN | Whether the invoice is paid. |
hosted_invoice_url | STRING | Link to the hosted invoice page. |
metadata | JSON | Metadata object as a JSON string. |
Stripe Payment intents schema
22 fieldsTime seriesstripe_payment_intents
One row per payment attempt lifecycle: how much was asked for, how much was received, and where it stands.
Questions this table answers
- How many checkouts were started but never completed, and why?
- What is the decline rate by last error code?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Amount intended in the smallest currency unit (cents for USD). |
amount_received | INTEGER | Amount received so far in the smallest currency unit (cents for USD). |
amount_capturable | INTEGER | Amount authorized but not yet captured in the smallest currency unit (cents for USD). |
currency | STRING | Three-letter ISO currency code, lowercase. |
status | STRING | requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled or succeeded. |
customer | STRING | Customer id (cus\_). Join to customers. |
invoice | STRING | Invoice id (in\_) when the intent pays an invoice. |
latest_charge | STRING | Most recent charge id (ch\_). Join to charges. |
payment_method | STRING | Payment method id (pm\_). |
payment_method_types | JSON | JSON list of payment method types offered. |
capture_method | STRING | automatic, automatic_async or manual. |
canceled_at | INTEGER | When the intent was canceled, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
cancellation_reason | STRING | duplicate, fraudulent, requested_by_customer, abandoned, failed_invoice, automatic, … |
last_error_code | STRING | Code of the last payment error. |
last_error_decline_code | STRING | Card network decline code of the last error. |
description | STRING | Description set at creation. |
statement_descriptor | STRING | Statement descriptor. |
metadata | JSON | Metadata object as a JSON string. |
Stripe Payouts schema
18 fieldsTime seriesstripe_payouts
One row per transfer from the Stripe balance to the bank account: amount, arrival date, status.
Questions this table answers
- When did each payout arrive at the bank, and which ones failed?
- How many days pass between a charge's created date and its payout's arrival date?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Amount sent to the bank in the smallest currency unit (cents for USD). |
currency | STRING | Three-letter ISO currency code, lowercase. |
status | STRING | paid, pending, in_transit, canceled or failed. |
type | STRING | bank_account or card. |
method | STRING | standard or instant. |
automatic | BOOLEAN | true for payouts Stripe created on the payout schedule, false for manual ones. |
arrival_date | INTEGER | Date the funds are expected in (or arrived at) the bank. The cash date, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
balance_transaction | STRING | Balance transaction id (txn\_) of the payout itself (type payout). Join to balance_transactions. |
destination | STRING | Bank account (ba\_) or card (card\_) the payout went to. |
failure_code | STRING | Why a payout failed (account_closed, no_account, …). |
failure_message | STRING | Human-readable failure reason. |
statement_descriptor | STRING | Text on the bank statement. |
description | STRING | Stripe's description, usually STRIPE PAYOUT. |
source_type | STRING | Balance type paid out: card, bank_account or fpx. |
Stripe Prices schema
17 fieldsstripe_prices
Every price (plan) of every product, active or not, with amount, currency and billing interval.
Questions this table answers
- Which prices (plans) are in use, at what amount and interval?
- How much list revenue do legacy inactive prices still bill?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
product | STRING | Product id (prod\_). Join to products. |
active | BOOLEAN | Whether the price can be used on new subscriptions. |
currency | STRING | Three-letter ISO currency code, lowercase. |
unit_amount | INTEGER | Price per unit in the smallest currency unit (cents for USD); null for tiered or metered prices. |
type | STRING | one_time or recurring. |
billing_scheme | STRING | per_unit or tiered. |
recurring_interval | STRING | month, year, week or day for recurring prices. |
recurring_interval_count | INTEGER | Intervals per billing cycle. |
recurring_usage_type | STRING | licensed or metered. |
nickname | STRING | Price nickname (plan name). |
lookup_key | STRING | Your own key for the price. |
tax_behavior | STRING | inclusive, exclusive or unspecified. |
metadata | JSON | Metadata object as a JSON string. |
Stripe Products schema
13 fieldsstripe_products
The catalogue: every product, active or not.
Questions this table answers
- Which products are active, and which still carry subscriptions?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
name | STRING | Product name. |
active | BOOLEAN | Whether the product can be sold. |
description | STRING | Product description. |
type | STRING | service or good. |
default_price | STRING | Default price id (price\_). |
unit_label | STRING | Label for units (seat, GB) shown on invoices. |
statement_descriptor | STRING | Statement descriptor override. |
updated | INTEGER | Last update time, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
metadata | JSON | Metadata object as a JSON string. |
Stripe Refunds schema
13 fieldsTime seriesstripe_refunds
One row per refund: how much was returned on which charge, why, and the balance transaction that reversed the money.
Questions this table answers
- How much was refunded this month, by reason?
- Which
products(through the invoice lines of the refunded charge) are refunded most?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
amount | INTEGER | Refunded amount in the smallest currency unit (cents for USD). |
currency | STRING | Three-letter ISO currency code, lowercase. |
charge | STRING | Charge id (ch\_) refunded. Join to charges. |
payment_intent | STRING | Payment intent id (pi\_) refunded. |
balance_transaction | STRING | Balance transaction id (txn\_) of the refund. Join to balance_transactions. |
reason | STRING | duplicate, fraudulent, requested_by_customer or expired_uncaptured_charge; null when not given. |
status | STRING | pending, requires_action, succeeded, failed or canceled. |
receipt_number | STRING | Receipt number shown to the customer. |
description | STRING | Optional description. |
Stripe Subscription items schema
14 fieldsstripe_subscription_items
The lines of every subscription: which price, how many units.
Questions this table answers
- What is MRR today, by
productand by billing interval? - How did MRR move this month: new, expansion, contraction, churn?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
subscription | STRING | Subscription id (sub\_). Join to subscriptions. |
quantity | INTEGER | Units of the price on this item. |
price_id | STRING | Price id (price\_). Join to prices. |
product_id | STRING | Product id (prod\_). Join to products. |
unit_amount | INTEGER | Unit price in the smallest currency unit (cents for USD). |
price_currency | STRING | Currency of the price. |
recurring_interval | STRING | month, year, week or day. |
recurring_interval_count | INTEGER | Number of intervals per billing cycle (3 with month = quarterly). |
price_nickname | STRING | Price nickname (plan name) if set. |
metadata | JSON | Metadata object as a JSON string. |
Stripe Subscriptions schema
23 fieldsstripe_subscriptions
One row per subscription in any status (status=all), full refresh every run so cancellations and past-due states are current.
Questions this table answers
- How many subscriptions are active, trialing, past due or canceled right now?
- How many subscriptions are set to cancel at the end of the period?
- Why do customers cancel, according to the cancellation reason?
| Field | Type | Description |
|---|---|---|
idPK | STRING | Stripe object id, unique across the account. |
account_id | STRING | Your Stripe account id (acct\_…) as entered in the connector; lets several Stripe accounts share one table. |
livemode | BOOLEAN | true for live-mode objects, false for test mode. |
created | INTEGER | When Stripe created the object, as Unix time in seconds (UTC); TIMESTAMP_SECONDS(created) in SQL. The field the daily window filters on. |
customer | STRING | Customer id (cus\_). Join to customers. |
status | STRING | trialing, active, past_due, unpaid, canceled, incomplete, incomplete_expired or paused. |
start_date | INTEGER | When the subscription started, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
current_period_start | INTEGER | Start of the current billing period, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
current_period_end | INTEGER | End of the current billing period; the next invoice date, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
cancel_at_period_end | BOOLEAN | true when set to cancel at the end of the current period. |
cancel_at | INTEGER | Scheduled cancellation time, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
canceled_at | INTEGER | When the subscription was canceled, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
ended_at | INTEGER | When the subscription ended, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
trial_start | INTEGER | Trial start, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
trial_end | INTEGER | Trial end, as Unix time in seconds (UTC); use TIMESTAMP_SECONDS() in SQL. |
collection_method | STRING | charge_automatically or send_invoice. |
currency | STRING | Three-letter ISO currency code, lowercase. |
latest_invoice | STRING | Latest invoice id (in\_). Join to invoices. |
default_payment_method | STRING | Default payment method id (pm\_). |
days_until_due | INTEGER | Days until an invoice is due for send_invoice subscriptions. |
cancellation_reason | STRING | Reason given at cancellation. |
cancellation_feedback | STRING | Customer feedback at cancellation. |
metadata | JSON | Metadata object as a JSON string. |
What Stripe data answers
Across the tables
- How much did we net after fees, refunds and disputes last month, and did every
payoutreach the bank for the amount itsbalance transactionsadd up to? - What is MRR today from
subscription items×prices, and how did it move: new, expansion, contraction, churn? - Which
customersandinvoicesare past due or failing payment, and how much revenue is at risk?
Where Stripe data goes
Data warehouses
AI assistants
Spreadsheets
Dashboards
Messages
The Data Partner You Can Trust
users
166K Source: Internal OWOX data as of 2026-11-15
Executives and data analysts across 20+ industries
Customers
You are booked. The invitation is on its way to , with the calendar invite and the meeting link.