verify_webhook_signature
Check a webhook signature the way Last Price signs them: pass payload (the raw body, up to 8 KB), signature and secret, and optionally encoding (hex or base64) and prefix. Answers whether it is valid. Public and limited per address; use a test secret rather than a live one when you can, because the secret travels in the request. Needs no credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No | A prefix the signature carries, for example sha256=. | |
| secret | Yes | The signing secret. Use a test secret where you can. | |
| payload | Yes | The raw body the signature covers. | |
| encoding | No | How the signature is encoded. Defaults to hex. | |
| signature | Yes | The signature to check. |