/
v3.0.11Get access

borrowPossibleWin

Books a bet's possible win as a PowerBank borrow and returns the borrowable amount. The optional ProductBorrowType selects the product the bet is booked for (1 = SportsBook, 2 = Casino). Once a bet is booked for one product it cannot be switched to the other.

Request parameters:

Name
DescriptionTypeValuesDefaultSource
betId
Unique identifier of the placed bet.number--
Key from responseid
productBorrowType
Product for which its borrowed.stringProduct Borrow Types--

Call example:

borrowPossibleWin({
  betId: 1223451,
  productBorrowType: 'casino'
})

Response examples:

{
  code: 0,
  rid: '3bc0df90',
  data: {
    result: 0,
    result_text: null,
    details: []
  }
}