Skip to main content
LemonSqueezy is a merchant of record for digital products and SaaS. Connecting it to Trfyx lets you attribute revenue from one-time purchases, subscriptions, and order refunds back to the marketing channels that drove them.

What you’ll need

  • A LemonSqueezy account with at least one store
  • Your Store ID (found in store settings)
  • An API key (created in developer settings)
  • The Trfyx tracker installed on your website

Step-by-step setup

1

Find your Store ID

Go to LemonSqueezy → Settings → Stores.Your Store ID is the numeric ID shown next to your store name. Copy it.
2

Create an API key

Go to LemonSqueezy → Settings → API.Click Create API Key, give it a name like Trfyx, and copy the key.
The API key is only shown once. If you lose it, you’ll need to create a new one.
3

Connect in Trfyx

In your Trfyx dashboard, open Integrations and select LemonSqueezy. Paste your Store ID and API Key, then click Connect.Trfyx creates a webhook on LemonSqueezy automatically. It listens for:
  • order_created — one-time purchases
  • order_refunded — refunds
  • subscription_payment_success — recurring subscription payments
4

Test with a purchase

Create a test purchase through LemonSqueezy. It should appear in your Trfyx Revenue dashboard within seconds.

What LemonSqueezy data flows into Trfyx

Troubleshooting

  • Double-check your API key is valid and hasn’t expired
  • Verify the Store ID matches your actual store
  • Make sure your LemonSqueezy account has webhook creation permissions
Check LemonSqueezy’s webhook delivery logs in Settings → Webhooks. Look for failed deliveries and check the response codes.

Disconnecting

Open Integrations, select LemonSqueezy, and click Disconnect. The webhook is removed and the integration record is deleted. Historical data is preserved.