Jackpot (coming soon)
POST `/be/tickets` endpoint
Not supported yet.
Create jackpot ticket.
Request fields:
Attribute | Data Type | Description |
---|---|---|
operator | string | Name of the operator as registered on the system |
stake | integer | Ticket amount. Should be in decimal format with 2 digits after comma |
currency | string | Currency code in ISO 4217 three letter format |
source | string | Ticket source (see Fields) |
atag | string | Optional affilate Tag or Affiliate ID. If parameter is present then it is added to the |
type | string | Ticket Type (see Fields) |
token | string | Player identification token |
odds_diff | float | Specifies the max odds deviation when we still accept the request and create the ticket. When the value is set to zero it means we don't allow any odds difference during ticket creation and will respond with "Ticket odds changed" Error response |
coupon_id | string | Coupon id for Jackpot |
id | ObjectId | Ticket id |
code | string | Ticket code |
events | list | |
events id | integer | Event id |
events bet | integer | Event bet id |
events odds | float | Event odds at time of ticket submission. Should be in decimal format with 2 digits after comma |
tax | integer | Player withholding tax. Should be in decimal format with 2 digits after comma |
payout | integer | Ticket payout. Should be in decimal format with 2 digits after comma |
status | string | Ticket Status (see Fields) |
result | string | Ticket Result (see Fields) |
approved | bool | Ticket approval (see Fields) |
user_id | string | Betstack User ID |
created | string | Ticket created datetime |
updated | string | Ticket updated datetime |
Sample request to create jackpot
ticket:
Response fields:
Attribute | Data Type | Description |
---|---|---|
operator | string | Name of the operator as registered on the system |
stake | integer | Ticket amount. Should be in decimal format with 2 digits after comma |
currency | string | Currency code in ISO 4217 three letter format |
source | string | Ticket source (see Fields) |
atag | string | Optional affilate Tag or Affiliate ID. If parameter is present then it is added to the |
type | string | Ticket Type (see Fields) |
token | string | Player identification token |
odds_diff | float | Specifies the max odds deviation when we still accept the request and create the ticket. When the value is set to zero it means we don't allow any odds difference during ticket creation and will respond with "Ticket odds changed" Error response |
coupon_id | string | Coupon id for Jackpot |
id | ObjectId | Ticket id |
code | string | Ticket code |
events | list | |
events id | integer | Event id |
events bet | integer | Event bet id |
events odds | float | Event odds at time of ticket submission. Should be in decimal format with 2 digits after comma |
tax | integer | Player withholding tax. Should be in decimal format with 2 digits after comma |
payout | integer | Ticket payout. Should be in decimal format with 2 digits after comma |
status | string | Ticket Status (see Fields) |
result | string | Ticket Result (see Fields) |
approved | bool | Ticket approval (see Fields) |
user_id | string | Betstack User ID |
created | string | Ticket created datetime |
updated | string | Ticket updated datetime |
Sample response to jackpot
ticket:
Response status codes:
Status Code | Interpretation |
---|---|
200 | OK - Everything worked as expected |
400 | Bad Request. Please check error code in response body |
403 | Forbidden. You do not have access for such request |
422 | Validation Error. Please check response body for more details |
Error response examples:
Here is a list of all error codes - Error codes.
Last updated