> ## Documentation Index
> Fetch the complete documentation index at: https://docs.game-services.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> RGS is a high-performance backend platform engineered to manage the game logic for a multitude of casino titles, process bet placements and outcomes, and seamlessly integrate with user wallets, among other advanced features. By leveraging our RGS solution, operators can deliver a smooth, feature-rich, and engaging gaming experience to their players.

#### Key Terminology

* **RGS**: The central platform responsible for orchestrating game logic, determining bet outcomes, managing user accounts, and handling essential operational services.
* **Operator**: A gaming platform that hosts and offers casino games to end-users.
* **Player**: The individual who engages in the casino games.
* **Round**: A single session or iteration of gameplay within a specific casino game.

# Changelog

### May 29, 2025

<Expandable title="details" defaultOpen={true}>
  ### Changed

  Transaction types in the `CreditDebit` request have been updated to provide clearer context:

  * `SPIN` has been replaced with `CREDIT_DEBIT_SPIN`: A regular spin-based transaction.
  * `BONUS_PURCHASE` has been replaced with `CREDIT_DEBIT_PURCHASE`: A transaction where the player directly purchases a bonus feature within the game.

  ### Added

  A new field `transactionType` has been added to the `Debit` request. It supports the following values:

  * `DEBIT_SPIN`: A regular spin-based transaction.
  * `DEBIT_JACKPOT`: A transaction where the player receives a jackpot payout.
</Expandable>

### Oct 16, 2025

<Expandable title="details" defaultOpen={true}>
  ### Added

  Get Currencies request has been added to the API. It allows for retrieving the list of currencies supported by the platform.
</Expandable>

### January 22, 2026

<Expandable title="details" defaultOpen={true}>
  ### Changed

  **Idempotency in the RGS API**

  * Clarified how duplicate `transactionId` requests must be handled for `/credit-debit` and `/debit`.
  * Added expected behavior for retries: duplicates must be treated as a valid case, skipped without re-processing, and return **HTTP 200** with the **current player balance**.
  * Documented rollback error handling: `/rollback` must return **HTTP 400** with `error_code=INVALID_TRANSACTION` when the referenced transaction is not found or has already been rolled back.
</Expandable>

### May 12, 2025

<Expandable title="details" defaultOpen={true}>
  ### Changed

  Credit request has been replaced with CreditDebit request. The new request allows for both crediting and debiting amounts in a single API call, streamlining the process and improving efficiency.
  The new request includes the following parameters:

  * `creditAmount`: Amount to credit.
  * `debitAmount`: Amount to debit.
  * `roundFinished`: Flag indicating end of the round.

  Next parameters were removed from the request:

  * `amount`: Amount to credit.
</Expandable>
