Verify Yolfi Webhook Signature
yolfi_webhooks_verifyVerify the X-Yolfi-Signature HMAC against the raw JSON webhook payload before trusting payment events, using endpoint signing secrets or the configured webhook secret.
Instructions
Verify an X-Yolfi-Signature HMAC over the raw JSON webhook payload before trusting payment events.
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": {
"payload": "<payload>",
"signature": "<signature>"
},
"name": "yolfi_webhooks_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Raw webhook request body string, before JSON parsing. | |
| signature | Yes | X-Yolfi-Signature header value. | |
| endpointId | No | Webhook endpoint id whose signing secret was stored locally during create or rotate. YOLFI_WEBHOOK_SECRET takes precedence when set. |