alipay.ins.propertys.business.asyncrefund (异步写入淘宝订单退款任务)

调baoxiantrade异步写入订单退款任务

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
refund_order_request BizOrderRefundRequest 可选 入参
  • └ standard_product_id
  • String
  • 可选
  • 20248
  • 标准产品编号
  • └ biz_source
  • String
  • 可选
  • insassetprod
  • 来源
  • └ out_biz_no
  • String
  • 可选
  • 45435434
  • 淘宝交易订单号
  • └ buyer_id
  • String
  • 可选
  • 43524353
  • 用户ID

响应参数

名称 类型 示例值 描述
result AliSceneResult 系统自动生成
  • └ error_biz_code
  • String
  • error
  • 错误码
  • └ model
  • String
  • null
  • 返回对象
  • └ error_biz_msg
  • String
  • error
  • 错误信息
  • └ is_success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlipayInsPropertysBusinessAsyncrefundRequest req = new AlipayInsPropertysBusinessAsyncrefundRequest();
AlipayInsPropertysBusinessAsyncrefundRequest.BizOrderRefundRequest obj1 = new AlipayInsPropertysBusinessAsyncrefundRequest.BizOrderRefundRequest();
obj1.setStandardProductId("20248");
obj1.setBizSource("insassetprod");
obj1.setOutBizNo("45435434");
obj1.setBuyerId("43524353");
req.setRefundOrderRequest(obj1);
AlipayInsPropertysBusinessAsyncrefundResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alipay_ins_propertys_business_asyncrefund_response>
    <result>
        <error_biz_code>error</error_biz_code>
        <model>null</model>
        <error_biz_msg>error</error_biz_msg>
        <is_success>true</is_success>
    </result>
</alipay_ins_propertys_business_asyncrefund_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部