Parse and optionally verify a webhook event payload.
If signature, timestamp, and secret are all provided, the payload's HMAC-SHA256 signature is verified before parsing.
signature
timestamp
secret
The typed webhook event.
If signature verification fails or the event is too old.
Parse and optionally verify a webhook event payload.
If
signature,timestamp, andsecretare all provided, the payload's HMAC-SHA256 signature is verified before parsing.