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

alibaba.finance.encryptedresult.notify (机构加密结果推送)

机构加密结果推送

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param EncryptedNotifyParam 必须 请求入参
  • └ instruction_type
  • String
  • 必须
  • CREDIT
  • 操作类型,CREATE_BANK_ACCOUNT-开户,CREDIT-授信,APPLY_LOAN-支用
  • └ apply_no
  • String
  • 必须
  • FI990100012041412345600002388027
  • 单据号
  • └ data
  • String
  • 必须
  • xxx
  • 结果通知JSON String的加密后密文
  • └ request_id
  • String
  • 必须
  • REQ1234567
  • 请求幂等号-最长32
  • └ channel
  • String
  • 必须
  • ICBC
  • 渠道号,一般填写机构简称

响应参数

名称 类型 示例值 描述
result EncryptedNotifyResult 请求响应
  • └ trace_id
  • String
  • 0ba7a6b81648632990354322123456
  • 调用trace,用于问题调用链路问题排查

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaFinanceEncryptedresultNotifyRequest req = new AlibabaFinanceEncryptedresultNotifyRequest();
AlibabaFinanceEncryptedresultNotifyRequest.EncryptedNotifyParam obj1 = new AlibabaFinanceEncryptedresultNotifyRequest.EncryptedNotifyParam();
obj1.setInstructionType("CREDIT");
obj1.setApplyNo("FI990100012041412345600002388027");
obj1.setData("xxx");
obj1.setRequestId("REQ1234567");
obj1.setChannel("ICBC");
req.setParam(obj1);
AlibabaFinanceEncryptedresultNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_finance_encryptedresult_notify_response>
    <result>
        <trace_id>0ba7a6b81648632990354322123456</trace_id>
    </result>
</alibaba_finance_encryptedresult_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

返回
顶部