消费贷授信结果回调
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
param_xfd_credit_result_external_request | XfdCreditResultExternalRequest | 必须 | 请求体 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | XfdExternalResponse | 响应体 | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaFinanceXfdCreditNotifyRequest req = new AlibabaFinanceXfdCreditNotifyRequest(); AlibabaFinanceXfdCreditNotifyRequest.XfdCreditResultExternalRequest obj1 = new AlibabaFinanceXfdCreditNotifyRequest.XfdCreditResultExternalRequest(); obj1.setCreditApplyNo( "FIXXXXXXX" ); obj1.setCreditQuota( "1" ); obj1.setCreditStatus( "REJECTED" ); obj1.setCreditTime(StringUtils.parseDateTime( "2019-11-22 10:00:09" )); obj1.setCustomerId( "123" ); obj1.setEndTime(StringUtils.parseDateTime( "2019-11-22 10:00:09" )); obj1.setExtendInfo( "{}" ); obj1.setFailReasonCode( "XX" ); obj1.setFailReasonMessage( "XX" ); obj1.setInstitutionCreditApplyNo( "XXXX" ); obj1.setInstitutionCreditNo( "XXX" ); obj1.setInstitutionCustomerId( "321" ); obj1.setNextAvailableApplyTime(StringUtils.parseDateTime( "2020-11-22 10:00:09" )); obj1.setRequestId( "123123" ); obj1.setStartTime(StringUtils.parseDateTime( "2019-11-22 10:00:09" )); obj1.setCollOffType( "SHORT" ); req.setParamXfdCreditResultExternalRequest(obj1); AlibabaFinanceXfdCreditNotifyResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 | < alibaba_finance_xfd_credit_notify_response > < result > < sub_code >SUCCESS</ sub_code > < sub_msg >SUCCESS</ sub_msg > < trace_id >123123</ trace_id > < success >true</ success > </ result > </ alibaba_finance_xfd_credit_notify_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|