# TALOS: game aggregator > TALOS integration documentation for merchants (online casino operators). With one integration your site offers slots and live casino from many providers, with the player's balance always kept in your wallet (seamless model). Two ends: the operator API (you call TALOS) and the wallet callback (TALOS calls you). Important notes: - API base: `https:///v1`, provided by TALOS for each environment (staging and production), together with the merchant code and secret. Start with staging. - Authentication: every API call and every wallet callback is signed with HMAC-SHA256 using the merchant secret. Headers `X-Merchant-Id`, `X-Timestamp` (epoch milliseconds), `X-Nonce` (unique per request) and `X-Signature` = hex(HMAC_SHA256(secret, `timestamp.nonce.METHOD.path_with_query.raw_body`)). The path includes `/v1`; on GET the body is empty. 5-minute window. - Sign the body exactly as it is sent (raw text): re-serializing the JSON changes the signature. The secret stays on the server. - A merchant operates in a single currency. For several currencies there is one merchant per currency (own code and secret) in the same group (brand). - Amounts in the major unit of the currency: `2.5` = R$ 2.50 (up to 2 decimals; CLP has none), both in the API and in the wallet. - API responses: `{ success, message, statusCode, data }`; on error, `{ success: false, message, statusCode, error: { code } }` with the HTTP status equal to `statusCode`. Always decide by `error.code`; the `message` is English text and may change. - Seamless wallet: TALOS keeps no balance. It POSTs to your `walletUrl` with `action` = `balance`, `bet`, `win`, `refund` or `rollback` and you reply `{ "ok": true, "balance": 97.5 }` (balance after the transaction) or `{ "ok": false, "error": "INSUFFICIENT_FUNDS" }`. - Idempotency: `tx_id` is the key. The same `tx_id` can arrive more than once and must never be applied twice; return the same result. A round without a win sends no `win`, and the win may arrive before the bet. - No reply within 8 seconds, network failure, HTTP 5xx or an invalid body = unknown result: TALOS resends with the same `tx_id` or reverses it with a `refund` (reply `TRANSACTION_NOT_FOUND` if you never applied the bet). - The launch (`POST /v1/game/launch`) takes no balance and creates the player on first access (`player_id` is your own id). Open the `launch_url` in an iframe; it is for immediate use. ## Get started - [Introduction](https://docs.talosigaming.com/en/introduction): TALOS is a game aggregator: with a single integration your site (the merchant) offers slots and live casino to its players, with the balance always kept in your wallet. - [Getting started](https://docs.talosigaming.com/en/getting-started): What you receive from TALOS, what you need to configure and the recommended order to integrate. - [Authentication](https://docs.talosigaming.com/en/authentication): Every call to the operator API and every wallet callback is signed with HMAC-SHA256 using the merchant secret. The scheme is the same in both directions. ## Integration - [Game launch](https://docs.talosigaming.com/en/game-launch): POST /v1/game/launch opens a game for a player and returns the launch_url. The same route serves slots and live casino. - [Seamless wallet](https://docs.talosigaming.com/en/wallet): TALOS does not store the player balance. On every balance query and every transaction it sends a callback to your walletUrl, and your reply is the source of truth. The full specification is in Wallet callback. ## Reference guides - [Currencies, languages and countries](https://docs.talosigaming.com/en/currencies-languages-countries): Supported currencies and decimals, amount units, launch languages and player country. - [Errors](https://docs.talosigaming.com/en/errors): Error envelope format, error codes by route and what can be resent. - [Changelog](https://docs.talosigaming.com/en/changelog): Changes to the merchant integration, from newest to oldest. ## API reference - [GET /v1/merchant](https://docs.talosigaming.com/en/reference/get-merchant): Details of the authenticated merchant: code, operation currency, enabled products and brand (`brand`). - [POST /v1/game/launch](https://docs.talosigaming.com/en/reference/post-game-launch): Opens a game for the player and returns the `launch_url`. - [GET /v1/games](https://docs.talosigaming.com/en/reference/get-games): Paginated catalog of the active games of the products enabled for the merchant. - [GET /v1/providers](https://docs.talosigaming.com/en/reference/get-providers): Providers of the enabled products, with the count of active games. - [GET /v1/transactions](https://docs.talosigaming.com/en/reference/get-transactions): Paginated history of the merchant wallet transactions (what was sent to the callback and the result). - [GET /v1/reports/ggr](https://docs.talosigaming.com/en/reference/get-reports-ggr): Merchant GGR and turnover for the period (maximum of 93 days), total or grouped. - [Wallet callback](https://docs.talosigaming.com/en/reference/wallet-callback): JSON POST to the `walletUrl` configured on the merchant. ## Optional - [llms-full.txt](https://docs.talosigaming.com/en/llms-full.txt): Full documentation in a single file (guides and API reference) - This index in other languages: [Português](https://docs.talosigaming.com/pt/llms.txt), [Español](https://docs.talosigaming.com/es/llms.txt)