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

taobao.apple.newuser.activate.notify (新用户激活通知接口)

资和信主动通知激活结果

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
result_code String 可选 00 结果对应值,00位成功,其他为失败
result_msg String 可选 成功 处理结果中文描述
main_data AppleTopActivateNotifyDo 可选 主业务参数
  • └ card_no
  • String
  • 可选
  • GCA1234567890123
  • 电子卡卡号
  • └ goods_id
  • String
  • 可选
  • 6923127360045
  • 商品编号
  • └ order_no
  • String
  • 可选
  • 201760308888961613
  • 商户唯一订单号
  • └ memo
  • String
  • 可选
  • {attribute:235234}
  • 附加信息,后续可以扩展
  • └ uci
  • String
  • 可选
  • ali.201760308888961613
  • 商户上送UCI
  • └ face_price
  • String
  • 可选
  • 5000
  • 面值,单位分
  • └ gateway_order_no
  • String
  • 可选
  • zhxgw58324987983
  • 网关订单号
  • └ card_pass
  • String
  • 可选
  • qwewerxcqwea
  • 电子卡密码

响应参数

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

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AppleNewuserActivateNotifyRequest req = new AppleNewuserActivateNotifyRequest();
req.setResultCode("00");
req.setResultMsg("成功");
AppleNewuserActivateNotifyRequest.AppleTopActivateNotifyDo obj1 = new AppleNewuserActivateNotifyRequest.AppleTopActivateNotifyDo();
obj1.setCardNo("GCA1234567890123");
obj1.setGoodsId("6923127360045");
obj1.setOrderNo("201760308888961613");
obj1.setMemo("{attribute:235234}");
obj1.setUci("ali.201760308888961613");
obj1.setFacePrice("5000");
obj1.setGatewayOrderNo("zhxgw58324987983");
obj1.setCardPass("qwewerxcqwea");
req.setMainData(obj1);
AppleNewuserActivateNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

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

返回
顶部