文档中心 > API类目 > 阿信-交易API

taobao.alitrip.axin.trans.fund.update (修改资金单接口)

阿信供销平台-修改资金单接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
axin_fund_update_d_t_o AxinFundUpdateDto 必须 更新资金单接口入参
  • └ req_version
  • String
  • 必须
  • 23223
  • 请求版本号,用于幂等校验
  • └ attributes
  • String
  • 可选
  • 23223
  • 扩展属性
  • └ status
  • Number
  • 必须
  • 1
  • 状态
  • └ alipay_order_id
  • String
  • 必须
  • 2323
  • 支付宝交易号
  • └ fund_id
  • Number
  • 必须
  • 232
  • 资金单ID
  • └ outer_order_id
  • String
  • 可选
  • 3223
  • 订单ID

响应参数

名称 类型 示例值 描述
result Result 接口返回model
  • └ error_msg
  • String
  • "参数错误"
  • 错误信息
  • └ error_code
  • String
  • "isv.invalid-parameter"
  • 错误码
  • └ need_retry
  • Boolean
  • false
  • 是否需要重试
  • └ info_msg
  • String
  • 22
  • 提示信息
  • └ success
  • Boolean
  • false
  • 是否成功
  • └ data
  • Number
  • 0
  • 成功数量

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripAxinTransFundUpdateRequest req = new AlitripAxinTransFundUpdateRequest();
AlitripAxinTransFundUpdateRequest.AxinFundUpdateDto obj1 = new AlitripAxinTransFundUpdateRequest.AxinFundUpdateDto();
obj1.setReqVersion("23223");
obj1.setAttributes("23223");
obj1.setStatus(1L);
obj1.setAlipayOrderId("2323");
obj1.setFundId(232L);
obj1.setOuterOrderId("3223");
req.setAxinFundUpdateDTO(obj1);
AlitripAxinTransFundUpdateResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_axin_trans_fund_update_response>
    <result>
        <error_msg>&quot;参数错误&quot;</error_msg>
        <error_code>&quot;isv.invalid-parameter&quot;</error_code>
        <need_retry>false</need_retry>
        <info_msg>22</info_msg>
        <success>false</success>
        <data>0</data>
    </result>
</alitrip_axin_trans_fund_update_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

返回
顶部