Supported Currencies

This method returns a currency of the brand and all supported currencies.

Request (GET)

/gateway/cashier/supported/currencies/{brand_id}

Parameters:

Name In Type Required Description
brand_id path string true The ID of the casino. If a brand_id is not provided, all message formats will be fetched from default storage.

Response

Status 200

{
  "base_currency": "EUR",
  "supported_currencies": [
    {
      "iso_code": "USD",
      "symbol": "$",
      "unicode": "$",
      "position": "before"
    },
    {
      "iso_code": "EUR",
      "symbol": "€",
      "unicode": "€",
      "position": "before"
    }
  ]
}

Status 400

{
  "errMsg": "invalid input - invalid brand id"
}

Status 500

{
  "result": "internal server error"
}

Response Parameters:

Name Description
base_currency Brand base currency.
supported_currencies.iso_code ISO2 code of currency.
supported_currencies.symbol symbol of currency.
supported_currencies.unicode unicode of currency.
supported_currencies.position where does the symbol of currency should be displayed, before/after the amount.