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.
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. |