basalt / subscriptions/src / WebhookSecretMissingError
Class: WebhookSecretMissingError
Defined in: subscriptions/src/gateway.ts:16
Thrown when a gateway is asked to verify a webhook but no signing secret is configured. Verification fails closed: an unauthenticated callback must never be trusted (anyone could forge a payment.succeeded).
Extends
Constructors
Constructor
> new WebhookSecretMissingError(gateway): WebhookSecretMissingError
Defined in: subscriptions/src/gateway.ts:18
Parameters
gateway
string
Returns
WebhookSecretMissingError
Overrides
Properties
code
> readonly code: string
Defined in: core/src/errors.ts:25
Inherited from
details?
> readonly optional details?: Record<string, unknown>
Defined in: core/src/errors.ts:28
Structured payload passed to the constructor, exactly as given (never sanitised here).
Inherited from
status
> readonly status: 500 = 500
Defined in: subscriptions/src/gateway.ts:17