curl --location --request POST 'http://dev-cn.your-api-server.com/api/v2/create_order?timestamp=1345678901234&nonce=iuy987q4htafreqw' \
--header 'Signature: irqy39487t092h3fiqufheiufhqyt9q' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": "2.0",
"msg": "序列化后的json字符串",
"type": "pre_create_order"
}'
{
"err_no": 0,
"err_tips": "success",
"data": {
"out_order_no": "89876867867087",
"pay_expire_seconds": 300,
"order_entry_schema": {
"path": "page/refundDetail/xxx",
"params": "{\"id\": 1}"
},
"order_valid_time": [
{
"goods_id": "xxx",
"valid_start_time": 1232312000,
"valid_end_time": 1231231000
}
],
"order_goods_info": [
{
"goods_id": "xxx",
"merchant_uid": "12345"
}
]
}
}