文档
测试

JSAPI下单

POST
/pos/wechatPayment/createOrder

请求头

参数名
类型
描述
必填
Authorization
String
Bearer Token值
必填

响应参数

参数名
类型
描述
必填
code
int
0.正常;1.异常
必填
msg
String
状态描述
必填

说明 / 示例

{ "mchid": "1529625841", "out_trade_no": "1217752501201407033233368318", "appid": "wx6a7d903b07154b14", "description": "Image形象店-深圳腾大-QQ公仔", "notify_url": "https://weixin.qq.com/", "amount": { "total": 1, "currency": "CNY" }, "payer": { "openid": "o4GgauInH_RCEdvrrNGrntXDuXXX" } }