> ## Documentation Index
> Fetch the complete documentation index at: https://bobprince.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Paystack

> Capture Paystack webhook events with Hookdrop

## Setup

<Steps>
  <Step title="Open API Keys & Webhooks">
    Go to the [Paystack Dashboard](https://dashboard.paystack.com) and navigate to **Settings → API Keys & Webhooks**.
  </Step>

  <Step title="Set your webhook URL">
    Enter your Hookdrop capture URL in the **Webhook URL** field:

    ```
    https://hookdrop.dev/in/{your-token}
    ```
  </Step>

  <Step title="Save">
    Click **Save changes**. Paystack will begin sending events to Hookdrop for your account.
  </Step>
</Steps>

<Note>
  Paystack restricts webhook delivery to a set of known IP addresses. Hookdrop's ingestion server is already allowlisted, so you don't need to configure anything extra on your end.
</Note>

## Common events

| Event                 | When it fires                  |
| --------------------- | ------------------------------ |
| `charge.success`      | Payment completed successfully |
| `transfer.success`    | Transfer completed             |
| `subscription.create` | New subscription started       |
| `invoice.create`      | New invoice generated          |

## Retry history

<Tip>
  Paystack automatically retries failed webhook deliveries. Hookdrop captures every attempt as a separate event, so you can see the full retry history — including the original delivery and each subsequent attempt — in the dashboard.
</Tip>
