Verify Yolfi Webhook Signature
yolfi_webhooks_verifyVerify X-Yolfi-Signature HMAC over raw JSON webhook payload to confirm authenticity of payment events before processing.
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. | |
| secret | No | Optional explicit webhook secret. Defaults to YOLFI_WEBHOOK_SECRET or YOLFI_API_KEY. |