gift_bonus_code.md 1.2 KB

赠送奖金码

请求地址

{API_URL}

请求参数

字段名称 类型 长度 必要 描述
itype string 21 26 = 商家赠送玩家奖金码
authcode string 32 代理标识,由厂商配发
authkey string 32 代理秘钥,由厂商配发
account string 128 玩家登录账号
score int 64 赠送奖金码数量,必须大于0

示例

  • URL:

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

    • POST
  • 表单数据:

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

    itype: 26,
    authcode: test001,
    authkey: 123456,
    account: test123,
    score : 1000.00   
    

返回结果

字段名称 类型 长度 说明
ret int 32 -1 表示成功,非 -1 表示失败
info string 128 返回结果说明

返回格式

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