/
v3.0.11Get access

borrowBet

This api handles placing a Child Bet using funds sourced from the allocated Power Bank balance (the original Possible Win amount) of an active Parent Bet.

Request parameters:

Name
DescriptionTypeValuesDefault
type
The bet typestringBet Types-
oddType
The type of oddsstringOdd Types-
parentBetId
The active parent bet selected from the Betslip Power Bank Dropdown.number--
amount
User's manual stakenumber--
eachWay
Flag for Each-Way bet type (false for standard win markets).booleantrue / false-
mode
Type of acceptance for the bet.stringBet Acceptance-
bets
Array of target selections for the child bet.array--
└─
object-
└─ price
Decimal odds locked at submission time.number--
└─ eventId
Unique ID for the market selection in the betslip.number--
This method is usually used with these methods:

Call example:

borrowBet({
  type: 'single',
  oddType: 'decimal',
  parentBetId: 6595944124,
  amount: 2,
  eachWay: false,
  mode: 0,
  bets: [{
    price: 4.33,
    eventId: 7072728487
  }]
})

Response examples:

{
  data: null,
  hasError: false,
  errorDetails: {
    key: '',
    message: ''
  }
}