/
v3.0.11Get access

getClientWithdrawableBalance

Retrieves the client’s withdrawable balance for a specific product

Request parameters:

NameDescriptionTypeValuesDefault
product
The product for which to retrieve the balancestring"Casino" / "Sport"-
This method is usually used with these methods:

Call example:

getClientWithdrawableBalance({
  command: 'get_client_withdrawable_balance',
  product: 'Casino'
})

Response examples:

{
  code: 0,
  data: {
    result: 0,
    result_text: null,
    details: {
      Limit: 1000,
      Remaining: 750,
      UnplayedFee: 25,
      FeePercentage: 2.5,
      UnplayedAmount: 250
    }
  },
  rid: 123456789
}

Response parameters:

NameDescriptionTypeValues
data
object
└─ details
object
└─ Limit
the maximum amount the client is allowed to withdrawnumber-
└─ Remaining
the remaining withdrawable balance after accounting for unplayed amountsnumber-
└─ UnplayedFee
the fee charged on the unplayed (unwagered) balancenumber-
└─ FeePercentage
the percentage rate used to calculate the unplayed feenumber-
└─ UnplayedAmount
the portion of the balance that has not yet been wagered and is subject to a feenumber-