Back to plugin list
stripe
Official
Premium

Stripe

The CloudQuery Stripe plugin pulls data from Stripe and loads it into any supported CloudQuery destination

Publisher

cloudquery

Latest version

v3.2.5

Type

Source

Platforms
Date Published

Mar 12, 2024

Price per 1M rows

$20

free quota

1M rows

Set up process


brew install cloudquery/tap/cloudquery

1. Download CLI and login

See installation options

2. Create source and destination configs

Plugin configuration

cloudquery sync stripe.yml postgresql.yml

3. Run the sync

CloudQuery sync

Overview

The CloudQuery Stripe plugin pulls data from Stripe and loads it into any supported CloudQuery destination (e.g. PostgreSQL, BigQuery, Snowflake, and more).

Authentication

In order to fetch information from Stripe, cloudquery needs to be authenticated using a secret API key from your Stripe account. You can view and manage your API keys in the Stripe Dashboard.

Example Configuration

This example syncs from Stripe to a Postgres destination. The (top level) source spec section is described in the Source Spec Reference. Incremental syncing is enabled and will be saved to the cq_state_stripe table.
kind: source
# Common source-plugin configuration
spec:
  name: stripe
  path: cloudquery/stripe
  registry: cloudquery
  version: "v3.2.5"
  tables: ["*"]
  destinations: ["postgresql"]
  skip_tables:
    - stripe_issuing*  # Needs sign-up at https://stripe.com/issuing
    - stripe_treasury* # Needs sign-up at https://stripe.com/treasury
    - stripe_sigma_scheduled_query_runs # Live keys only
  backend_options:
    table_name: "cq_state_stripe"
    connection: "@@plugins.postgresql.connection"
  # Stripe specific configuration
  spec:
    # required
    api_key: "${STRIPE_API_KEY}"

Configuration Reference

This is the (nested) spec used by the Stripe source plugin:
  • api_key (string) (required)
    Your secret API key from the Stripe Dashboard.
  • rate_limit (integer) (optional) (default: varies)
    Used to override number of requests allowed per second. Defaults to 90 req/sec for production environment keys, otherwise 20 req/sec.
  • max_retries (integer) (optional) (default: 2)
    Number of retries if a request was rate limited at the API endpoint.
  • concurrency (integer) (optional) (default: 1000)
    Number of concurrent requests to Stripe API.
  • stripe_debug (boolean) (optional) (default: false)
    Enables verbose logging on the Stripe client.


Subscribe to product updates

Be the first to know about new features.