verify_webhook
Verifies webhook signatures using RSA-SHA512 to confirm the event originated from the platform.
Instructions
Verify the signature of a webhook event from PLATFORM. Uses RSA-SHA512 signature verification with the operator's public key.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| publicKey | No | The public RSA key in PEM format (optional, uses env CRYPTO_PAYER_PUBLIC_KEY if not provided) | |
| signature | Yes | The x-payer-signature header value from the webhook request | |
| webhookBody | Yes | The complete webhook request body containing event and data |