OptionalautoWhether to send response automatically
Event handlers by type
OptionalnotificationURL where webhooks are received (for signature verification)
OptionalpathPath to mount the webhook handler
Square webhook signature key, or a list of keys during rotation
OptionalthrowHow createWebhookProcessor reports an invalid signature. When true
(default) it throws (surfaced as { success: false, error }); when false
it returns { success: false, error } without throwing. Either way an
invalid signature is never dispatched to handlers.
Options for the Express webhook middleware