注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 飞猪金融API

alitrip.finance.standard.loanexcess.resgister.notify (标准贷超注册结果通知接口)

标准贷超注册结果通知接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
mobile String 必须 13000000000 注册手机号
status String 必须 0 注册状态:0:注册成功 1:处理中 2:失败,可以重新注册 3:失败,不可以继续注册
msg String 可选 xxx status为2或3时,必须,给出失败原因
channel String 可选 fliggy 直接返回飞猪给的渠道值
order_id String 必须 3333333 服务商对应的唯一订单号
fund_code String 必须 xxx 资方code

响应参数

名称 类型 示例值 描述
result_code String 1 1:成功; 2:失败
result_msg String 系统异常 失败时必须返回失败原因 示例:手机号已被注册
trace_id String 213e01ed17410518918323621e19d5 响应id

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlitripFinanceStandardLoanexcessResgisterNotifyRequest req = new AlitripFinanceStandardLoanexcessResgisterNotifyRequest();
req.setMobile("13000000000");
req.setStatus("0");
req.setMsg("xxx");
req.setChannel("fliggy");
req.setOrderId("3333333");
req.setFundCode("xxx");
AlitripFinanceStandardLoanexcessResgisterNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alitrip_finance_standard_loanexcess_resgister_notify_response>
    <result_code>1</result_code>
    <result_msg>系统异常</result_msg>
    <trace_id>213e01ed17410518918323621e19d5</trace_id>
</alitrip_finance_standard_loanexcess_resgister_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

返回
顶部