Get FRB currency values

Get FRB currency values

Returns the currency values used to calculate the FRB bet amount for each player currency. The player’s bet per spin is betAmount × betValue of the player’s currency.

Request endpoint: /frb/{version}/currency-data

Request Method: GET

Usage information:

This endpoint is read-only. It returns the same values that are used when a template is created and granted, so you can see the exact bet per spin before you grant a bonus.

Note

This request requires an authorization token: Bearer authorization token.
Token Format: The authorization token must be Base64-encoded as follows:
AuthorizationToken = encode(back_office_email:back_office_password)
A back office session token in the jwt-auth header is also accepted.

Request parameters:

Parameter Data type Description
version String required The API version. Only version 1.0 is currently supported. Other version values are accepted, but are treated as 1.0.
Example: 1

Example Response:

{
  "currencies": [
    { "currency": "ARS", "betValue": 1 },
    { "currency": "BRL", "betValue": 0.05 },
    { "currency": "CAD", "betValue": 0.01 },
    { "currency": "EUR", "betValue": 0.01 },
    { "currency": "INR", "betValue": 0.5 },
    { "currency": "JPY", "betValue": 1 },
    { "currency": "TRY", "betValue": 0.1 },
    { "currency": "USD", "betValue": 0.01 }
  ]
}

The example shows only some of the currencies. The real response contains every configured currency, sorted by currency code.

Response parameters:

Parameter Data type Description
currencies Array List of all configured currencies.
currencies[].currency String ISO 4217 currency code.
Example: EUR
currencies[].betValue Number Value used to calculate the bet per spin in this currency.

Example calculation:

Currency betValue betAmount: 100 gives a bet per spin of
EUR 0.01 1.00 EUR
USD 0.01 1.00 USD
BRL 0.05 5.00 BRL
TRY 0.1 10.00 TRY
INR 0.5 50.00 INR
JPY 1 100 JPY
Info
  • betValue is a fixed value per currency, not a live exchange rate.
  • The betAmount you send is used only when a non-default bet amount is enabled for your casino. To enable it, contact your account manager. Otherwise, the game provider’s default bet amount is used.
  • A game may not support the exact amount. In that case, the closest bet amount the game supports is used.

Error Response:

{
  "error": "currency data unavailable"
}

Response codes:

Code Status Message
200 success Currency values returned
400 bad request authorization header missing
401 unauthorized invalid authorization token
500 internal server error currency data unavailable