# Balance

ขอข้อมูลจำนวนเงินของผู้เล่น

# Request

Field Value
URL {OperatorAPI}/balance
Method POST

# Body parameters

Key Type Description Required Value
vendor_id number ไอดีค่ายเกมส์ (ดูลิสค่ายเกมส์ที่ Game code) Yes 0
brand_id string ไอดี Operator Yes rygdemo
player_info object รายละเอียดผู้เล่น Yes {...}
player_info.id string ไอดีผู้เล่น Yes 1
player_info.username string ชื่อผู้เล่น Yes rygplayer
player_info.currency string สกุลเงิน Yes THB

# Example

https://{OperatorAPI}/balance

# Payload

{
  "vendor_id": 1,
  "brand_id": "rygdemo",
  "player_info": {
    "id": "1",
    "username": "rygplayer",
    "currency": "THB"
  }
}

# Response data

Key Type Description Required Value
balance float จำนวนเงินผู้เล่น Yes 100.00

# Full response

{
  "code": 0,
  "message": "ok",
  "data": {
    "balance": 100.00
  }
}