Superbet
POST `/be/tickets/reserve` endpoint
Reserve superbet ticket.
Request fields:
Attribute | Data Type | Description |
---|---|---|
operator | string | Name of the operator as registered on the system |
token | string | Player identification token |
price | integer | Ticket price. Should be in integer format (cents). For example, for price |
currency | string | Currency code in ISO 4217 three letter format |
atag | string or null | Optional affiliate Tag or Affiliate ID. If parameter is present then it is added to the |
source | string | Ticket source (see Fields) |
type | string |
|
event | integer | Event id |
bets | list of integers | Each element is event bet id |
Sample request to reserve superbet
ticket:
Response fields:
Attribute | Data Type | Description |
---|---|---|
id | string | Ticket id |
code | string | Ticket code |
price | integer | Ticket price. Should be in integer format (cents). For example, for price |
stake | integer | Ticket amount. Should be in integer format (cents). For example, for stake |
gross_payout | integer | Ticket gross payout. Should be in integer format (cents). Will always be |
net_payout | integer | Ticket net payout. Should be in integer format (cents). Will always be |
wht_amount | integer | Player withholding tax amount. Should be in integer format (cents). Will always be |
wht | integer | Player withholding tax percentage. For example, for withholding tax percentage |
ext_amount | integer | Ticket exercise tax amount. Should be in integer format (cents). For example, for exercise tax amount |
ext | float | Ticket exercise tax percentage. For example, for exercise tax percentage |
ext_type | string | Exercise tax type (see Fields) |
currency | string | Currency code in ISO 4217 three letter format |
status | string | Ticket Status (see Fields) |
result | string | Ticket Result (see Fields) |
approved | bool | Ticket approval (see Fields) |
source | string | Ticket source (see Fields) |
type | string |
|
atag | string | Optional affiliate Tag or Affiliate ID. If parameter is present then it is added to the |
user_id | string | User ID from PAM |
created | string | Ticket created datetime, UTC. Format - |
operator_time_created | string | Ticket created datetime, operator timezone. Format - |
updated | string | Ticket updated datetime, UTC. Format - |
operator_time_updated | string | Ticket updated datetime, operator timezone. Format - |
Sample response (status=200) to superbet
ticket:
Response status codes:
Status Code | Interpretation |
---|---|
200 | OK - Everything worked as expected |
400 | Bad Request. Please check error code in response body (see Error codes) |
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):
Error response (status=400):
Error response (status=400):
Error response (status=400):
Error response (status=400):
Error response (status=400):
Error response (status=400):
Last updated