支付回调

用户成功支付后,平台服务器将向联运方提供的游戏服务器回调地址发起POST请求。
HTTP POST回调地址游戏方提供

请求 JSON

Headers

名称
Content-Typeapplication/json

请求消息

  • query 数据说明
参数类型必传说明
gameIdstring必传游戏 id
timestampint64必传时间戳
contentstring必传json body 做 md5,如果 sign 不对可以通过这个更快确认签名问题
signstring必传签名, 下面有详情
  • json body 数据说明
参数类型说明
gameIdstring组合游戏 id
uniqueIdstring平台的 uniqueId
goodsIdstring平台的 goodsId
goodsNamestring平台的 goodsName
moneyint金额(分)
extstring额外信息
orderIdint订单 id
platTypestring平台支付类型,平台会随时增加支付类型,所以游戏方不用做校验,可以记录用户查询
currencyTypestring实际支付货币类型
currencyPricefloat64实际支付货币金额

响应 JSON


参数类型必传说明
errcodeint状态码,0 代表发货成功
errmsgstring错误信息
Last Updated:
Contributors: jslgo, cuikaishuai, zhengsai