3.6未笔撤单【作废】
POST
refundLastOrder
接口描述
末笔交易撤消,消费款项原路退回;调用前,需要先查询末笔交易
请求参数
参数名
类型
描述
必填
token
String
登录TOKEN
必填
appid
String
商户appid
必填
order_id
String
消费订单ID,末笔交易查询成功返回的
必填
card_no
String
会员卡号,必须带上,用来校验此订单是否该卡号的
必填
响应参数
参数名
类型
描述
必填
code
int
错误码,成功返回 200,失败返回其它
必填
message
String
错误描述
必填
order_id
Long
订单 ID
必填
total_amout
Double
订单金额
必填
sale_date
String
下单时间, 时间格式为 yyyy-MM-dd HH:mm:ss
必填
customer_sn
String
会员卡号
必填
pay_status
int
支付状态:0表示未支付,1表示支付成功
必填
trade_status
int
交易状态:0未付款,1已付款,-1订单已取消,-2已退款
必填
update_date
String
订单最后更新时间:时间格式为 yyyy-MM-dd HH:mm:ss
必填