文档
测试

余额查询

POST
Blance

请求参数

参数名
类型
描述
必填
Host
string
请求域名
必填
GameTypeEnum
Enum
游戏类型(请使用枚举进行传值: GameTypeEnum.MG)
必填
Md5Key
string
秘钥
必填
AesKey
string
AesKey
必填
MerchantCode
string
商户号
必填
LoginName
string
玩家账号 (PlayerId)
必填
Password
string
密码
必填
LoginIp
string
玩家登录IP ,如果不想传值 直接传入空字符串
必填

响应参数

参数名
类型
描述
必填
code
int
响应状态码
必填
Message
string
响应消息
必填
Balance
decimal
余额
必填

可能錯誤

|代碼|信息|備註| |-|-|-| |401|权限不足|-| |500|失败/请联系管理员|-| |1500|参数错误|The field PlayerId must be a string with a maximum length of 50. Using only numbers and english alphabets. (PlayerId 必须不能超过 50 个字符。请只使用数字和英文字母)| |9001|发送网络请求失败|發生其他未預期錯誤| |9123|找不到资源 |Player does not exist (沒有找到玩家)|