JavaScript SDK (v0.56.0)Reference
VerifyWebhookParams
Parameters for verifying a webhook signature.
Interface: VerifyWebhookParams
Parameters for verifying a webhook signature.
Properties
keyCacheSize?
optionalkeyCacheSize:number
Maximum number of HMAC keys to keep in the module-scoped cache.
payload
payload:
Uint8Array
Raw webhook request body.
scheme?
optionalscheme:string
Key for signatures in the signature.
secret
secret:
string
The webhook secret.
signature
signature:
string
The signature to verify.
tolerance?
optionaltolerance:number
Maximum allowed age of the timestamp in seconds.