Linking Recharge as a source

Alpha release

This source is currently in alpha. The interface and available tables may change.

The Recharge connector automatically pulls your Recharge subscription data into the PostHog data warehouse.

Adding a data source

  1. Go to the sources tab of the data pipeline section in PostHog.
  2. Click + New source and then click Link next to Recharge.
  3. You need a Recharge API token. In your Recharge admin, go to Apps & integrations > API tokens and create a token. Grant read access to the resources you want to sync, e.g. Customers, Subscriptions, Orders, Charges, Addresses, Discounts, and Products. Some resources (such as Payment methods) are only available on Recharge Pro or Custom plans.
  4. Back in PostHog, enter the token in the API token field and click Next.
  5. Select the tables you want to sync, set the sync method and frequency, then click Import.

Once the syncs are complete, you can start using Recharge data in PostHog.

Available tables

TableDescriptionSync method
customersCustomers in your accountIncremental
subscriptionsSubscriptionsIncremental
ordersOrdersIncremental
chargesChargesIncremental
addressesCustomer addressesIncremental
discountsDiscountsIncremental
onetimesOne-time purchasesIncremental
productsProductsFull refresh
payment_methodsCustomer payment methods (Recharge Pro or Custom plans only)Incremental
collectionsProduct collectionsFull refresh

Incremental tables sync only new or updated records on each run. Full refresh tables reload all data on each sync.

Configuration

OptionTypeRequired
API tokenpasswordYes

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
customers

A customer who holds subscriptions and is billed by Recharge.

Incremental, Full refreshupdated_at, created_at
subscriptions

A recurring subscription for a product, billed on a schedule by Recharge.

Incremental, Full refreshupdated_at, created_at
orders

An order generated by Recharge for a subscription charge.

Incremental, Full refreshupdated_at, created_at
charges

A billing charge attempting to collect payment for one or more subscriptions.

Incremental, Full refreshupdated_at, created_at
addresses

A shipping address belonging to a Recharge customer.

Incremental, Full refreshupdated_at, created_at
discounts

A discount or coupon that can be applied to charges in Recharge.

Incremental, Full refreshupdated_at, created_at
onetimes

A one-time product add-on attached to a customer's next charge in Recharge.

Incremental, Full refreshupdated_at, created_at
products

A product available for subscription in Recharge.

Full refresh
payment_methods

A stored payment method for a Recharge customer.

Incremental, Full refreshupdated_at, created_at
collections

A collection grouping products together in Recharge.

Full refresh

Community questions

Was this page useful?

Questions about this page? or post a community question.