# RGS Frontend Integration

## General

The RGS frontend is provided as a responsive `iframe` which is optimized for desktop and mobile platforms.

The `iframe`'s URL (game launch URL) accepts a set of parameters that specify configuration options. Available parameters will be explained in the section [Launching the Game](#id-2-launching-the-game).

Once instantiated, the `iframe` will look like this (desktop environment left and mobile environment right):&#x20;

<figure><img src="/files/ekzL3wttOBSRr62f56Ma" alt=""><figcaption></figcaption></figure>

## Launching the game

### Virtual Sports

Virtual Sports will launch with our built-in navigation. The structure of the game launch URL is as follows:

```
https://{domain}/srvg-launcher/stable/bwg.html?clientId={clientId}&lang={lang}&product={product}&id={sessionId}
```

Below you will find a list of valid game launch URL parameters:

<table><thead><tr><th valign="top">Parameter</th><th valign="top">Required</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><code>clientId</code></td><td valign="top">required</td><td valign="top">Identifies you as a bookmaker in our system. The id will be provided to you by your technical account manager.</td></tr><tr><td valign="top"><code>lang</code></td><td valign="top">required</td><td valign="top">Specifies a player's language used on the host website (ISO 639-1 specification).</td></tr><tr><td valign="top"><code>product</code></td><td valign="top">required</td><td valign="top">Specifies the game to be launched in our built-in navigation component. Please refer to the provided list of products enabled for you in our system.</td></tr><tr><td valign="top"><code>id</code></td><td valign="top">optional</td><td valign="top"><p>User session/authentication token generated by your platform. The token will be passed inside of requests to your wallet for user verification on your end.</p><p>If this parameter is omitted the game will be launched in anonymous mode which will allow market selection and ticket calculation, but will prevent users from placing bets. The user will see the message <em>Login to place bets</em> on the bet slip. Clicking the message will trigger a <code>postMessage</code> to the host page. You can read more about this in section <em><code>postMessage</code> Communications</em>.</p><p>See also section <em>User Session Handling</em> for further details.</p></td></tr><tr><td valign="top"><code>do</code></td><td valign="top">optional</td><td valign="top">Specifies the odds display format. The parameter does not have impact on how odds are calculated and only triggers a simple conversion from decimal odds to the specified odds format. If this is not specified, the default odds format will be decimal.</td></tr><tr><td valign="top"><code>currency</code></td><td valign="top">optional</td><td valign="top"><p>Specifies the currency used on the host website while in anonymous mode. If not provided, the default currency configured for your clientId will be used.<br>If the user is logged in with a valid session token then the currency that is returned with the registration request will be used.</p><p>A list of supported currencies can be found in the Appendix.</p></td></tr><tr><td valign="top"><code>style</code></td><td valign="top">optional</td><td valign="top">If needed, your technical account manager will provide you with a style parameter. If not provided, the default style will be applied and there is no further action needed from your side.</td></tr><tr><td valign="top"><code>refId</code></td><td valign="top">optional</td><td valign="top">If provided, this value will be used to log into a specific wallet in case multiple wallets have been configured for your clientId.</td></tr></tbody></table>

Parameters are case sensitive and values must be in lower case. The order of the parameters does not matter and any additional parameters will be ignored on our side.

## User session handling

This section describes ways to handle user sessions in our system.

### Registering a user

In order for a player to place bets, you must pass a token to the game launch URL as the parameter `id`. This `id` can be whatever string, but it must uniquely identify a user. The token should not be reused over time.

Our system will take care of the user registration transparently.

### Keeping the session alive

After initial user registration, the session has a lifespan of 1 minute, but it can be extended by 1 hour at a time indefinitely. The RGS frontend takes care of this upon initialization and keeps the session open automatically as long as the page stays open by polling the backend at regular intervals.

If the backend returns a session expired message, the user will be notified and the *Place bet* button will revert to the non-logged-in state. You can read more about this in section `postMessage` communication.

### Unregistering a user

When a user logs out of the host website, it is advisable to close the user session on our side as well. If no action is taken during logout, the session will expire after 1 hour in our system.

To unregister a user proactively, the following request can be made:

#### Unregister Request

```
POST https://staging.bwg.betradar.com/auth-generic/unregister?key=<bookmaker_api_key>&sessionToken=<session_token>
```

#### Unregister Request URL Parameters&#x20;

