verify_webhook
Validate webhook authenticity by checking HMAC-SHA256 signatures against server secrets to ensure secure payment notifications from AlgoVoi networks.
Instructions
Verify an AlgoVoi webhook HMAC-SHA256 signature. Returns {valid: true, payload: } if the signature matches the server's configured webhook secret (ALGOVOI_WEBHOOK_SECRET env var — never passed as a tool argument).
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": {
"raw_body": "<raw_body>",
"signature": "<signature>"
},
"name": "verify_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_body | Yes | Raw webhook POST body as a UTF-8 string. | |
| signature | Yes | Base64 signature from the X-AlgoVoi-Signature header. |