
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.

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
| Option | Type | Required |
|---|---|---|
Environment | select | Yes |
Client ID | text | Yes |
Client secret | password | Yes |
Linking PayPal to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select PayPal
- Fill in the required configuration fields
- Click Next, select the tables you want to sync, and then press Import
Supported tables
| Table | Description | Sync method | Incremental field | Primary 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 refresh | transaction_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 refresh | update_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 | — | — |





