@contio/partner-sdk - v1.7.1
    Preparing search index...

    Function parseWebhook

    • Parse webhook with signature verification

      Parameters

      • payload: string | Buffer<ArrayBufferLike>

        Raw request body

      • signature: string

        Signature from X-Contio-Signature header

      • secret: string

        Webhook secret

      Returns ContioWebhookEvent

      Parsed webhook event

      Error if verification fails or payload is invalid