Xero Verify Webhook
xero_verify_webhookValidates Xero webhook payloads by checking the HMAC-SHA256 signature in X-Xero-Signature against the raw request body, confirming authenticity before processing.
Instructions
Verify a Xero webhook HMAC-SHA256 signature.
Xero signs webhook payloads with HMAC-SHA256 using your webhook key. The signature is base64-encoded in the X-Xero-Signature header.
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": {
"raw_body": "<raw_body>",
"signature_header": "<signature_header>"
},
"name": "xero_verify_webhook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_body | Yes | Raw webhook request body (JSON string) | |
| signature_header | Yes | X-Xero-Signature header value (base64) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |