wechat_verify_callback
Verify WeChat Pay V3 callback signatures using the platform certificate to confirm notification authenticity and return a validity boolean.
Instructions
微信支付V3 异步通知验签:用微信支付平台证书校验 Wechatpay-Signature。返回 {valid:boolean}。
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": {
"timestamp": "<timestamp>",
"nonce": "<nonce>",
"signature": "<signature>",
"rawBody": "<rawBody>"
},
"name": "wechat_verify_callback"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cred | No | 凭证(可省略,改用环境变量;PEM 字段可直接传 PEM 全文或 .pem 文件路径) | |
| nonce | Yes | 请求头 Wechatpay-Nonce | |
| rawBody | Yes | 请求体原始字符串(不可格式化) | |
| signature | Yes | 请求头 Wechatpay-Signature | |
| timestamp | Yes | 请求头 Wechatpay-Timestamp |