API Documentation
  • Introduction
  • Getting Started
  • Signature
  • Bet Card API
    • Calculator
      • Finance details
    • Jackpot
      • Get Jackpot Cards
      • Get Jackpot Card by code
      • Pick Jackpot Bets
    • Quicktip
      • Get Quicktip Cards
      • Get Quicktip Card by code
    • Smartbet
      • Get Smartbert cards
      • Get Smartbet Card by code
      • Generate a Smartbet
    • Quickbet
      • Get Quickbet Cards
      • Get Quickbet Card by code
    • Superbet
      • Get Superbet Cards
      • Get Superbet Card by code
  • Bet Engine API
    • Headers
    • Create ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Reserve ticket endpoint
      • Quicktip
      • Smartbet
      • Quickbet
      • Superbet
      • Jackpot
    • Paid ticket endpoint
    • Get ticket endpoint
    • Get ticket list endpoint
    • Fields
    • Error codes
  • PAM Platform API
    • Headers
    • Signature
    • Ping
    • Identify
    • Create a ticket
    • Reserve the ticket
    • Update the ticket
    • Close the ticket
    • Refund the ticket
    • Win the ticket
    • Lose the ticket
    • Void the ticket
    • Discard the ticket
    • Rollback the ticket
  • SMS notifications
    • Headers
    • Signature
    • Notification types
      • otp
      • ticket_status
      • bet_result (not supported)
  • API Docs
    • [api /bc] Bet Card
    • [api /be] Bet Engine
Powered by GitBook
On this page
  1. Bet Card API
  2. Jackpot

Pick Jackpot Bets

PreviousGet Jackpot Card by codeNextQuicktip

Last updated 8 months ago

POST ={mode}

Modes available: random or favourite.

random mode will pick up one random bet for each event. All requests to this endpoint with the same body should generate different shuffles.

favourite mode will pick up one bet with lowest odds for each event. All requests to this endpoint with the same body should generate the same shuffle (if odds didn't change).

Request example:

[
    {
        "event_id": 269875,
        "bets": [
            {
                "id": 1,
                "odds": 2.35
            },
            {
                "id": 2,
                "odds": 3.8
            },
            {
                "id": 3,
                "odds": 1.4
            }
        ]
    },
    {
        "event_id": 269876,
        "bets": [
            {
                "id": 4,
                "odds": 2.34
            },
            {
                "id": 5,
                "odds": 3.25
            },
            {
                "id": 6,
                "odds": 1.85
            }
        ]
    },
    {
        "event_id": 269877,
        "bets": [
            {
                "id": 7,
                "odds": 2.06
            }
        ]
    }
]

Response example (for mode=random):

[
    {
        "event_id": 269875,
        "bet_id": 1
    },
    {
        "event_id": 269876,
        "bet_id": 4
    },
    {
        "event_id": 269877,
        "bet_id": 7
    }
]

Response example (for mode=favourite):

[
    {
        "event_id": 269875,
        "bet_id": 3
    },
    {
        "event_id": 269876,
        "bet_id": 6
    },
    {
        "event_id": 269877,
        "bet_id": 7
    }
]
https://api.betstack.io/bc/jackpots/pick-bets?mode