1、当商户接到我方退款请求,并在请求中返回为审核中,后续可以通过该接口通知审核结果 2、若退款成功,会返回更改结果,否则返回错误代码
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
refund_no | String | 可选 | 12312 | 退款单号 | |
refund_result | String | 必须 | SUCCESS | 退款结果 | |
trade_no | String | 必须 | 1213131 | 订单号 | |
out_order_no | String | 可选 | 123123 | isv订单号 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); LifeBookingTradeRefundNoticeRequest req = new LifeBookingTradeRefundNoticeRequest(); req.setRefundNo( "12312" ); req.setRefundResult( "SUCCESS" ); req.setTradeNo( "1213131" ); req.setOutOrderNo( "123123" ); LifeBookingTradeRefundNoticeResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 | < life_booking_trade_refund_notice_response > < result > < trace_id >sdfq31ads</ trace_id > < success >false</ success > < error > < view >系统错误,请稍后重试</ view > < code >SYSTEM_ERROR</ code > < message >系统错误</ message > </ error > </ result > </ life_booking_trade_refund_notice_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|