alipay_precreate
Create an Alipay payment order and obtain a QR code for customer payment. Use execute=false to get the signed request specification instead.
Instructions
支付宝当面付预下单:execute=false 仅返回已签名请求规格;true 真实调用返回 qr_code 二维码链接。
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": {
"order": "<order>"
},
"name": "alipay_precreate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cred | No | 凭证(可省略,改用环境变量;PEM 字段可直接传 PEM 全文或 .pem 文件路径) | |
| order | Yes | ||
| execute | No | ||
| sandbox | No | 是否沙箱环境 | |
| notifyUrl | No |