该接口直接退款给用户,不会处理退款逻辑;返回结果成功仅代表成功受理,需要接收订单通知感知用户退款成功事件
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
vacation_refund_to_user_request | VacationRefundToUserRequest | 必须 | 退款给用户接口 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_success | Boolean | true | 是否成功受理 |
result_code | String | 200 | 错误码 |
result_msg | String | Invalid Params | 错误信息 |
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlitripBtripSupplychainVacationOrderRefundtouserRequest req = new AlitripBtripSupplychainVacationOrderRefundtouserRequest(); AlitripBtripSupplychainVacationOrderRefundtouserRequest.VacationRefundToUserRequest obj1 = new AlitripBtripSupplychainVacationOrderRefundtouserRequest.VacationRefundToUserRequest(); obj1.setBtripOrderId( "1012312414215" ); obj1.setRefundPriceCent(1000000L); req.setVacationRefundToUserRequest(obj1); AlitripBtripSupplychainVacationOrderRefundtouserResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < alitrip_btrip_supplychain_vacation_order_refundtouser_response > < result_success >true</ result_success > < result_code >200</ result_code > < result_msg >Invalid Params</ result_msg > </ alitrip_btrip_supplychain_vacation_order_refundtouser_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 > |
错误码 | 错误描述 | 解决方案 |
---|