字段名:总金额. 变量名:total_fee 是否必填:是
字段名:交易起始时间. 变量名:time_start 是否必填:否 类型:String(14) 示例值:20091225091010 描述:订单生成时间,格式为yyyyMMddHHmmss,如2009年12月25日9点10分10秒表示为20091225091010。其他详见时间规则
{
"outTradeNo": "string",
"description": "string",
"openid": "string",
"body": "string",
"feeType": "string",
"totalFee": 0,
"timeStart": "string",
"timeExpire": "string",
"tradeType": "string",
"wxMpOpenId": "string",
"deviceType": 0,
"isCycle": 0,
"rechargeConfigId": 0,
"contractId": "string",
"userId": 0,
"clientIp": "string",
"friendUserId": 0
}
curl --location --request POST 'https://test-api.yunjishop.cn/payment/app/v1/pay/unifiedAppOrder' \
--header 'Content-Type: application/json' \
--data-raw '{
"outTradeNo": "string",
"description": "string",
"openid": "string",
"body": "string",
"feeType": "string",
"totalFee": 0,
"timeStart": "string",
"timeExpire": "string",
"tradeType": "string",
"wxMpOpenId": "string",
"deviceType": 0,
"isCycle": 0,
"rechargeConfigId": 0,
"contractId": "string",
"userId": 0,
"clientIp": "string",
"friendUserId": 0
}'
{
"code": 0,
"msg": "string",
"trace": "string",
"data": {
"wxTradeId": 0,
"appId": "string",
"timeStamp": "string",
"nonceStr": "string",
"get_package": "string",
"presentCredits": 0,
"signType": "string",
"paySign": "string",
"resultData": {
"property1": "string",
"property2": "string"
}
}
}