Mini.Game
中文版
中文版
  • Mini.Game API对接文档
  • 快速开始
    • 接入说明 (必看)
    • 通用错误码
    • 流程图
    • 多语言编码表
    • 游戏列表
    • 货币列表
    • 游戏-美术资源下载
  • 游戏API接口
    • 获取游戏列表
    • 单一钱包
      • 请求进入游戏
      • 用户身份验证
      • 获取用户余额
      • 改变用户余额
    • 转账钱包
      • 获取用户鉴权token
      • 余额转入/转出
      • 进入游戏
      • 查询用户余额
      • 查询转账状态
  • 报表及功能接口
    • 注单记录
    • 注单记录数量
    • 游戏记录
    • 游戏记录数量
    • 特殊错误代码
    • 获取商户后台快捷登录地址
  • OPENAIP 接口在线调试
    • 获取游戏列表
    • 单一钱包
    • 转账钱包
    • 报表及功能接口
  • 游戏特殊处理
    • 彩票类游戏特殊处理
    • 通用事件说明
    • 《Powerball》内嵌事件说明
Powered by GitBook
On this page
  1. OPENAIP 接口在线调试

转账钱包

转账钱包接口在线调试

Previous单一钱包Next报表及功能接口

Last updated 6 months ago

Test it!在线调试中需要手动填入sign,sign的值可以在Header Parameters中找到

Check the balance

post
Query parameters
trace_idstringRequired

randomly generated serial number

Example: e3pc06yk2qrk
Header parameters
signstringRequired

digital signature

Example: 02d8a26b73bce64715dfd68eb9a5888a
Body
appidstringRequired

same as the interface for authorize

Example: 1026
currencystringRequired

choose currency

Example: usdt
tokenstringRequired

the token returned by the authorize interface

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8
Responses
200
Successful operation
application/json
post
POST /api/cash/v1/getPlayerWallet HTTP/1.1
Host: login.sprintsguys.com
sign: 02d8a26b73bce64715dfd68eb9a5888a
Content-Type: application/json
Accept: */*
Content-Length: 326

{
  "appid": "1026",
  "currency": "usdt",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8"
}
200

Successful operation

{
  "code": 0,
  "msg": "success",
  "data": {
    "currency": "usdt",
    "balance": "100.23"
  }
}

Balance transfer in/out

post
Query parameters
trace_idstringRequired

randomly generated serial number

Example: e3pc06yk2qrk
Header parameters
signstringRequired

digital signature

Example: 2ae508d0b01b4487e85991f137721878
Body
appidstringRequired

same as the interface for authorize

Example: 1026
tx_idstringRequired

transfer id

Example: 1722932720532414
amountstringRequired

transfer amount

Example: 100
currencystringRequired

choose currency

Example: usdt
tokenstringRequired

the token returned by the authorize interface

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8
Responses
200
Successful operation
application/json
post
POST /api/cash/v1/transfer HTTP/1.1
Host: login.sprintsguys.com
sign: 2ae508d0b01b4487e85991f137721878
Content-Type: application/json
Accept: */*
Content-Length: 368

{
  "appid": "1026",
  "tx_id": "1722932720532414",
  "amount": "100",
  "currency": "usdt",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8"
}
200

Successful operation

{
  "code": 0,
  "msg": "success",
  "data": {
    "tx_id": "1722932720532414",
    "ptx_id": "1722932720532422",
    "state": 1
  }
}

Get account authentication token

post
Query parameters
trace_idstringRequired

randomly generated serial number

Example: e3pc06yk2qrk
Header parameters
signstringRequired

digital signature

Example: 869d11c9fa9c83f0649aafa35cf08997
Body
appidstringRequired

same as the interface for loadlist

Example: 1026
unamestringRequired

account id(the only platform)

Example: 105757124
nicknamestringRequired

account name or first name

Example: jack
Responses
200
Successful operation
application/json
post
POST /api/player/v1/authorize HTTP/1.1
Host: login.sprintsguys.com
sign: 869d11c9fa9c83f0649aafa35cf08997
Content-Type: application/json
Accept: */*
Content-Length: 54

{
  "appid": "1026",
  "uname": "105757124",
  "nickname": "jack"
}
200

Successful operation

{
  "code": 0,
  "msg": "success",
  "data": {
    "token": "game_token",
    "balance": "0",
    "appid": "1025"
  }
}

Check the transfer status

post
Query parameters
trace_idstringRequired

randomly generated serial number

Example: e3pc06yk2qrk
Header parameters
signstringRequired

digital signature

Example: cd262f595fdc47e8e3c05bb4878ccde7
Body
appidstringRequired

same as the interface for authorize

Example: 1026
tx_idstringRequired

transfer id

Example: 1722932720532414
tokenstringRequired

the token returned by the authorize interface

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8
Responses
200
Successful operation
application/json
post
POST /api/cash/v1/transfer/status HTTP/1.1
Host: login.sprintsguys.com
sign: cd262f595fdc47e8e3c05bb4878ccde7
Content-Type: application/json
Accept: */*
Content-Length: 335

{
  "appid": "1026",
  "tx_id": "1722932720532414",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8"
}
200

Successful operation

{
  "code": 0,
  "msg": "success",
  "data": {
    "currency": "usdt",
    "amount": "100.23",
    "state": 1
  }
}
  • POSTGet account authentication token
  • POSTUser authentication token enters game
  • POSTBalance transfer in/out
  • POSTCheck the balance
  • POSTCheck the transfer status

User authentication token enters game

post
Query parameters
trace_idstringRequired

randomly generated serial number

Example: e3pc06yk2qrk
Header parameters
signstringRequired

digital signature

Example: 5c654b21d5dfc86157f3c1268a07a5f6
Body
appidstringRequired

same as the interface for authorize

Example: 1026
gameidstringRequired

select a game from the game list

Example: 2000001
langstringRequired

choose language

Example: en
currencystringRequired

choose currency

Example: usdt
tokenstringRequired

the token returned by the authorize interface

Example: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8
Responses
200
Successful operation
application/json
post
POST /api/game/v1/entergame HTTP/1.1
Host: login.sprintsguys.com
sign: 5c654b21d5dfc86157f3c1268a07a5f6
Content-Type: application/json
Accept: */*
Content-Length: 357

{
  "appid": "1026",
  "gameid": "2000001",
  "lang": "en",
  "currency": "usdt",
  "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjcmVhdGUiOjE3MzIxMDc3NDIsInVzZXIiOiJ7XCJ1c2VyX2lkXCI6MTA5MjMsXCJhcHBfaWRcIjoxMDI2LFwib3BlcmF0ZWRfaWRcIjoxMjQsXCJhZ2VudF9pZFwiOjEwMDE5LFwiYWdlbnRfc3ViXCI6MCxcInRva2VuXCI6XCJcIixcImRhdGFcIjpcIlwifSJ9.xgTACpNhvIks80oPTBBg-KUyViZSv5HcHyul_lhGYM8"
}
200

Successful operation

{
  "code": 0,
  "msg": "success",
  "data": {
    "gameurl": "game_url"
  }
}