OptionalhandleApp-owned fulfillment handler. The webhook is verified before this runs.
Omit to acknowledge verified events with { ok: true }.
OptionalheadersAdditional response headers.
OptionalpipelineIdentity and metadata for the hooks pipeline when the server exposes
rawRoute(...). metadata feeds metadata-driven hooks such as rate
limiting and idempotency; name and path identify the route to
hooks, instrumentation, and devtools.
Beignet server that owns app context and ports.
Any object exposing createRequestContext works: a NextServer, a core
ServerInstance, or a test fake driven from a standard test runner.
OptionalsignatureProvider signature header. Stripe uses stripe-signature.
Options for creating a payment webhook route.