/
v3.0.11Get access

getBorrowableBets

This API retrieves a list of user bets that are eligible for a borrowable amount (such as a cash-out, advance, or bonus loan feature). It returns the details for each eligible bet ID alongside the maximum borrowable amount and the currency code.

Request parameters:

The method works without parameters
This method is usually used with these methods:

Call example:

getBorrowableBets()

Response examples:

{
  code: 0,
  rid: 1454281672,
  data: {
    result: 0,
    result_text: null,
    details: [{
      BetId: 6665530395,
      BorrowableAmount: 20,
      CurrencyId: 'KGS'
    }, {
      BetId: 6662209815,
      BorrowableAmount: 8,
      CurrencyId: 'KGS'
    }, {
      BetId: 6659662393,
      BorrowableAmount: 1,
      CurrencyId: 'KGS'
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
BetId
Unique identifier of the placed bet eligible for borrowing.number-
BorrowableAmount
The maximum monetary amount available to borrow or cash out against the specified bet.number-
CurrencyId
Three-letter ISO currency code representing the currency of the borrowable amount.string-