文档中心 > API类目 > 淘宝游戏API

taobao.apple.newuser.sign.notify (新用户签约通知接口)

用户付款成功后,资和信主动通知签约结果

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
result_code String 必须 00 结果code
result_msg String 可选 处理成功 结果信息说明
main_data AppleTopNewSignNotifyDo 可选 业务参数
  • └ card_no
  • String
  • 可选
  • GCA1234567890123
  • 电子卡卡号
  • └ tut
  • String
  • 可选
  • d32rd23d2
  • TopUpTocken
  • └ order_no
  • String
  • 可选
  • 201760308888961613
  • 商户订单号
  • └ memo
  • String
  • 可选
  • {attribute:235234}
  • 附加信息,后续可以扩展
  • └ user_no
  • String
  • 可选
  • 23523535
  • 商户上送的用户Id
  • └ uci
  • String
  • 可选
  • ali.201760308888961613
  • 商户上送UCI
  • └ mai
  • String
  • 可选
  • 34rt34wtf
  • Mask id
  • └ query_id
  • String
  • 可选
  • 34f4334w4few
  • 网关请求流水号,每次请求唯一

响应参数

名称 类型 示例值 描述
result_msg String 更新成功 处理结果说明
result_code String 00 处理结果码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AppleNewuserSignNotifyRequest req = new AppleNewuserSignNotifyRequest();
req.setResultCode("00");
req.setResultMsg("处理成功");
AppleNewuserSignNotifyRequest.AppleTopNewSignNotifyDo obj1 = new AppleNewuserSignNotifyRequest.AppleTopNewSignNotifyDo();
obj1.setCardNo("GCA1234567890123");
obj1.setTut("d32rd23d2");
obj1.setOrderNo("201760308888961613");
obj1.setMemo("{attribute:235234}");
obj1.setUserNo("23523535");
obj1.setUci("ali.201760308888961613");
obj1.setMai("34rt34wtf");
obj1.setQueryId("34f4334w4few");
req.setMainData(obj1);
AppleNewuserSignNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<apple_newuser_sign_notify_response>
    <result_msg>更新成功</result_msg>
    <result_code>00</result_code>
</apple_newuser_sign_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

返回
顶部