Verify Webhook HMAC Signature
verify_webhook_signatureStatelessly verifies webhook HMAC-SHA256 signatures and replay timestamps across Stripe, GitHub, Shopify, Slack, Linear, or custom headers using constant-time Web Crypto comparison. Pricing: $0.001 USD per stateless signature verification (x402 instant micropayment). Pass ?dry_run=true on REST to validate schema free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rawBody": "<rawBody>",
"headers": "<headers>",
"secret": "<secret>"
},
"name": "verify_webhook_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | Webhook HMAC signing secret (e.g., whsec_... for Stripe). | |
| headers | Yes | HTTP request headers map containing the webhook signature header(s). | |
| rawBody | Yes | Exact raw UTF-8 HTTP request body string as delivered by the webhook sender. | |
| provider | No | Webhook signature provider preset (auto, stripe, github, shopify, slack, linear, generic_sha256). | auto |
| nowSeconds | No | Optional Unix epoch timestamp (seconds) override for deterministic replay checks. | |
| signatureHeader | No | Optional custom signature header name when provider is generic_sha256 or linear. | |
| toleranceSeconds | No | Timestamp replay-window tolerance in seconds for Stripe and Slack (default 300). |