Create a ticket
Last updated
Last updated
Is used when player creates a ticket (betslip). It takes money out of player's account. In case of not successful response a ticket_discard
action will be called. In case of not successful call of ticket_discard
action, call should be repeated after 30 mins.
Request fields:
Attribute | Data Type | Description |
---|---|---|
Sample request:
Sample response:
operator
string
Name of the operator as registered on the system
ticket_id
string
Ticket identification number
ticket_code
string
Ticket code
player_id
string
Player identification number or 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 stake. Should be in integer format (cents). For example, for stake 33.45
the value will be 3345
wht_amount
integer
Player withholding tax amount. Should be in integer format (cents). For example, for withholding tax amount 4.55
the value will be 455
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
Exercise tax type (see Fields)
gross_payout
integer
Ticket gross payout. Should be in integer format (cents). For example, for gross payout 30.45
the value will 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
currency
string
Currency code in ISO 4217 three letter format
atag
string
Affilate Tag or Affiliate ID
ticket_type
string
Ticket Type (see Fields)