Skip to main content

Setup

Required env vars:

How it works

Webhooks

Enable these events in your Paystack dashboard:
  • charge.success
  • charge.failed
  • customer.create
  • customeridentification.success
  • customeridentification.failed
  • subscription.create
  • subscription.not_renew
  • subscription.disable
  • invoice.create
  • invoice.update
  • invoice.payment_failed
  • refund.pending
  • refund.processed
  • refund.failed
Paystack signs webhooks with HMAC-SHA512 via the x-paystack-signature header.
Everything else — disputes, dedicated accounts, payment requests, transfers — is available as a raw event only.

Raw Paystack events

Opt into any native Paystack event — fully typed against Paystack’s API types:
All available raw events:

provider_metadata