betslip channel streams what GET /v1/betslip returns: the price and stake limits of a selection at each bookmaker, after the rules of your account. This is the price you place at. It can differ from the odds channel: see Feed odds and the betslip.
Subscribe
Log in withbetslip in channels, then send one frame per selection:
playerIdis optional and defaults to0.bookmakersis optional. Without it, every bookmaker of your account is quoted, as withGET /v1/betslip.
Updates
Then, and on every change of price or limit:GET /v1/betslip. A price sent as minPrice places at the bookmaker’s current price. A change of your account’s rules shows on the socket within about 10 seconds.
Unsubscribe
betslip_unsubscribed. Closing the connection unsubscribes everything.
Limits and refusals
- 50 selections per account. They are summed over its connections; one more closes the connection with
4004. - Bookmakers closed to the API are not quoted. Naming one in
bookmakerscomes back as anerrorframe withBOOKMAKER_NOT_AVAILABLE_VIA_API. A subscription keeps the bookmakers it started with until you sendsubscribeBetslipagain or reconnect. - Refusals. A selection that cannot be quoted, such as one without odds, comes back as an
errorframe with the code of the error catalogue. The connection stays open. - After a reconnect, send your
subscribeBetslipframes again.