扫码支付(主扫)
测试环境
https://gldopenapi.keruyun.com
测试环境
https://gldopenapi.keruyun.com
POST
/open/v1/wallet/scanCode
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/wallet/scanCode?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"outTradeNo": "PI_1557717057098"
}'
响应示例响应示例
{
"result": {
"codeUrl": "weixin://wxpay/bizpayurl?pr=SAJ6xwU"
},
"code": 0,
"message": "成功[OK]",
"messageUuid": "e39ec35d06b34ec2bf318ee9cf18b44f",
"apiMessage": null
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json