<table><thead><tr><th valign="top">Parameter</th><th valign="top">Required</th><th valign="top">Description</th></tr></thead><tbody><tr><td valign="top"><code>key</code></td><td valign="top">required</td><td valign="top">Specifies a unique bookmaker API key provided by Sportradar.</td></tr><tr><td valign="top"><code>token</code></td><td valign="top">required</td><td valign="top">Specifies the token during login of the particular user.</td></tr></tbody></table>

#### Unregister Response

If the backend is able to respond, the response code will always be `200`. Please check the `statusCode` property of the response to make sure it is `0` (no error). The response also contains an `errors` array in case something went wrong. Otherwise, the response body can be found in the `data` property.

```json
{
    "data": [
        {
            "operationSuccess": true
        }
    ],
    "statusCode": 0,
    "metaData": {},
    "errors": []
}
```

## `postMessage` communication

The RGS frontend will communicate with your page via `postMessage` in three cases: Anonymous user trying to place a bet, bet placed, and height of the application changes. While you can ignore them, it is highly recommended to trigger specific actions in response to these notifications, as outlined below.

### Anonymous user bet place — `BWG_anonymousUserBetPlace`

This message is sent when an anonymous user (not logged in) clicks on the *Place bet* button (it reads “*Login to place bets”*). This allows the you to display a login form above the `iframe` or handle the situation as you see fit. For example, if the user is logged into your system but not in ours, you can reload the `iframe` and pass the user token as `id` in the `URL`.

#### Payload of `BWG_anonymousUserBetPlace`

```javascript
{
    type: 'BWG_anonymousUserBetPlace',
    data: null
}
```

### Bet placed event — `BWG_betslipPlaced`

This event is triggered when the user successfully places a ticket. It is supposed to notify the bookmaker that a bet has been placed and that the user's balance should be updated.

The payload contains the submitted ticket(s) merged with a response from the server. If the ticket is not placed, no message is sent.

#### Payload of `BWG_betslipPlaced`

```javascript
{
    type: "BWG_betslipPlaced",
    data: [{...}]
}
```

### Set `iframe` height event <a href="#ref112329780" id="ref112329780"></a>

Please note: The following method only works for the desktop version of RGS. If you want to set the height in the mobile integration, please see section `iframe` Integration in mobile for further details.

This event is triggered on initial load of the application or whenever the height of the application updates.

The payload contains the current height of the application. Setting the `iframe` height dynamically according to the received data will keep the `iframe` height equal to the height of the application within the `iframe`.

#### Payload of `setIframeHeight`

```javascript
{
     type: "setIframeHeight",
     data: {
         height: 564,
        screen_name: "web"
    }
}
```

### Customer integration example

The customer must instantiate a `postMessage` listener following this example.&#x20;

{% hint style="danger" %}
This snippet is just an example. Please implement a solution that fits your needs.
{% endhint %}

{% hint style="danger" %}
Warning: It is important to check that the message is sent by the expected origin.
{% endhint %}

```javascript
/**
 * Handles the messages sent by the betslip to the host window.
 * @param event: {origin: string, data: any} - We destructure origin and data from the event object
 * @param data.type {string} - The name of the message: rgs-anonymous-place or rgs-betslip-place
 * @param data.data {object} - The object being passed
 */
const messageHandler = ({ origin, data
}) => {
    try {
        if (origin !== 'https: //sportardarEndpoint.com') {
            console.error('This message is not from a trusted domain.');
            return;
        }
        switch (data.type) {
            case 'BWG_anonymousUserBetPlace':
                // Handle the event here… If your user is logged in, register the token with the RGS, otherwise you might want to prompt him to login to your system.
                break;
            case 'BWG_betslipPlaced':
                // Handle the event here… You probably want to update the user's balance
                break;
            case 'setIframeHeight':
                // Handle the event here… Dynamically set the iframe height according to the received data.
                break;
            // No default. We ignore all other messages.
        }
    } catch (err) {
        // Handle errors in a meaningful way.
        console.log(err);
    }
};
// Add listener
window.addEventListener('message', messageHandler, false);
```

## `iframe` integration in mobile <a href="#iframe_integration_in" id="iframe_integration_in"></a>

When integrating our responsive UI in an mobile environment, you must give the `iframe` a set height to ensure smooth bet slip navigation.

Please see the following examples for further details:

