名称 | 说明 | 类型 | 扩展说明 |
---|---|---|---|
sp_mchid |
服务商商户号 如果为空则根据门店编号获取 |
字符串 |
无 |
sub_mchid |
子商户商户号 如果为空则根据门店编号获取 |
字符串 |
无 |
out_order_no |
订单号 |
字符串 |
无 |
out_shop_no |
商户旗下门店的唯一编号 |
字符串 |
无 |
sub_appid |
小程序ID |
字符串 |
必填 |
sub_openid |
用户标识 |
字符串 |
无 |
login_token |
微信用户登录接口返回的登录票据 公众号,填写页面授权access_token 小程序,填写session_key。 |
字符串 |
无 |
order_entry |
点餐入口,公众号:点餐页面完整URL 小程序:点餐页面path路径 |
字符串 |
无 |
total_amount |
总价,单位为分 |
整数 |
无 |
discount_amount |
优惠金额,单位为分 |
整数 |
无 |
user_amount |
实际支付金额,单位为分 |
整数 |
无 |
status |
订单状态,取值如下: CREATE_DEAL—用户下单; PAY_SUCCESS—支付完成,结账成功; |
字符串 |
无 |
action_time |
状态发生变化的时间,格式为rfc3339格式,如2018-06-08T10:34:56+08:00 |
字符串 |
无 |
pay_time |
支付时间(status为PAY_SUCCESS时必填),格式为rfc3339格式,如2018-06-08T10:34:56+08:00 |
字符串 |
无 |
transaction_id |
交易订单号(status为PAY_SUCCESS时必填) |
字符串 |
无 |
out_trade_no |
服务商系统内部支付订单号(status为PAY_SUCCESS时必填) |
字符串 |
无 |
dish_list |
菜品清单 |
Collection of DishInfo |
无 |