查看交互版接口文档

获取玩家RTP-仅支持星汇

POST /ley/get_rtp

请求参数Body

字段类型必填说明
accountstring商户号
api_keystring商户密钥
usernamestring会员账号
passwordstring会员密码
api_codestring接口代码,仅支持:PGS,FCS,CQ9S,JILIS,JDBS,WGS,PPS
currencystring货币代码,仅支持:CNY,HKD,IDR,JPY,NGN,THB,USD,VND

响应结果

字段类型必填说明
Codeint业务代码(0成功,其他均为失败)
Messagestring业务信息
Dataarray业务数据

Json 示例

请求

{
  "account": "dd4646",
  "api_key": "hMtchftsvOry1r2kYPZbZ6JabZCVyqLZ",
  "username": "",
  "password": "123456",
  "api_code": "PGS",
  "currency": "CNY"
}

成功响应

{
  "Code": 0,
  "Message": "成功",
  "Data": {
    "rtp": ""
  }
}

TypeScript 类型定义

export interface GetRtpRequest {
  account: string; // 商户号
  api_key: string; // 商户密钥
  username: string; // 会员账号
  password: string; // 会员密码
  api_code: string; // 接口代码,仅支持:PGS,FCS,CQ9S,JILIS,JDBS,WGS,PPS
  currency: string; // 货币代码,仅支持:CNY,HKD,IDR,JPY,NGN,THB,USD,VND
}

export interface GetRtpResponse {
  Code: number; // 业务代码(0成功,其他均为失败)
  Message: string; // 业务信息
  Data: {
    rtp: string; // 玩家RTP值
  }; // 业务数据
}