天猫汽车金融账单查询
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
loan_bill_request | LoanBillRequestTop | 必须 | 系统自动生成 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | LoanBillResponseTop | 账单结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallFinCarOpenBillQueryRequest req = new TmallFinCarOpenBillQueryRequest(); TmallFinCarOpenBillQueryRequest.LoanBillRequestTop obj1 = new TmallFinCarOpenBillQueryRequest.LoanBillRequestTop(); obj1.setCustomerType("ALI"); obj1.setCustomerId("123"); obj1.setBizType("TMALL_CAR"); obj1.setBizNo("1232"); obj1.setLoanNo("123"); obj1.setRequestNo("2343"); obj1.setChannel("DS_APP"); req.setLoanBillRequest(obj1); TmallFinCarOpenBillQueryResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<tmall_fin_car_open_bill_query_response> <result> <bill_details> <bill_detail_top> <bill_no>1243</bill_no> <bill_out_no>12343</bill_out_no> <total_amt>1000</total_amt> <paid_total_amt>200</paid_total_amt> <bill_terms> <bill_term_top> <number>231</number> <status>OVERDUE</status> <term>24</term> <current>true</current> <total_amt>1000</total_amt> <paid_total_amt>80</paid_total_amt> <principal_amt>23</principal_amt> <paid_principal_amt>23</paid_principal_amt> <interest_amt>20</interest_amt> <paid_interest_amt>100</paid_interest_amt> <penalty_amt>20</penalty_amt> <paid_penalty_amt>20</paid_penalty_amt> <due_date>2019-09-13</due_date> <clear_date>2019-09-10</clear_date> <overdue_day>0</overdue_day> <term_start_date>2019-08-01</term_start_date> <term_end_date>2019-08-29</term_end_date> </bill_term_top> </bill_terms> <bill_type>ATTACH_LOAN</bill_type> <status>SETTLED</status> </bill_detail_top> </bill_details> <customer_type>ALI</customer_type> <status>SETTLED</status> <term_unit>MONTH</term_unit> <paid_total_amt>1000</paid_total_amt> <repayment_method>AVERAGE_CAPITAL</repayment_method> <total_amt>5000</total_amt> <code>10000</code> <loan_no>1232</loan_no> <interest_rate>0.87</interest_rate> <bill_terms> <bill_term_top> <number>1232</number> <status>INVALID</status> <term>24</term> <current>true</current> <total_amt>2000</total_amt> <paid_total_amt>200</paid_total_amt> <principal_amt>123</principal_amt> <paid_principal_amt>111</paid_principal_amt> <interest_amt>100</interest_amt> <paid_interest_amt>20</paid_interest_amt> <penalty_amt>100</penalty_amt> <paid_penalty_amt>20</paid_penalty_amt> <due_date>2019-08-02</due_date> <clear_date>2019-09-03</clear_date> <overdue_day>3</overdue_day> <term_start_date>2019-08-02</term_start_date> <term_end_date>2019-08-02</term_end_date> </bill_term_top> </bill_terms> <currency>CNY</currency> <message>系统业务异常</message> <customer_id>123</customer_id> <term>24</term> <biz_type>TMALL_CAR</biz_type> <rate_unit>YEAR</rate_unit> <biz_no>1342</biz_no> <success>true</success> </result> </tmall_fin_car_open_bill_query_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|