Skip to content

Stripe Input

Stripe account objects and payment facts — charges, invoices, subscriptions, payouts, and related snapshots.

Configuration

yaml
data_sources:
  stripe:
    Stripe:
      stripe_account_id: acct_1234567890
      start_date: "2024-01-01"
      stream_profile: full
      lookback_days: 7
      access_token: ${STRIPE_SECRET_KEY}
FieldDefaultDescription
stripe_account_id(required)Stripe account ID (acct_…)
start_date(required)First sync date (YYYY-MM-DD)
lookback_days7Days of history to re-pull on each run
stream_profilefullminimal, standard, or full
streamsprofile setExplicit namespace list
min_query_interval_ms100Minimum delay between API calls
write_policyOptional per-source write policy override
access_tokenStripe secret or restricted key
oauth_*Connect OAuth refresh credentials
privacyField redaction settings for sensitive payloads

Pipeline wiring

yaml
pipelines:
  payments:
    data_source: data_sources.stripe
    data_sink: data_sinks.landing

Namespaces include fact tables (charges, invoices, payouts) and snapshot tables (customers, products, prices). Use stream_profile: minimal for smoke tests.

Authentication

Set access_token to a Stripe secret or restricted key (STRIPE_SECRET_KEY), or configure Connect OAuth refresh (oauth_client_id, oauth_client_secret, oauth_refresh_token). Keep keys in the environment, not in git.

This site is source-available under PolyForm Shield 1.0.0