verify_webhook_signature
Validate webhook authenticity from Infini Payment by checking signatures against provided body, timestamp, and secret to ensure secure transaction processing.
Instructions
Verify webhook signature from Infini.
Args:
body: Raw webhook body string
signature: Signature from webhook header
timestamp: Timestamp from webhook header
webhook_secret: Webhook secret (uses INFINI_SECRET_KEY if not provided)
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": {
"body": "<body>",
"signature": "<signature>",
"timestamp": "<timestamp>"
},
"name": "verify_webhook_signature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| signature | Yes | ||
| timestamp | Yes | ||
| webhook_secret | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |