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

alibaba.finance.xfd.loan.change.notify (消费贷借据变更通知)

消费贷借据变更通知

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_xfd_loan_change_external_request XfdLoanChangeExternalRequest 必须 请求体
  • └ after_status
  • String
  • 必须
  • OVERDUE
  • 变更后状态
  • └ before_status
  • String
  • 必须
  • NEW
  • 变更前状态
  • └ change_time
  • Date
  • 必须
  • 2024-01-01 00:00:00
  • 变更时间
  • └ customer_id
  • String
  • 可选
  • 123
  • 用户ID
  • └ institution_loan_no
  • String
  • 可选
  • 123
  • 机构借据号
  • └ loan_apply_no
  • String
  • 必须
  • FI123123121
  • 阿里支用单号
  • └ request_id
  • String
  • 必须
  • 123123131
  • 幂等号

响应参数

名称 类型 示例值 描述
result XfdExternalResponse 返回响应体
  • └ response_code
  • String
  • SUCCESS
  • 响应code
  • └ response_message
  • String
  • SUCCESS
  • 响应描述
  • └ trace_id
  • String
  • 23234
  • traceId
  • └ success
  • Boolean
  • true
  • 是否成功

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinanceXfdLoanChangeNotifyRequest req = new AlibabaFinanceXfdLoanChangeNotifyRequest();
AlibabaFinanceXfdLoanChangeNotifyRequest.XfdLoanChangeExternalRequest obj1 = new AlibabaFinanceXfdLoanChangeNotifyRequest.XfdLoanChangeExternalRequest();
obj1.setAfterStatus("OVERDUE");
obj1.setBeforeStatus("NEW");
obj1.setChangeTime(StringUtils.parseDateTime("2024-01-01 00:00:00"));
obj1.setCustomerId("123");
obj1.setInstitutionLoanNo("123");
obj1.setLoanApplyNo("FI123123121");
obj1.setRequestId("123123131");
req.setParamXfdLoanChangeExternalRequest(obj1);
AlibabaFinanceXfdLoanChangeNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_xfd_loan_change_notify_response>
    <result>
        <response_code>SUCCESS</response_code>
        <response_message>SUCCESS</response_message>
        <trace_id>23234</trace_id>
        <success>true</success>
    </result>
</alibaba_finance_xfd_loan_change_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

返回
顶部