Get ticket endpoint
GET `/be/tickets/{identifier}` endpoint
identifier
- this could be either ticket id or ticket code.
Response fields for quicktip
ticket:
id
string
Betstack ticket id
code
string
Betstack ticket code
price
integer
Ticket price. Should be in integer format (cents). For example, for price 35.00
the value will be 3500
stake
integer
Ticket amount. Should be in integer format (cents). For example, for stake 30.45
the value should be 3045
currency
string
gross_payout
integer
Ticket gross payout. Should be in integer format (cents). For example, for gross payout 30.45
the value should be 3045
net_payout
integer
Ticket net payout. Should be in integer format (cents). For example, for net payout 30.45
the value should be 3045
wht_amount
integer
Player withholding tax amount. Should be in integer format (cents). For example, for withholding tax amount 30.45
the value should be 3045
wht
float
Player withholding tax percentage. For example, for withholding tax percentage 20.0%
the value should be 20.0
ext_amount
integer
Ticket exercise tax amount. Should be in integer format (cents). For example, for exercise tax amount 1.25
the value will be 125
ext
float
Ticket exercise tax percentage. For example, for exercise tax percentage 12.5%
the value should be 12.5
ext_type
string
status
string
result
string
approved
bool
source
string
type
string
atag
string or null
Optional affilate Tag or Affiliate ID
user_id
string
Betstack user id
created
string
Ticket created datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_starts
string
Ticket created datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
updated
string
Ticket updated datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_updated
string
Ticket updated datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
events
list of objects
events id
integer
Event id
event starts
string
Event start datetime, UTC. Format - 2024-01-28T14:33:01.000000
event opetator_time_starts
string
Event start datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
event sport
object
event sport id
integer
Id of sport event
event sport name
string
Name of sport event
event category
object
event category id
integer
Id of sport category
event category name
string
Name of sport category
event league
object
event league id
integer
Id of league
event league name
string
Name of league
event home_team
object
event home_team id
integer
Id of home team
event home_team name
string
Name of home team
event away_team
object
event away_team id
integer
Id of away team
event away_team name
string
Name of away team
event market
object
event market code
string
Code of market
event market name
string
Name of market
event bet
object
event bet code
string
Code of event bet
event bet name
string
Name of event bet
event line
object
event line code
string
Code of the bet line
event line name
string
Name of the bet line
events odds
float
Event odds. Should be in decimal format with 2 digits after comma
event status
string
event result
string
odds
float
Ticket odds
Sample response (status=200) for quicktip
ticket:
Response fields for smartbet
ticket are the same as for quicktip
ticket, except type
field will contain smartbet
value. All other fields are the same.
Response fields for quickbet
ticket are the same as for quicktip
ticket, except type
field will contain quickbet
value. All other fields are the same.
Response fields for superbet
ticket:
id
string
Betstack ticket id
code
string
Betstack ticket code
price
integer
Ticket price. Should be in integer format (cents). For example, for price 35.00
the value will be 3500
stake
integer
Ticket amount. Should be in integer format (cents). For example, for stake 30.45
the value should be 3045
gross_payout
integer
Ticket gross payout. Should be in integer format (cents). For example, for gross payout 30.45
the value should be 3045
net_payout
integer
Ticket net payout. Should be in integer format (cents). For example, for net payout 30.45
the value should be 3045
wht_amount
integer
Player withholding tax amount. Should be in integer format (cents). For example, for tax 30.45
the value should be 3045
wht
float
Player withholding tax percentage. For example, for tax 20.0%
the value should be 20.0
ext_amount
integer
Ticket exercise tax amount. Should be in integer format (cents). For example, for exercise tax 1.25
the value will be 125
ext
float
Ticket exercise tax percentage. For example, for tax 12.5%
the value should be 12.5
ext_type
string
currency
string
status
string
result
string
approved
bool
source
string
type
string
atag
string or null
Optional affilate Tag or Affiliate ID
user_id
string
Betstack user id
created
string
Ticket created datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_created
string
Ticket created datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
updated
string
Ticket updated datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_updated
string
Ticket updated datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
event
object
event id
integer
Event id
event starts
string
Event start datetime, UTC. Format - 2024-01-28T14:33:01.000000
event operator_time_starts
string
Event start datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
event home_team
string
Name of home team
event away_team
string
Name of away team
bets
list of objects
bets id
integer
Id of bet
bets bet_name
string
Name of bet
bets market_code
string
Code of market
bets market_name
string
Name of market
bets result
string
Sample response (status=200) for superbet
ticket:
Response fields for jackpot
ticket:
id
string
Betstack ticket id
code
string
Betstack ticket code
price
integer
Ticket price. Should be in integer format (cents). For example, for price 35.00
the value will be 3500
stake
integer
Ticket amount. Should be in integer format (cents). For example, for stake 30.45
the value should be 3045
currency
string
gross_payout
integer
Ticket gross payout. Should be in integer format (cents). For example, for gross payout 30.45
the value should be 3045
net_payout
integer
Ticket net payout. Should be in integer format (cents). For example, for net payout 30.45
the value should be 3045
wht_amount
integer
Player withholding tax amount. Should be in integer format (cents). For example, for withholding tax amount 30.45
the value should be 3045
wht
float
Player withholding tax percentage. For example, for withholding tax percentage 20.0%
the value should be 20.0
ext_amount
integer
Ticket exercise tax amount. Should be in integer format (cents). For example, for exercise tax amount 1.25
the value will be 125
ext
float
Ticket exercise tax percentage. For example, for exercise tax percentage 12.5%
the value should be 12.5
ext_type
string
status
string
result
string
approved
bool
source
string
type
string
atag
string or null
Optional affilate Tag or Affiliate ID
user_id
string
Betstack user id
created
string
Ticket created datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_starts
string
Ticket created datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
updated
string
Ticket updated datetime, UTC. Format - 2024-01-28T14:33:01.000000
operator_time_updated
string
Ticket updated datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
events
list of objects
events id
integer
Event id
event starts
string
Event start datetime, UTC. Format - 2024-01-28T14:33:01.000000
event opetator_time_starts
string
Event start datetime, operator timezone. Format - 2024-01-28T14:33:01.000000
event sport
object
event sport id
integer
Id of sport event
event sport name
string
Name of sport event
event category
object
event category id
integer
Id of sport category
event category name
string
Name of sport category
event league
object
event league id
integer
Id of league
event league name
string
Name of league
event home_team
object
event home_team id
integer
Id of home team
event home_team name
string
Name of home team
event away_team
object
event away_team id
integer
Id of away team
event away_team name
string
Name of away team
event market
object
event market code
string
Code of market
event market name
string
Name of market
event bet
object
event bet code
string
Code of event bet
event bet name
string
Name of event bet
event line
object
event line code
string
Code of the bet line
event line name
string
Name of the bet line
events odds
float
Event odds. Should be in decimal format with 2 digits after comma
event status
string
event result
string
betcard_code
string
Betcard code
prize
integer
Betcard prize
bonus_prizes
list of integers
Betcard bonus prizes
Sample response (status=200) for jackpot
ticket:
Response status codes:
200
OK - Everything worked as expected
400
403
Forbidden. You do not have access for such request
422
Validation Error. Please check response body for more details
Error response (status=400):
Error response (status=400):
Error response (status=400):
Last updated