Currency Exchange API

Provides information about supported currencies

Currency Exchange API provides information about supported currencies and their precision to be used in Bet Placement and cashout process.

Bets APICashout API

The exact exchange rate is not provided.

Active Currencies Endpoint

Gets the list of supported currencies by type.

Gets active currencies for the given currency type

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query parameters
typeall ofOptional

Currency type to filter (if null - returns all active currencies for all types)

1 = Fiat

2 = Crypto

3 = Custom

integer · enumOptional

1 = Fiat

2 = Crypto

3 = Custom

Possible values:
Responses
200

OK

get
/api/CurrencyExchange/active-currencies
GET /api/CurrencyExchange/active-currencies HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "symbol": "text",
    "type": 1,
    "precision": 1
  }
]

Currency Precision Endpoint

Gets precision value of the specified currency.

Gets precision value for the given currency ticker symbol

get
Authorizations
HTTPRequired

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Query parameters
symbolstringOptional

Currency ticker symbol

Responses
200

OK

get
/api/CurrencyExchange/currency-precision
GET /api/CurrencyExchange/currency-precision HTTP/1.1
Host: 
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "precision": 1
}

Last updated