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

tmall.fin.car.open.bill.notify (天猫汽车金融账单通知)

天猫汽车金融账单通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
bill_status_equest_top BillStatusRequestTop 必须 账单入参
  • └ customer_type
  • String
  • 必须
  • ALI
  • 最大长度:32,客户类型:ALI 阿里客户
  • └ customer_id
  • String
  • 必须
  • 1232
  • 最大长度:32,客户id
  • └ biz_type
  • String
  • 必须
  • TMALL_CAR
  • 最大长度:32,业务单据类型:TMALL_CAR
  • └ biz_no
  • String
  • 必须
  • 123
  • 最大长度:64,业务单据
  • └ event_time
  • Date
  • 必须
  • 2019-09-08 22:33:34
  • 事件时间
  • └ channel
  • String
  • 必须
  • GH_APP
  • 最大长度:32,请求渠道:GH_APP 广汇渠道
  • └ req_no
  • String
  • 必须
  • 23123
  • 最大长度:64,请求编号:幂等
  • └ extend_info
  • String
  • 可选
  • {}
  • 最大长度:1024,扩展信息 json格式

响应参数

名称 类型 示例值 描述
result BillStatusResponseTop 结果
  • └ message
  • String
  • 异常
  • 错误消息
  • └ succeeded
  • Boolean
  • true
  • 是否成功
  • └ retry
  • Boolean
  • false
  • 是否重试
  • └ code
  • String
  • 10000
  • 结果码:10000表示成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallFinCarOpenBillNotifyRequest req = new TmallFinCarOpenBillNotifyRequest();
TmallFinCarOpenBillNotifyRequest.BillStatusRequestTop obj1 = new TmallFinCarOpenBillNotifyRequest.BillStatusRequestTop();
obj1.setCustomerType("ALI");
obj1.setCustomerId("1232");
obj1.setBizType("TMALL_CAR");
obj1.setBizNo("123");
obj1.setEventTime(StringUtils.parseDateTime("2019-09-08 22:33:34"));
obj1.setChannel("GH_APP");
obj1.setReqNo("23123");
obj1.setExtendInfo("{}");
req.setBillStatusEquestTop(obj1);
TmallFinCarOpenBillNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_fin_car_open_bill_notify_response>
    <result>
        <message>异常</message>
        <succeeded>true</succeeded>
        <retry>false</retry>
        <code>10000</code>
    </result>
</tmall_fin_car_open_bill_notify_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

返回
顶部