Dodo Payments

Dodo Payments

Let AI connect your sources for you

Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

Learn more
PostHog Wizard hedgehog

Connect Dodo Payments to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Sync payments, subscriptions, customers, refunds, disputes, payouts and your product catalog from Dodo Payments into PostHog. Create an API key in your Dodo Payments dashboard under Developer > API keys. Read access is enough.

Configuration

OptionDescription
API key
Type: password
Required: True

Create a key under Developer > API keys. A read-only key is enough to sync.

Mode
Type: select
Required: True

Dodo Payments keeps test and live data on separate hosts with separate keys. Pick the mode your key was issued for.

Linking Dodo Payments to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select Dodo Payments
  3. Fill in the required configuration fields
  4. Click Next, select the tables you want to sync, and then press Import

Supported tables

TableDescriptionSync methodIncremental fieldPrimary key
payments

One-off and subscription payments collected by Dodo Payments as merchant of record.

Incremental, Full refreshcreated_atpayment_id
subscriptions

Recurring subscriptions, their billing schedule and current lifecycle status.

Incremental, Full refreshcreated_atsubscription_id
customers

Customers who have paid through Dodo Payments.

Incremental, Full refreshcreated_atcustomer_id
refunds

Refunds issued against payments.

Incremental, Full refreshcreated_atrefund_id
disputes

Chargebacks and disputes raised against payments, with their current stage and status.

Incremental, Full refreshcreated_atdispute_id
payouts

Settlements paid out to the merchant, with the fees, tax, refunds and chargebacks netted off.

Incremental, Full refreshcreated_atpayout_id
license_keys

License keys issued to customers by payment and subscription flows, or imported by the merchant.

Incremental, Full refreshcreated_atid
balance_ledger_entries

Merchant balance ledger: every credit and debit against the account balance, including payments, refunds, disputes, fees and payouts.

Incremental, Full refreshcreated_atid
events

Usage events ingested for metered billing.

Incremental, Full refreshtimestampevent_id
products

Products available for purchase, one-off and recurring.

Full refreshproduct_id
product_collections

Groupings of products presented together in checkout.

Full refreshid
discounts

Discount codes, their redemption limits and how often they have been used.

Full refreshdiscount_id
addons

Add-ons that can be attached to a subscription.

Full refreshid
brands

Brands configured on the account, each with its own checkout branding and verification state.

Full refreshbrand_id
meters

Meters that aggregate usage events into billable quantities.

Full refreshid
license_key_instances

Individual activations of a license key, one row per activated instance.

Full refreshid
entitlements

Entitlements that grant customers access to something on purchase, such as digital files.

Full refreshid
credit_entitlements

Credit entitlements: prepaid credit balances customers draw down, with rollover and overage rules.

Full refreshid