merchantId 和 token 同为识别商户参数merchantId 用于对外公开时候使用,如网页上使用
业务代码请参考【普通订单】接口
{ "price": 500, "type": "ALIPAY", "token": "300048df3dedaf643b4fb793784a209e", "player": "Ran" }
curl --location --request POST '/trade/point' \ --header 'Authorization: Bearer {{token}}' \ --header 'Content-Type: application/json' \ --data-raw '{ "price": 500, "type": "ALIPAY", "token": "300048df3dedaf643b4fb793784a209e", "player": "Ran" }'
{ "code": 200, "data": { "price": 500, "order": "21058ceecb73d0db5f715b320fd99d72", "qrcode": "wxp://f2f0WeOU3IZ4AXEv3W45JEE2PBy6BznYKfhoylgEZoQsQgI", "expiredAt": "2023-05-05 22:11:44" }, "msg": "成功" }