中文版

用API可以进行域名抢注和帐户管理!我们的API支持域名搜索、注册、续费、删除、使用自己的软件和服务器等。 你可以很容易地设置域名服务器,选择续费,并为您的域名创建文件夹。

证书产品价格

通过此接口可以提交不同购买数量,计算出此证书产品最终购买价格

请求地址
/api/cps/ssl
请求类型
POST
请求参数
字段 参数 类型 必填 说明
APPID appid String API应用Id
时间戳 gntime String 当前UNIX时间戳
签名 gntoken String 签名字符串,参考 签名算法
指令 do String v1/product/price
产品id id Integer
域名数量 domain_num Integer 主域名+附加域名数量
通配符数量 wildcard_num Integer 通配符数量
购买方式 type Integer 1=新购,2=追加购买域名
购买时长 num Integer 购买时长,最大3年,单位:年
证书ID record_id Integer 当type=2时,必传
响应结果
字段 参数 类型 说明
返回码 code Integer 1:返回成功 -1:返回失败
返回说明 msg String 返回请求操作的说明
返回数据 data Object 返回请求操作结果数据
返回数据
字段 参数 说明
产品原价 data.price 产品原始价格
购买价格 data.current_price 实际付款金额
折扣额度 data.rate 折扣额度,如5折为5.0
购买时长 data.year 您购买的证书时长
响应数据
{
  "code": 0,
  "data": {
    "price": "string",
    "current_price": "string",
    "refund": "string",
    "saved_price": "string",
    "extend_price_d": "string",
    "extend_price_w": "string",
    "rate": "string",
    "common_price": "string",
    "all_common_price": "string",
    "attach_domain_num": 0,
    "attach_wildcard_num": 0,
    "attach_domain_price": "string",
    "attach_wildcard_price": "string",
    "current_attach_wildcard_price": "string",
    "current_attach_domain_price": "string",
    "year": 0,
    "year_rate": 0,
    "is_act": 0
  }
}

当前系统时间:2025-04-27 14:56:52(UTC+8) 注册人权利与责任注册人教育信息隐私政策

© 2025 GNAME.COM 版权所有,保留所有权利