您的位置 : 文档中心 -> API信息

com.alibaba.trade:alibaba.trade.refund.OpQueryBatchRefundByOrderIdAndStatus-1
查询退款单详情-根据订单ID 免费

根据订单号实时查询退款单列表。

API用户授权类型

需要授权

系统级输入参数

名称 类型 是否必须 描述
_aop_timestamp String 请求时间戳
_aop_signature String 请求签名
access_token String 用户授权令牌

应用级输入参数

名称 类型 是否必须 描述 示例值 默认值
orderId String 订单id 151267031**8969811
queryType String 1:活动;3:退款成功 3
dipsuteType int 1:售中退款 2:售后退款 1

返回结果

名称 类型 是否必须 描述 示例值
+ result alibaba.trade.refund.OpQueryBatchRefundByOrderIdAndStatusResult 查询结果 {}
errorCode String 错误码 500
errorMessage String 错误信息 "{\"errorCode\":\"003002\",\"errorMessage\":\"SERVICE:INVOKE_FAIL:OrderRefundService.queryBatchRefundByOrderIdAndStatus\",\"cause\":\"errorCode:ORDER_NOT_EXIST,errorMsg:null,cause:null\"}"
extErrorMessage String 附加信息 订单号有误

返回结果

extInfo参数说明

  payMode     资金分流(alipay:支付宝,fundFreeze:资金平台账户冻结) 
 7d          7天无理由订单标记(1表示7天无理由订单)   

请求参数示例

  orderId :151267031008969811
queryType :3
dipsuteType :1 

返回参数示例

  {"result":{"opOrderRefundModels":[{"applyReasonId":20021,"applySubReasonId":-1,"buyerUserId":1624961198,"alipayPaymentId":"2018042321001008760555342267","isCrmModifyRefund":false,"rejectTimes":0,"isTimeOutFreeze":false,"applyReason":"颜色/图案/款式不符","isInsufficientAccount":false,"rejectReasonId":0,"buyerLoginId":"alitestforisv02","refundCarriage":0,"isGoodsReceived":true,"sellerUserId":1623492085,"isOnlyRefund":false,"status":"refundsuccess","isRefundGoods":true,"refundOperationList":[],"isSellerDelayDisburse":false,"sellerMemberId":"b2b-1623492085","sellerLoginId":"alitestforisv01","gmtModified":"20180423174714000+0800","isAftersaleAutoDisburse":false,"disputeRequest":3,"disputeType":1,"id":8651493722961198,"isSupportNewSteppay":true,"canRefundPayment":1,"tradeTypeStr":"50060","freightBill":"12345134135435234","gmtApply":"20180423171116000+0800","goodsStatus":3,"gmtCompleted":"20180423174713000+0800","applyPayment":1,"buyerLogisticsName":"其他","orderId":151267031008969811,"isNewRefundReturn":true,"applyCarriage":0,"gmtCreate":"20180423171116000+0800","isBuyerSendGoods":true,"buyerMemberId":"b2b-1624961198","frozenFund":-1,"refundId":"TQ8651493722961198","extInfo":{"EXmrf":"1","ttid":"2","prepaidFailure":"QUERY_BUYER_CREDIT_LEVEL_FAIL","pay_lock":"seller","reason":"20021","apply_text_id":"null","newRefund":"rp2","bizCode":"cbu.general.refund","disputeTradeStatus":"4","lastOrder":"0","seller_agreed_refund_fee":"1","old_reason_id":"20021","sync":"0","b2b_seller_mId":"b2b-1623492085","seller_batch":"true","itemBuyAmount":"0","b2b_buyer_mId":"b2b-1624961198","ability":"1","refundPostFee":"0","seller_audit":"0","ee_trace_id":"0b802ca915244768332374685efa19","ol_tf":"1","opRole":"user","apply_init_refund_fee":"1","isVirtual":"0","logisticsCompanyId":"-1","itemPrice":"0","interceptStatus":"0","refundFrom":"2","restartForXiaoer":"1","appName":"tosp-aftersales","abnormal_dispute_status":"0","payMode":"alipay","workflowName":"cbu_return_and_refund","sgr":"1","enfunddetail":"1","sellerDoRefundNick":"alitestforisv01","bgmtc":"2018-04-23 09:48:12"},"refundPayment":1,"productName":"欧洲站2018新款宽松显瘦烫金印花字母老鹰短袖T恤打底裤套装女潮 黑 XL","success":true,"isAftersaleAgreeTimeout":false,"isInsufficientBail":false}]}} 

错误码

错误码 错误描述 解决方案
500 "{\"errorCode\":\"003002\",\"errorMessage\":\"SERVICE:INVOKE_FAIL:OrderRefundService.queryBatchRefundByOrderIdAndStatus\",\"cause\":\"errorCode:ORDER_NOT_EXIST,errorMsg:null,cause:null\"}" 订单号有误

API工具

SDK 示例