Transfer in
| Name | Value |
|---|---|
| API URL | {API_URL}/player/transferIn |
| Method | POST |
| HTTP Response status | 200 |
Request body
{
"txns": [
{
"txn_id": "out-12345-xxx-yyy-zzz",
"txn_ref_id": null,
"txn_type": "DEPOSIT",
"user_id": "lnwbet888",
"bet_id": null,
"game_code": null,
"pay_in": 5000,
"pay_out": 0,
"game_info": {}
}
],
"checksum": "abc1234"
}| Field | Type | Required | Description |
|---|---|---|---|
| txns.txn_id | String | ✅ | Transaction ID |
| txns.txn_type | String | ✅ | Transaction type 7.5 Transaction type |
| txns.user_id | String | ✅ | User ID |
| txns.bet_id | String or null | ❌ | Bet ID |
| txns.game_code | String or null | ❌ | Game code 5.2.2 Get games via result.data.code |
| txns.pay_in | Number | ✅ | Amount pay in (Settle / Reward / etc.) |
| txns.pay_out | Number | ✅ | Amount pay out (Bet / Open Bet / etc.) |
| txns.game_info | Object | ✅ | Game info |
Response body (Single player)
{
"code": 0,
"data": {
"balance": 5000
}
}| Field | Type | Description |
|---|---|---|
| result.balance | Number | Player credit remaining |
Response body (Mutiple player)
{
"code": 0
}Last updated on