FrontToken: ********************{
"type": "COURSE",
"goodsId": "123456",
"otherAmount": 100,
"payChannel": "string",
"payType": "string",
"openId": "string",
"productName": "课程名称",
"couponSharedToUserId": "string",
"shareId": "string",
"useType": "string",
"id": "order123456",
"appId": "string",
"source": "string",
"notifyUrl": "string",
"couponId": "coupon123456"
}curl --location --request POST '/front/data-info/coupon-pay' \
--header 'FrontToken: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "COURSE",
"goodsId": "123456",
"otherAmount": 100,
"payChannel": "string",
"payType": "string",
"openId": "string",
"productName": "课程名称",
"couponSharedToUserId": "string",
"shareId": "string",
"useType": "string",
"id": "order123456",
"appId": "string",
"source": "string",
"notifyUrl": "string",
"couponId": "coupon123456"
}'{
"code": 0,
"message": "string",
"data": {
"id": "order123456",
"userId": "user123456",
"goodsId": "goods123456",
"goodsName": "课程名称",
"couponAmount": 10,
"amount": 100,
"payAmount": 90,
"status": "WAITING",
"payResult": "string",
"tradeNo": "trade123456",
"qrCode": "string",
"buyerId": "string",
"payChannel": "ALIPAY",
"wxPayData": "string",
"expireDate": "2019-08-24T14:15:22.123Z",
"payFinishTime": "2019-08-24T14:15:22.123Z",
"createTime": "2019-08-24T14:15:22.123Z",
"updateTime": "2019-08-24T14:15:22.123Z",
"uuid": "string",
"userName": "string",
"couponName": "string",
"url": "string",
"userCouponId": "string",
"localTime": "2019-08-24T14:15:22.123Z",
"productName": "string",
"productType": "string",
"couponSharedToUserId": "string",
"shareId": "string",
"refundAmount": 0,
"realRefundAmount": 0,
"orderDesc": "string",
"totalAmount": 0,
"userAccountHistoryId": "string",
"orderCategory": "string",
"couponId": "string"
},
"success": true
}