Game launch
All requests to TechnoBin-Bridge must include the following headers:
| Header | Description |
|---|---|
| Content-Type | application/json |
| x-provider-access-token | Bearer [Access Token] |
| x-tenant-id | Provider ID |
The access token and provider ID can be obtained from TechnoBin’s management panel.
Games List
Section titled “Games List”A list of available games, along with their respective details, can be retrieved through the bridge via the endpoint https://api.staging.technobin.net/game-bridge/game-list using the GET method.
Games return different information depending on their type. For example, bingo-type games return the channels made available by the provider.
Game Launch Endpoint
Section titled “Game Launch Endpoint”To launch a game, a POST request must be made to https://api.staging.technobin.net/game-bridge/create-game-url, which will create and return an unique URL for the player.
It is up to the operator to choose between redirecting the player to the URL or to embed it in an iframe.
Request Contents
Section titled “Request Contents”| Field | Type | Description | Required |
|---|---|---|---|
| requestID | string | Unique request ID in UUIDv4 | Yes |
| currency | string | Yes | |
| exitUrl | string | Exit button URL | No |
| prefLang | string | Game display language (default: pt-BR) | No |
| player.id | string | Player’s public ID | Yes |
| player.session | string | Player’s session token | Yes |
| player.nickname | string | Player’s public nickname | Yes |
| game.id | string | Game ID to be launched | Yes |
| game.channel | string | Game channel to be launched | * |
{ "requestID": "c6ea5494-7972-4adc-88c9-e0e3a1f4bd75", "currency": "USD", "exitUrl": "https://example.com", "player": { "id": "player1", "session": "session123", "nickname": "John Doe" }, "game": { "id": "123", "channel": "my-channel" }}Response Contents
Section titled “Response Contents”| Field | Type | Description | Required |
|---|---|---|---|
| requestID | string | Echoes the requestID sent | Yes |
| gameUrl | string | Yes |
{ "requestID": "c6ea5494-7972-4adc-88c9-e0e3a1f4bd75", "gameUrl": "https://example.games.com/?token=\"e85db200-026e-4b0b-bae5-c08d2e26f4af\""}