GET http://order.hsifue.cn/payment/provider/weixin/native
该接口提供微信电脑网站支付的能力
参数名 | 参数类型 | 参数含义 | 是否必填 |
|---|---|---|---|
inputCharset | String(8) | 字符编码, 固定为UTF-8 | 是 |
signType | String(8) | 签名算法, 可选择SHA-256, SHA-1, MD5, 推荐使用SHA-256 | 是 |
appKey | String(32) | 应用Key | 是 |
outOrderId | String(100) | 应用的订单标识 | 是 |
extra | String(255) | 自定义参数, 支付完成后, 支付中心会在回调消息中原样回传 | 否 |
dealPrice | Integer | 成交价格, 以分为单位 | 是 |
subject | String(40) | 商品名称 | 是 |
g_signature | String | 签名 | 是 |
curl --location --request GET 'http://order.hsifue.cn/payment/provider/weixin/native?inputCharset=UTF-8&signType=SHA-256&appKey=QI3FPWF3AGBBOYrVQtBKHpotRaFdb0HG&outOrderId=outOrderId2022050501&extra=extra&dealPrice=1&subject=中文&g_signature=dc1c9cd95ece7eb6f910df95676d4e9632415343ccdfcd5643ca6033fcd3a8a0' \
--header 'Content-Type: application/x-www-form-urlencoded该接口无返回, 若请求成功则显示支付中心的微信收银台页面, 提示用户扫码支付