谷歌订阅

请求URL:

  • /googleSubscribe

请求方式:

  • POST

参数:

参数名 必选 类型 说明
appId string 应用包appId
udid string 设备ID
sign string 接口签名
purchaseToken string 订阅凭证
productId string 订阅产品ID
plan uint8 1-Joyce测试新方案

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": null
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据结构题

部分状态码一览

类目 编码
1000 支付验证失败
1010 支付重复核验
1020 支付产品验证失败
1100 无效的小票
2010 订阅已过期
2020 订阅已取消

建议 状态码为 1010 1020 1100 2010 2020 就丢弃小票

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-01-30 10:23:48

results matching ""

    No results matching ""