PayFanout API reference
    Preparing search index...

    Function parsePayZenWebhookEvent

    • PayZen IPNs carry a state snapshot of the order, not an event type — the normalized type derives from the newest transaction. Chargebacks never arrive here (Back-Office reports only), so payment.chargeback* is unreachable for this adapter — documented limitation.

      Parameters

      • rawBody: string
      • headers: Record<string, string>

      Returns Promise<UnifiedWebhookEvent>