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 '/miniApp/ol/pay-order/to-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"
}'{
"error": true,
"data": {},
"success": true,
"warn": true,
"empty": true,
"property1": {},
"property2": {}
}