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.
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": {
"signature": "<signature>",
"webhookBody": "<webhookBody>"
},
"name": "verify_webhook"
}
}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 |