转账钱包

转账钱包接口在线调试

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

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"
  }
}

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"
  }
}

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
  }
}

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"
  }
}

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
  }
}

Last updated