HitPay

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.

Learn more
PostHog Wizard hedgehog

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

OptionDescription
API key
Type: password
Required: True
Platform API key
Type: password
Required: False

Only needed for HitPay platform accounts. Leave blank otherwise.

Environment
Type: select
Required: True

Linking HitPay to PostHog

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