```html
<iframe height="688px" src="...">...</iframe> 
<iframe height="90vh" src="...">...</iframe>
<iframe height="100%" src="...">...</iframe>
```

This can also be styled via CSS.&#x20;

## Appendix

### Supported Currencies <a href="#toc100043229" id="toc100043229"></a>

<table><thead><tr><th valign="top">Country</th><th valign="top">Currency</th><th valign="top">Currency code</th></tr></thead><tbody><tr><td valign="top">Afghanistan</td><td valign="top">Afghani</td><td valign="top"><code>afn</code></td></tr><tr><td valign="top">Albania</td><td valign="top">Lek</td><td valign="top"><code>all</code></td></tr><tr><td valign="top">Algeria</td><td valign="top">Algerian Dinar</td><td valign="top"><code>dzd</code></td></tr><tr><td valign="top">Angola</td><td valign="top">Kwanza</td><td valign="top"><code>aoa</code></td></tr><tr><td valign="top">Argentina</td><td valign="top">Argentine Peso</td><td valign="top"><code>ars</code></td></tr><tr><td valign="top">Armenia</td><td valign="top">Armenian Dram</td><td valign="top"><code>amd</code></td></tr><tr><td valign="top">Aruba</td><td valign="top">Aruban Florin</td><td valign="top"><code>awg</code></td></tr><tr><td valign="top">Australia</td><td valign="top">Australian Dollar</td><td valign="top"><code>aud</code></td></tr><tr><td valign="top">Azerbaijan</td><td valign="top">Azerbaijanian Manat</td><td valign="top"><code>azn</code></td></tr><tr><td valign="top">Bahamas</td><td valign="top">Bahamian Dollar</td><td valign="top"><code>bsd</code></td></tr><tr><td valign="top">Bahrain</td><td valign="top">Bahraini Dinar</td><td valign="top"><code>bhd</code></td></tr><tr><td valign="top">Bangladesh</td><td valign="top">Taka</td><td valign="top"><code>bdt</code></td></tr><tr><td valign="top">Barbados</td><td valign="top">Barbados Dollar</td><td valign="top"><code>bbd</code></td></tr><tr><td valign="top">Belarus</td><td valign="top">Belarussian Ruble</td><td valign="top"><code>byn</code></td></tr><tr><td valign="top">Belize</td><td valign="top">Belize Dollar</td><td valign="top"><code>bzd</code></td></tr><tr><td valign="top">Bermuda</td><td valign="top">Bermudian Dollar</td><td valign="top"><code>bmd</code></td></tr><tr><td valign="top">Bhutan</td><td valign="top">Ngultrum</td><td valign="top"><code>btn</code></td></tr><tr><td valign="top">Bolivia, Plurinational State Of</td><td valign="top">Boliviano</td><td valign="top"><code>bob</code></td></tr><tr><td valign="top">Bosnia And Herzegovina</td><td valign="top">Convertible Mark</td><td valign="top"><code>bam</code></td></tr><tr><td valign="top">Botswana</td><td valign="top">Pula</td><td valign="top"><code>bwp</code></td></tr><tr><td valign="top">Brazil</td><td valign="top">Brazilian Real</td><td valign="top"><code>brl</code></td></tr><tr><td valign="top">Brunei Darussalam</td><td valign="top">Brunei Dollar</td><td valign="top"><code>bnd</code></td></tr><tr><td valign="top">Bulgaria</td><td valign="top">Bulgarian Lev</td><td valign="top"><code>bgn</code></td></tr><tr><td valign="top">Burundi</td><td valign="top">Burundi Franc</td><td valign="top"><code>bif</code></td></tr><tr><td valign="top">Cambodia</td><td valign="top">Riel</td><td valign="top"><code>khr</code></td></tr><tr><td valign="top">Canada</td><td valign="top">Canadian Dollar</td><td valign="top"><code>cad</code></td></tr><tr><td valign="top">Cape Verde</td><td valign="top">Cape Verde Escudo</td><td valign="top"><code>cve</code></td></tr><tr><td valign="top">Cayman Islands</td><td valign="top">Cayman Islands Dollar</td><td valign="top"><code>kyd</code></td></tr><tr><td valign="top">Central African States</td><td valign="top">CFA Franc BEAC</td><td valign="top"><code>xaf</code></td></tr><tr><td valign="top">Chile</td><td valign="top">Chilean Peso</td><td valign="top"><code>clp</code></td></tr><tr><td valign="top">China</td><td valign="top">Yuan Renminbi</td><td valign="top"><code>cny</code></td></tr><tr><td valign="top">Colombia</td><td valign="top">Colombian Peso</td><td valign="top"><code>cop</code></td></tr><tr><td valign="top">Comoros</td><td valign="top">Comoro Franc</td><td valign="top"><code>kmf</code></td></tr><tr><td valign="top">Congo, The Democratic Republic Of</td><td valign="top">Congolese Franc</td><td valign="top"><code>cdf</code></td></tr><tr><td valign="top">Costa Rica</td><td valign="top">Costa Rican Colon</td><td valign="top"><code>crc</code></td></tr><tr><td valign="top">Croatia</td><td valign="top">Croatian Kuna</td><td valign="top"><code>hrk</code></td></tr><tr><td valign="top">Cuba</td><td valign="top">Peso Convertible</td><td valign="top"><code>cuc</code></td></tr><tr><td valign="top">Cuba</td><td valign="top">Cuban Peso</td><td valign="top"><code>cup</code></td></tr><tr><td valign="top">Czech Republic</td><td valign="top">Czech Koruna</td><td valign="top"><code>czk</code></td></tr><tr><td valign="top">Denmark </td><td valign="top">Danish Krone</td><td valign="top"><code>dkk</code></td></tr><tr><td valign="top">Djibouti</td><td valign="top">Djibouti Franc</td><td valign="top"><code>djf</code></td></tr><tr><td valign="top">Dominican Republic</td><td valign="top">Dominican Peso</td><td valign="top"><code>dop</code></td></tr><tr><td valign="top">East Caribbean</td><td valign="top">East Caribbean Dollar</td><td valign="top"><code>xcd</code></td></tr><tr><td valign="top">Egypt</td><td valign="top">Egyptian Pound</td><td valign="top"><code>egp</code></td></tr><tr><td valign="top">El Salvador</td><td valign="top">El Salvador Colon</td><td valign="top"><code>svc</code></td></tr><tr><td valign="top">Estonia</td><td valign="top">Estonian Kroon</td><td valign="top"><code>eek</code></td></tr><tr><td valign="top">Eritrea</td><td valign="top">Nakfa</td><td valign="top"><code>ern</code></td></tr><tr><td valign="top">Ethiopia</td><td valign="top">Ethiopian Birr</td><td valign="top"><code>etb</code></td></tr><tr><td valign="top">European Union</td><td valign="top">Euro</td><td valign="top"><code>eur</code></td></tr><tr><td valign="top">Falkland Islands (Malvinas)</td><td valign="top">Falkland Islands Pound</td><td valign="top"><code>fkp</code></td></tr><tr><td valign="top">Fiji</td><td valign="top">Fiji Dollar</td><td valign="top"><code>fjd</code></td></tr><tr><td valign="top">French Pacific</td><td valign="top">CFP Franc</td><td valign="top"><code>xpf</code></td></tr><tr><td valign="top">Gambia</td><td valign="top">Dalasi</td><td valign="top"><code>gmd</code></td></tr><tr><td valign="top">Georgia</td><td valign="top">Lari</td><td valign="top"><code>gel</code></td></tr><tr><td valign="top">Ghana</td><td valign="top">Ghana Cedi</td><td valign="top"><p><code>ghs</code></p><p> </p></td></tr><tr><td valign="top">Gibraltar</td><td valign="top">Gibraltar Pound</td><td valign="top"><code>gip</code></td></tr><tr><td valign="top">Guatemala</td><td valign="top">Quetzal</td><td valign="top"><code>gtq</code></td></tr><tr><td valign="top">Guinea</td><td valign="top">Guinea Franc</td><td valign="top"><code>gnf</code></td></tr><tr><td valign="top">Guyana</td><td valign="top">Guyana Dollar</td><td valign="top"><code>gyd</code></td></tr><tr><td valign="top">Haiti</td><td valign="top">Gourde</td><td valign="top"><code>htg</code></td></tr><tr><td valign="top">Honduras</td><td valign="top">Lempira</td><td valign="top"><code>hnl</code></td></tr><tr><td valign="top">Hong Kong</td><td valign="top">Hong Kong Dollar</td><td valign="top"><code>hkd</code></td></tr><tr><td valign="top">Hungary</td><td valign="top">Forint</td><td valign="top"><code>huf</code></td></tr><tr><td valign="top">Iceland</td><td valign="top">Iceland Krona</td><td valign="top"><code>isk</code></td></tr><tr><td valign="top">India</td><td valign="top">Indian Rupee</td><td valign="top"><code>inr</code></td></tr><tr><td valign="top">Indonesia</td><td valign="top">Rupiah</td><td valign="top"><code>idr</code></td></tr><tr><td valign="top">Iran, Islamic Republic Of</td><td valign="top">Iranian Rial</td><td valign="top"><code>irr</code></td></tr><tr><td valign="top">Iraq</td><td valign="top">Iraqi Dinar</td><td valign="top"><code>iqd</code></td></tr><tr><td valign="top">Israel</td><td valign="top">New Israeli Sheqel</td><td valign="top"><code>ils</code></td></tr><tr><td valign="top">Jamaica</td><td valign="top">Jamaican Dollar</td><td valign="top"><code>jmd</code></td></tr><tr><td valign="top">Japan</td><td valign="top">Yen</td><td valign="top"><code>jpy</code></td></tr><tr><td valign="top">Jordan</td><td valign="top">Jordanian Dinar</td><td valign="top"><code>jod</code></td></tr><tr><td valign="top">Kazakhstan</td><td valign="top">Tenge</td><td valign="top"><code>kzt</code></td></tr><tr><td valign="top">Kenya</td><td valign="top">Kenyan Shilling</td><td valign="top"><code>kes</code></td></tr><tr><td valign="top">Korea, Democratic People’s Republic Of</td><td valign="top">North Korean Won</td><td valign="top"><code>kpw</code></td></tr><tr><td valign="top">Korea, Republic Of</td><td valign="top">Won</td><td valign="top"><code>krw</code></td></tr><tr><td valign="top">Kuwait</td><td valign="top">Kuwaiti Dinar</td><td valign="top"><code>kwd</code></td></tr><tr><td valign="top">Kyrgyzstan</td><td valign="top">Som</td><td valign="top"><code>kgs</code></td></tr><tr><td valign="top">Lao People’s Democratic Republic</td><td valign="top">Kip</td><td valign="top"><code>lak</code></td></tr><tr><td valign="top">Latvia</td><td valign="top">Latvian Lats</td><td valign="top"><code>lvl</code></td></tr><tr><td valign="top">Lebanon</td><td valign="top">Lebanese Pound</td><td valign="top"><code>lbp</code></td></tr><tr><td valign="top">Lesotho</td><td valign="top">Loti</td><td valign="top"><code>lsl</code></td></tr><tr><td valign="top">Liberia</td><td valign="top">Liberian Dollar</td><td valign="top"><code>lrd</code></td></tr><tr><td valign="top">Libya</td><td valign="top">Libyan Dinar</td><td valign="top"><code>lyd</code></td></tr><tr><td valign="top">Lithuania</td><td valign="top">Lithuanian Litas</td><td valign="top"><code>ltl</code></td></tr><tr><td valign="top">Macao</td><td valign="top">Pataca</td><td valign="top"><code>mop</code></td></tr><tr><td valign="top">Macedonia, The Former Yugoslav Republic Of</td><td valign="top">Denar</td><td valign="top"><code>mkd</code></td></tr><tr><td valign="top">Madagascar</td><td valign="top">Malagasy Ariary</td><td valign="top"><code>mga</code></td></tr><tr><td valign="top">Malawi</td><td valign="top">Kwacha</td><td valign="top"><code>mwk</code></td></tr><tr><td valign="top">Malaysia</td><td valign="top">Malaysian Ringgit</td><td valign="top"><code>myr</code></td></tr><tr><td valign="top">Maldives</td><td valign="top">Rufiyaa</td><td valign="top"><code>mvr</code></td></tr><tr><td valign="top">Mauritania</td><td valign="top">Ouguiya</td><td valign="top"><code>mro</code></td></tr><tr><td valign="top">Mauritius</td><td valign="top">Mauritius Rupee</td><td valign="top"><code>mur</code></td></tr><tr><td valign="top">Mexico</td><td valign="top">Mexican Peso</td><td valign="top"><code>mxn</code></td></tr><tr><td valign="top">Moldova, Republic Of</td><td valign="top">Moldovan Leu</td><td valign="top"><code>mdl</code></td></tr><tr><td valign="top">Mongolia</td><td valign="top">Tugrik</td><td valign="top"><code>mnt</code></td></tr><tr><td valign="top">Morocco</td><td valign="top">Moroccan Dirham</td><td valign="top"><code>mad</code></td></tr><tr><td valign="top">Mozambique</td><td valign="top">Mozambique Metical</td><td valign="top"><code>mzn</code></td></tr><tr><td valign="top">Myanmar</td><td valign="top">Kyat</td><td valign="top"><code>mmk</code></td></tr><tr><td valign="top">Namibia</td><td valign="top">Namibia Dollar</td><td valign="top"><code>nad</code></td></tr><tr><td valign="top">Netherlands Antillean</td><td valign="top">Netherlands Antillean Guilder</td><td valign="top"><code>ang</code></td></tr><tr><td valign="top">Nepal</td><td valign="top">Nepalese Rupee</td><td valign="top"><code>npr</code></td></tr><tr><td valign="top">New Zealand</td><td valign="top">New Zealand Dollar</td><td valign="top"><code>nzd</code></td></tr><tr><td valign="top">Nicaragua</td><td valign="top">Cordoba Oro</td><td valign="top"><code>nio</code></td></tr><tr><td valign="top">Nigeria</td><td valign="top">Naira</td><td valign="top"><code>ngn</code></td></tr><tr><td valign="top">Norway</td><td valign="top">Norwegian Krone</td><td valign="top"><code>nok</code></td></tr><tr><td valign="top">Oman</td><td valign="top">Rial Omani</td><td valign="top"><code>omr</code></td></tr><tr><td valign="top">Pakistan</td><td valign="top">Pakistan Rupee</td><td valign="top"><code>pkr</code></td></tr><tr><td valign="top">Panama</td><td valign="top">Balboa</td><td valign="top"><code>pab</code></td></tr><tr><td valign="top">Papua New Guinea</td><td valign="top">Kina</td><td valign="top"><code>pgk</code></td></tr><tr><td valign="top">Paraguay</td><td valign="top">Guarani</td><td valign="top"><code>pyg</code></td></tr><tr><td valign="top">Peru</td><td valign="top">Nuevo Sol</td><td valign="top"><code>pen</code></td></tr><tr><td valign="top">Philippines</td><td valign="top">Philippine Peso</td><td valign="top"><code>php</code></td></tr><tr><td valign="top">Poland</td><td valign="top">Zloty</td><td valign="top"><code>pln</code></td></tr><tr><td valign="top">Qatar</td><td valign="top">Qatari Rial</td><td valign="top"><code>qar</code></td></tr><tr><td valign="top">Romania</td><td valign="top">New Romanian Leu</td><td valign="top"><code>ron</code></td></tr><tr><td valign="top">Russian Federation</td><td valign="top">Russian Ruble</td><td valign="top"><code>rub</code></td></tr><tr><td valign="top">Rwanda</td><td valign="top">Rwanda Franc</td><td valign="top"><code>rwf</code></td></tr><tr><td valign="top">Saint Helena, Ascension And Tristan Da Cunha</td><td valign="top">Saint Helena Pound</td><td valign="top"><code>shp</code></td></tr><tr><td valign="top">Samoa</td><td valign="top">Tala</td><td valign="top"><code>wst</code></td></tr><tr><td valign="top"> Sao Tome And Principe</td><td valign="top">Dobra</td><td valign="top"><code>std</code></td></tr><tr><td valign="top">Saudi Arabia</td><td valign="top">Saudi Riyal</td><td valign="top"><code>sar</code></td></tr><tr><td valign="top">Serbia</td><td valign="top">Serbian Dinar</td><td valign="top"><code>rsd</code></td></tr><tr><td valign="top">Seychelles</td><td valign="top">Seychelles Rupee</td><td valign="top"><code>scr</code></td></tr><tr><td valign="top">Sierra Leone</td><td valign="top">Leone</td><td valign="top"><code>sll</code></td></tr><tr><td valign="top">Singapore</td><td valign="top">Singapore Dollar</td><td valign="top"><code>sgd</code></td></tr><tr><td valign="top">Solomon Islands</td><td valign="top">Solomon Islands Dollar</td><td valign="top"><code>sbd</code></td></tr><tr><td valign="top">Somalia</td><td valign="top">Somali Shilling</td><td valign="top"><code>sos</code></td></tr><tr><td valign="top">South Africa</td><td valign="top">Rand</td><td valign="top"><code>zar</code></td></tr><tr><td valign="top">South Sudan</td><td valign="top">South Sudanese Pound</td><td valign="top"><code>ssp</code></td></tr><tr><td valign="top">Sri Lanka</td><td valign="top">Sri Lanka Rupee</td><td valign="top"><code>lkr</code></td></tr><tr><td valign="top">Sudan</td><td valign="top">Sudanese Pound</td><td valign="top"><code>sdg</code></td></tr><tr><td valign="top">Suriname</td><td valign="top">Surinam Dollar</td><td valign="top"><code>srd</code></td></tr><tr><td valign="top">Swaziland</td><td valign="top">Lilangeni</td><td valign="top"><code>szl</code></td></tr><tr><td valign="top">Sweden</td><td valign="top">Swedish Krona</td><td valign="top"><code>sek</code></td></tr><tr><td valign="top">Switzerland</td><td valign="top">Swiss Franc</td><td valign="top"><code>chf</code></td></tr><tr><td valign="top">Syrian Arab Republic</td><td valign="top">Syrian Pound</td><td valign="top"><code>syp</code></td></tr><tr><td valign="top">Taiwan, Province Of China</td><td valign="top">New Taiwan Dollar</td><td valign="top"><code>twd</code></td></tr><tr><td valign="top">Tajikistan</td><td valign="top">Somoni</td><td valign="top"><code>tjs</code></td></tr><tr><td valign="top">Tanzania, United Republic Of</td><td valign="top">Tanzanian Shilling</td><td valign="top"><code>tzs</code></td></tr><tr><td valign="top">Thailand</td><td valign="top">Baht</td><td valign="top"><code>thb</code></td></tr><tr><td valign="top">Tonga</td><td valign="top">Pa’anga</td><td valign="top"><code>top</code></td></tr><tr><td valign="top">Trinidad And Tobago</td><td valign="top">Trinidad and Tobago Dollar</td><td valign="top"><code>ttd</code></td></tr><tr><td valign="top">Tunisia</td><td valign="top">Tunisian Dinar</td><td valign="top"><code>tnd</code></td></tr><tr><td valign="top">Turkey</td><td valign="top">Turkish Lira</td><td valign="top"><code>try</code></td></tr><tr><td valign="top">Turkmenistan</td><td valign="top">Turkmenistan New Manat</td><td valign="top"><code>tmt</code></td></tr><tr><td valign="top">Uganda</td><td valign="top">Uganda Shilling</td><td valign="top"><code>ugx</code></td></tr><tr><td valign="top">Ukraine</td><td valign="top">Hryvnia</td><td valign="top"><code>uah</code></td></tr><tr><td valign="top">United Arab Emirates</td><td valign="top">UAE Dirham</td><td valign="top"><code>aed</code></td></tr><tr><td valign="top">United Kingdom</td><td valign="top">Pound Sterling</td><td valign="top"><code>gbp</code></td></tr><tr><td valign="top">United States</td><td valign="top">US Dollar</td><td valign="top"><code>usd</code></td></tr><tr><td valign="top">Uruguay</td><td valign="top">Peso Uruguayo</td><td valign="top"><code>uyu</code></td></tr><tr><td valign="top">Uzbekistan</td><td valign="top">Uzbekistan Sum</td><td valign="top"><code>uzs</code></td></tr><tr><td valign="top">Vanuatu</td><td valign="top">Vatu</td><td valign="top"><code>vuv</code></td></tr><tr><td valign="top">Venezuela, Bolivarian Republic Of</td><td valign="top">Bolivar</td><td valign="top"><code>ves</code></td></tr><tr><td valign="top">Vietnam</td><td valign="top">Dong</td><td valign="top"><code>vnd</code></td></tr><tr><td valign="top">West African States</td><td valign="top">CFA Franc BCEAO</td><td valign="top"><code>xof</code></td></tr><tr><td valign="top"> Yemen</td><td valign="top">Yemeni Rial</td><td valign="top"><code>yer</code></td></tr><tr><td valign="top">Zambia</td><td valign="top">Zambian Kwacha</td><td valign="top"><code>zmw</code></td></tr><tr><td valign="top">Zimbabwe</td><td valign="top">Zimbabwe Dollar</td><td valign="top"><code>zwl</code></td></tr></tbody></table>

&#x20;

```
 
```

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sportradar.com/games/virtual-sports/remote-game-server-rgs/rgs-frontend-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
