微信-电脑网站支付

请求

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

响应示例

该接口无返回, 若请求成功则显示支付中心的微信收银台页面, 提示用户扫码支付