文档中心 > API类目 > 天猫汽车

qimen.tmall.car.lease.paystatussynchronize (支付状态信息同步)

天猫开新车租后支付状态信息同步

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
orderId Number 必须 1232123456 开新车老的订单id
type Number 必须 1 类型:1.尾款,2.额外费用订单
amount Number 必须 2500000 金额,单位:分
refOrderId Number 必须 22334343434 天猫订单id

响应参数

名称 类型 示例值 描述
success String true 是否成功
msgCode String XX_202 错误码
msgDesc String 订单号错误 错误描述

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
QimenCloudClient client = new DefaultQimenCloudClient(url, appkey, secret);
TmallCarLeasePaystatussynchronizeRequest req = new TmallCarLeasePaystatussynchronizeRequest();
req.setOrderId(1232123456L);
req.setType(1L);
req.setAmount(2500000L);
req.setRefOrderId(22334343434L);
TmallCarLeasePaystatussynchronizeResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<success>true</success>
<msgCode>XX_202</msgCode>
<msgDesc>订单号错误</msgDesc>

异常示例

  • 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

返回
顶部