Stripe
How WinWinKit tracks revenue directly from Stripe.
WinWinKit supports tracking revenue from Stripe directly via Stripe webhooks — real-time events delivered by your Stripe account as charges happen.
Stripe Webhooks
Once the integration is configured, Stripe sends a webhook to WinWinKit each time a relevant event occurs:
- Initial purchase — A successful first-time charge for a subscription or one-off product.
- Renewal — A subscription invoice is paid.
- Refund — A previous charge is refunded.
What Gets Tracked
Each Stripe transaction recorded in WinWinKit includes:
- Type — Purchase, renewal, or refund.
- Amount — Gross revenue (the actual amount paid by the user), normalized to USD.
- Stripe Customer ID — Used to link the charge to a WinWinKit user.
- Product identifier — The Stripe product or price the user purchased.
- Environment — Test or live mode.
Stripe revenue tracking currently only supports charges in USD. Charges in other currencies are received but not recorded as transactions.
User Attribution
Stripe transactions are attributed to a WinWinKit user via the Stripe Customer ID set on the WinWinKit user.
Setup
To enable Stripe revenue tracking:
- In the WinWinKit dashboard, go to Settings → Integrations → Stripe and follow the on-screen instructions to obtain the WinWinKit webhook URL and signing secret.
- In the Stripe dashboard, add that URL as a webhook endpoint and subscribe it to the events listed in the WinWinKit dashboard instructions.
- When creating or updating a WinWinKit user, set the Stripe Customer ID so charges can be matched to the right user.