文档中心 > API类目 > 企业贷款-机构接入API

alibaba.finance.review.result.notify (企业贷款业务-机构复审结果推送)

企业贷款业务-机构复审结果推送

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
external_review_notify_request ExternalReviewNotifyRequest 可选 请求体
  • └ interest_rate
  • String
  • 可选
  • 0.1
  • 授信利率
  • └ freeze_main_code
  • String
  • 可选
  • FAIL
  • 冻结码
  • └ request_id
  • String
  • 必须
  • 123
  • 幂等号
  • └ credit_apply_no
  • String
  • 必须
  • FI123
  • 授信单号
  • └ credit_status
  • String
  • 必须
  • VALID
  • 授信状态
  • └ fail_reason_message
  • String
  • 可选
  • FAIL
  • 失败原因
  • └ apply_no
  • String
  • 必须
  • FI123
  • 单号
  • └ fail_reason_code
  • String
  • 可选
  • FAIL
  • 失败原因码
  • └ customer_id
  • String
  • 可选
  • 123
  • 用户ID
  • └ credit_quota
  • String
  • 可选
  • 123
  • 授信状态
  • └ start_time
  • Date
  • 可选
  • 2024-01-01 00:00:00
  • 授信开始时间
  • └ freeze_detail_code
  • String
  • 可选
  • FAIL
  • 冻结详情码
  • └ describe
  • String
  • 可选
  • FAIL
  • 描述
  • └ end_time
  • Date
  • 可选
  • 2024-01-01 00:00:00
  • 授信结束时间

响应参数

名称 类型 示例值 描述
trace_id String 123 链路ID
response_message String FAIL 失败原因
response_code String FAIL 失败码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinanceReviewResultNotifyRequest req = new AlibabaFinanceReviewResultNotifyRequest();
AlibabaFinanceReviewResultNotifyRequest.ExternalReviewNotifyRequest obj1 = new AlibabaFinanceReviewResultNotifyRequest.ExternalReviewNotifyRequest();
obj1.setInterestRate("0.1");
obj1.setFreezeMainCode("FAIL");
obj1.setRequestId("123");
obj1.setCreditApplyNo("FI123");
obj1.setCreditStatus("VALID");
obj1.setFailReasonMessage("FAIL");
obj1.setApplyNo("FI123");
obj1.setFailReasonCode("FAIL");
obj1.setCustomerId("123");
obj1.setCreditQuota("123");
obj1.setStartTime(StringUtils.parseDateTime("2024-01-01 00:00:00"));
obj1.setFreezeDetailCode("FAIL");
obj1.setDescribe("FAIL");
obj1.setEndTime(StringUtils.parseDateTime("2024-01-01 00:00:00"));
req.setExternalReviewNotifyRequest(obj1);
AlibabaFinanceReviewResultNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_review_result_notify_response>
    <trace_id>123</trace_id>
    <response_message>FAIL</response_message>
    <response_code>FAIL</response_code>
</alibaba_finance_review_result_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

返回
顶部