BB.CoreFunctions.UpdateBalance
Payload
Section titled “Payload”PlayerId (required)
Section titled “PlayerId (required)”type: Integer
Amount (required)
Section titled “Amount (required)”type: Integer
The amount to add or subtract from the balance.
Reference
Section titled “Reference”type: String
DB Reference
Example Payload
Section titled “Example Payload”{ "PlayerId": 1234, "Amount": 10, "Reference": "bet#fazi#132132",}Response
Section titled “Response”Decimal
The updated balance amount.
Example Response
Section titled “Example Response”9983.10