
HitPay
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 HitPay to PostHog to sync your data into the PostHog data warehouse for analysis and modeling.
Connect your HitPay account using an API key to sync payment requests, charges, subscription plans, customers, and recurring billing. Find your key in the HitPay dashboard under Settings > Payment Gateway.
Configuration
| Option | Description |
|---|---|
API keyType: password Required: True | |
Platform API keyType: password Required: False | Only needed for HitPay platform accounts. Leave blank otherwise. |
EnvironmentType: select Required: True |
Linking HitPay to PostHog
- Go to the Data pipeline page in PostHog
- Click New source and select HitPay
- 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 |
|---|---|---|---|---|
PaymentRequests | A payment link a merchant creates to collect a specific amount via card, PayNow, FPX, GrabPay, or another supported method. | Full refresh | — | — |
Charges | A completed attempt to collect payment, created from a payment request or another checkout flow. | Incremental, Full refresh | created_at | — |
SubscriptionPlans | A recurring billing plan template merchants can subscribe customers to. | Full refresh | — | — |
Customers | A saved customer record used to associate charges, payment requests, and recurring billing. | Full refresh | — | — |
RecurringBilling | A recurring billing agreement charging a customer on a schedule, either from a subscription plan or a saved card. | Full refresh | — | — |