PayPal

PayPal

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 PayPal to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.

Import transactions (with fees, refunds and denied payments), balances, disputes, invoices, subscription plans and catalog products from a PayPal business account.

Create a REST app for the account in the PayPal developer dashboard, turn on Transaction search (and Disputes, Invoicing or Subscriptions for those tables), then paste the app's client ID and secret. To import more than one PayPal account, add one source per account.

PayPal serves three years of transaction history.

Configuration

OptionTypeRequired
EnvironmentselectYes
Client IDtextYes
Client secretpasswordYes

Linking PayPal to PostHog

  1. Go to the Data pipeline page in PostHog
  2. Click New source and select PayPal
  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
transactions

Money movement on the PayPal account from the Transaction Search API: payments, refunds, fees, reversals and denied payments. Covers up to three years of history.

Incremental, Full refreshtransaction_initiation_date—
balances

Balance held on the PayPal account, one row per currency, at the time of the sync.

Full refresh——
disputes

Customer disputes, chargebacks and claims raised against the account.

Incremental, Full refreshupdate_time—
invoices

Invoices created on the account with PayPal Invoicing.

Full refresh——
plans

Billing plans that set the pricing and billing cycles of subscriptions.

Full refresh——
products

Catalog products: the goods or services that billing plans and subscriptions reference.

Full refresh——