# Kiwify

::: warning Under construction
Payment integrations are still being built. This page describes how the Kiwify one will work.
:::

## What you need

- Access to the Kiwify account where your products are.
- The **webhook token**, which Kiwify creates when you create the webhook. That's why it comes after the URL.

## 1. Create the integration in LeadStalker

In **Business settings → Integrations**, click **Add integration**, pick **Kiwify**, give it a name and click **Generate URL**. Copy the URL.

## 2. Create the webhook in Kiwify

1. In Kiwify, open **Apps** and then **Webhooks**.
2. Click **Create webhook**.
3. Give it a name, like "LeadStalker", and paste the LeadStalker integration URL.
4. Pick the products you want to track.
5. Select the purchase events — approved, refused, refund and chargeback — and the subscription events, if you sell subscriptions. Save.

## 3. Copy the token

After saving, Kiwify shows the webhook **token**. Copy it and paste it into the integration's **Token** field in LeadStalker. Click **Save credentials**.

## 4. Check it

Make a test purchase or wait for the next sale. When the first event arrives, the integration switches to **Receiving**.

## If something isn't working

| Status | What to do |
|---|---|
| Waiting | No event has arrived: check that the webhook was saved with the right URL and with the events selected. |
| Token missing | Events arrived, but the token wasn't pasted. Paste it and save: stored events are read right after. |

::: tip Menus change
Platforms change their menus over time. If a path on this page doesn't match what you see, look for "Webhooks" in Kiwify's menu.
:::
