paystack_webhook
Verify incoming Paystack webhook signatures locally via HMAC-SHA512 over the raw body and constant-time comparison, with no network call or secret exposure.
Instructions
Verify an x-paystack-signature header locally. HMAC-SHA512 of the raw body with the configured secret key, compared in constant time. No network call. The key is never returned.
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": {
"action": "<action>",
"raw_body": "<raw_body>"
},
"name": "paystack_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| raw_body | Yes | ||
| signature | No |