Bets
We expose details of previously placed bets as Bets, allowing customers to view the current state of the placement, resulting and settlement of the bet.
Placement¶
Placement provides information about the placement of the bet.
Key Concepts¶
There are two ways to bet synchronous and asynchronous.
When betting asynchronously to know whether a bet is accepted, rejected or failed then subscribe to a subscription.
To place bets asynchronously the mutation is placeBetsAsync instead of placeBets. The input matches the synchronous mutation.
| Concept | Description |
|---|---|
Stake |
Provides information about how much was staked on the bet and in what currency |
Legs |
A bet contains one or more legs. Each leg contains one or more selections that are covered by the bet; along with the position that they must finish in for the bet to settle as a winner |
Product |
Provides information about the product that was bet on; with details such as the selections, bet type, rules, odds and dividends |
Rejection Reason |
Provides information as to why a bet was rejected. |
Status |
The status of the placement of the bet.
|
Resulting¶
Resulting provides information about the result of the bet.
Key Concepts¶
| Concept | Description |
|---|---|
Returns |
Provides information about how much was returned to the customer; either in refunds or winnings, and in what currency |
Status |
The status of the resulting of the bet.
|
Settlement¶
Key Concepts¶
| Concept | Description |
|---|---|
Status |
The status of the settlement of the bet.
|