redeemcode_use.md 1.1 KB

领取兑换码

请求地址

{API_URL}

请求参数

字段名称 类型 长度 必要 描述
itype string 21 31 = 领取兑换码
authcode string 32 代理标识,由厂商配发
authkey string 32 代理秘钥,由厂商配发
useracc string 128 玩家账号
redeemcode string 16 兑换码

示例

  • URL:

    • {API_URL}
  • HTTP Method(请求方式):

    • POST
  • 表单数据:

    Content-Type: application/x-www-form-urlencoded

    itype           :31
    authcode        :test666
    authkey         :KepYRwz4mOP3THAcfiQb
    useracc         :67595454852
    redeemcode      :07UTEL
    
    

返回结果

字段名称 类型 长度 说明
ret int 32 -1 表示成功,非 -1 表示失败

返回格式

{
	"ret": -1,
    "info": "ok"	
}