#
Transfer In and Out
เพิ่ม / หักเงินจำนวนเงินผู้เล่น (โดยข้อมูลนี้จะใช้กรณีบางค่ายเป็น SuperAPI)
#
Note
ใน Transaction นี้จะมีประกอบไปด้วย Transfer In และ Transfer Out อยู่ในข้อมูลเดียวกัย
#
Request
#
Body parameters
#
Example
https://{OperatorAPI}/transferIn
#
Payload
{
"vendor_id": 1,
"brand_id": "rygdemo",
"transactions": [
{
"player_id": "1",
"info": [
{
"id": "abc1234567890123",
"ref": "abc1234567890123",
"amount": 10,
"duplicate": false,
"status": 0,
"game_info": {
"id": "abc123",
"name": null,
"type": 0
}
},
{
"id": "abc1234567890123",
"ref": "abc1234567890123",
"amount": 5,
"duplicate": false,
"status": 1,
"game_info": {
"id": "abc123",
"name": null,
"type": 0
}
}
]
}
]
}
#
Response data
#
Full response
{
"code": 0,
"message": "ok",
"data": {
"balance": 100.0
}
}
คำเตือน
หากในกรณนีมีรายการที่ผู้เล่นที่ถูกส่งมามากกว่า 2 คน ไม่จำเป็นต้องส่งยอดจำนวนเงินคนเหลือกลับมา โดยสามารถตั้ง data เป็น null ได้