alibaba.idle.interact.loan.callback (闲鱼借贷回调)

闲鱼借贷回调

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
user String 必须 3 用户标识
infos IdleLoanCallbackInfo 必须 回调信息
  • └ user_id
  • Number
  • 必须
  • 3
  • 用户id
  • └ submit_time
  • String
  • 可选
  • 2025-01-17 16:00:00
  • 提交时间
  • └ complete_time
  • String
  • 可选
  • 2025-01-17 16:00:00
  • 完成时间
  • └ status
  • String
  • 必须
  • IN_PROCESSING
  • 状态
  • └ type
  • String
  • 必须
  • CREDIT
  • 类型
  • └ fund_products
  • String []
  • 可选
  • ["xx"]
  • 资方列表
  • └ process_no
  • String
  • 必须
  • xxx
  • 授信/借款流程号
  • └ channel_id
  • String
  • 必须
  • wzzx
  • 渠道号

响应参数

名称 类型 示例值 描述
idle_point_result IdlePointResult idlePointResult
  • └ success
  • Boolean
  • false
  • success
  • └ data
  • String
  • false
  • data
  • biz_error
  • BizError
  • xx
  • err
  • └ err_code
  • String
  • xx
  • 错误码
  • └ err_msg
  • String
  • xx
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIdleInteractLoanCallbackRequest req = new AlibabaIdleInteractLoanCallbackRequest();
req.setUser("3");
AlibabaIdleInteractLoanCallbackRequest.IdleLoanCallbackInfo obj1 = new AlibabaIdleInteractLoanCallbackRequest.IdleLoanCallbackInfo();
obj1.setUserId(3L);
obj1.setSubmitTime("2025-01-17 16:00:00");
obj1.setCompleteTime("2025-01-17 16:00:00");
obj1.setStatus("IN_PROCESSING");
obj1.setType("CREDIT");
obj1.setFundProducts(""xx"");
obj1.setProcessNo("xxx");
obj1.setChannelId("wzzx");
req.setInfos(obj1);
AlibabaIdleInteractLoanCallbackResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_idle_interact_loan_callback_response>
    <idle_point_result>
        <success>false</success>
        <data>false</data>
        <biz_error>
            <err_code>xx</err_code>
            <err_msg>xx</err_msg>
        </biz_error>
    </idle_point_result>
</alibaba_idle_interact_loan_callback_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

返回
顶部