Outcome of verifyWebhookSignature.
The verifier never throws; instead it returns a discriminated result so callers can branch on valid and log reason without try/catch noise. Use requireValidWebhook when an exception-based control flow is more convenient.
valid
reason
Readonly
Parsed payload when valid is true; otherwise null.
true
null
Short reason describing why verification failed, or null on success.
true only when the HMAC matched and the body parsed as a valid payload.
Outcome of verifyWebhookSignature.
The verifier never throws; instead it returns a discriminated result so callers can branch on
validand logreasonwithout try/catch noise. Use requireValidWebhook when an exception-based control flow is more convenient.