Skip to content
Create account or Sign in
The Stripe Docs logo
/
Ask AI
Create accountSign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
APIs & SDKsHelp
Overview
Billing
OverviewAbout the Billing APIs
Subscriptions
Invoicing
Usage-based billing
Quotes
Customer management
Billing with other products
Revenue recovery
Automations
Scripts
Test your integration
Tax
Overview
Use Stripe Tax
Tax rates
Manage compliance
Reporting
Overview
Select a report
Configure reports
Reports for multiple accounts
Reports API
Revenue recognition
Data
Overview
Query business data
    Overview
    Transactional data
    Disputes and fraud data
    Fees data
    Billing data
    Tax data
    Connected account data
    Card issuing data
    Data freshness
    Data schema
Analytics API
Sigma
Data Pipeline
Next generation of Data PipelineDatabase
Import external data
United States
English (United States)
  1. Home/
  2. Revenue/
  3. Query business data

Data freshness

Learn how Sigma handles data freshness.

Sigma allows you to analyze the same underlying data that’s accessible through the Stripe API, but uses a SQL-based interface for custom queries and analysis. For Data Pipeline data freshness, see Data Pipeline data freshness.

Additionally, Sigma provides access to certain data that isn’t available through the Stripe API, such as reports.

Data freshness

Sigma makes most of your transaction data available to query within one day.

Sigma makes most of your Stripe transaction data available to query within three hours. All API activity is available to query approximately three hours after it occurs. For example, data from 12:00am UTC is available by 3:00am UTC on the same day.

Query data load times

The interface in the Dashboard displays the date and time of the last payments data. You can use data_load_time as a value in your queries to represent when data is most recently processed on your account. For example, if payment tables were last updated on 5/19/2026, the data_load_time is interpreted as 2026-05-16 00:00:00 +0000. At times, Sigma might reflect activity that is more recent than data_load_time. For example, a charge authorized just before midnight, but captured soon after, might show as captured.

Making data available requires additional time. You can use data_load_time as a value in your queries that represents when data is most recently processed on your account. Use this value to dynamically set a date range in your scheduled queries.

For example, consider the following scheduled query that returns a list of balance transactions created one month before data_load_time.

select id, amount, fee, currency from balance_transactions -- this table is the canonical record of changes to your Stripe balance where created < data_load_time and created >= data_load_time - interval '1' month order by created desc limit 10

The following timeline illustrates how this works based on data availability:

DateTimeline for results
2026-05-16
  • data_load_time is interpreted as 2026-05-16
  • The scheduled query includes transaction data through EOD 2026-05-15
  • Query results are available on 2026-05-16 by 2pm UTC

Now, consider the following scheduled query that returns a list of charge_ids and interchange billing amounts associated with each fee balance debit created one month before data_load_time.

select ic.charge_id, ic.billing_currency, ic.billing_amount, ic.balance_transaction_id, ic.balance_transaction_created_at from icplus_fees as ic join balance_transactions as bt on ic.balance_transaction_id = bt.id where bt.created >= data_load_time - interval '1' month and bt.created < data_load_time

If this query is scheduled to recur daily, the following timeline illustrates when you can expect the results:

DateTimeline for results
2026-05-19
  • data_load_time is interpreted as 2026-05-16 00:00:00 +0000
  • The scheduled query includes transaction data through EOD 2026-05-15
  • Query results are available on 2026-05-19 by 2am UTC

Dataset freshness

DatasetTable NameFreshness (hours)
billingcoupons3
billingcoupons_currency_options3
billingcoupons_metadata3
billingcredit_note_discount_amounts3
billingcredit_note_line_item_discount_amounts3
billingcredit_note_line_item_tax_amounts3
billingcredit_note_line_items3
billingcredit_note_tax_amounts3
billingcredit_notes3
billingcredit_notes_metadata3
billingdiscounts3
billinginvoice_custom_fields3
billinginvoice_customer_tax_ids3
billinginvoice_items3
billinginvoice_items_metadata3
billinginvoice_line_item_discount_amounts3
billinginvoice_line_item_tax_amounts3
billinginvoice_line_items3
billinginvoice_payments3
billinginvoice_shipping_cost_taxes3
billinginvoices3
billinginvoices_metadata3
billingplans3
billingplans_metadata3
billingprice_tiers3
billingprices3
billingprices_currency_options3
billingprices_metadata3
billingproducts3
billingproducts_metadata3
billingpromotion_codes3
billingquotes3
billingsubscription_items3
billingsubscription_items_metadata3
billingsubscription_schedule_phase_add_invoice_items3
billingsubscription_schedule_phase_configuration_items3
billingsubscription_schedule_phases3
billingsubscription_schedule_phases_metadata3
billingsubscription_schedules3
billingsubscription_schedules_metadata3
billingsubscriptions3
billingsubscriptions_metadata3
billingtax_rates3
billingtax_rates_metadata3
billingusage_records3
checkoutcheckout_custom_fields3
checkoutcheckout_line_items3
checkoutcheckout_sessions3
checkoutpayment_links3
connectaccounts3
connectaccounts_metadata3
connect-feesapplication_fee_refunds3
connect-feesapplication_fee_refunds_metadata3
connect-feesapplication_fees3
cryptocrypto_onramp_sessions3
customerscustomer_balance_transactions3
customerscustomer_balance_transactions_metadata3
customerscustomer_cash_balance_transactions3
customerscustomer_tax_ids3
customerscustomers3
customerscustomers_metadata3
issuingissuing_authorizations3
issuingissuing_authorizations_metadata3
issuingissuing_cardholders3
issuingissuing_cardholders_metadata3
issuingissuing_cards3
issuingissuing_cards_metadata3
issuingissuing_disputes3
issuingissuing_network_tokens3
issuingissuing_transactions3
issuingissuing_transactions_metadata3
paymentsbalance_transaction_fee_details3
paymentsbalance_transactions3
paymentscharges3
paymentscharges_metadata3
paymentsdisputes3
paymentsdisputes_enhanced_eligibility3
paymentsdisputes_metadata3
paymentspayment_intents3
paymentspayment_intents_metadata3
paymentspayment_method_details3
paymentspayment_methods3
paymentspayment_methods_metadata3
paymentspayment_reviews3
paymentsrefunds3
paymentsrefunds_metadata3
paymentsrule_decisions3
paymentssetup_attempts3
paymentssetup_intents3
paymentssetup_intents_metadata3
paymentssources3
paymentssources_metadata3

Data schema

You can view the complete schema, which closely follows our API conventions, in a split-view format that shows details on table relationships. It displays all the available data that you can use in your queries, organized by category. Each category contains a set of tables that represents the available data. Many tables correspond to specific API objects, with each column representing a reported attribute. For example, the charges table represents information about Charge objects, which appears in the Payments section of the Dashboard.

You can select a table to expand it and reveal its available columns, along with a description of the type of data it contains (for example, Boolean, Varchar, and Foreign key). Hover the cursor over any column to reveal a description. Use the search field at the top of the schema to find specific tables and columns. When writing queries, refer to our API reference for additional context and values.

Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Chat with Stripe developers on Discord.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc
On this page