wechat_create_native_order
Create a WeChat Pay V3 Native order for QR-code payment. Returns a signed request spec for pre-flight checks, or calls WeChat API to obtain a code_url.
Instructions
微信支付V3 Native 扫码下单:execute=false 仅返回已签名的请求规格;true 真实调用微信 API 返回 code_url(二维码内容)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cred | No | 凭证(可省略,改用环境变量;PEM 字段可直接传 PEM 全文或 .pem 文件路径) | |
| order | Yes | ||
| execute | No | true=真实请求微信;false=仅构造(默认 true) | |
| notifyUrl | Yes | 微信异步回调 HTTPS 地址 |