v1

latestOpenAPI 3.0.02026-07-1462633.1 KB
Bets

Retrieves the customer’s bet history.

Retrieves the customer’s bet history. Options are available to organise the history in terms of date, bet type and settled and unsettled bets. The maximum number of bets and bet history pages retrieved can also be set.

get/history

Query parameters

dateFromstring required

The UTC FROM datetime from bets to be returned. (yyyy-MM-ddTHH:mm:ss)

dateTostring required

The UTC TO datetime for bets to be returned. (yyyy-MM-ddTHH:mm:ss)

fieldsstring[]

Specify an absolute field list to return (Comma Separated List)

includestring[]

Specify fields in addition to the default to return (Comma Separated List)

excludestring[]

Specify fields from the default to exclude (Comma Separated List)

pagenumber

The index of the page to return

pageSizenumber

The number of results per page

sortstring

The order the response will be retuned by. i.e. transDateTime,desc. Only transDateTime can be used currently

settledboolean

Filter by settled bets. If omitted, both settled and unsettled will be returned.

Headers

apiKeystring required

A unique identifier of your application that is generated by the API portal.

apiSecretstring required

Another unique identifier for your application.

apiTicketstring required

The ticket obtained from the sessions API

Response

Success