Appearance
Function: parseWebhook()
ts
function parseWebhook(
secret,
body,
header,
opts?
): WebhookDelivery;The delivery, once its signature holds; a WebhookVerificationError otherwise.
Parameters
| Parameter | Type |
|---|---|
secret | string |
body | string | Uint8Array |
header | string | null | undefined |
opts | VerifyOptions |