Requests are made to operator platforms through POST endpoints using JSON messages.
TechnoBin-Bridge requests contain an unique requestID that must be used by the operator for tracking and idempotency purposes. Additionally, the access token configured in the TechnoBin management panel is sent in the header. All requests include the following headers:
Header
Description
Content-Type
application/json
Authorization
Bearer [Access Token]
It is advised to keep response times lower than 500 ms in order to avoid timeouts and ensure a good user experience.
The /auth endpoint is used to authenticate a player when accessing a game via the URL provided through game launch. Sessions may be expired after a period of inactivity, TechnoBin recommends an expiration time of 24 hours.
/wallet is used to get player wallet information to show relevant information on the game UI. It may also be used as authentication check in certain games.
This endpoint is used when a player wants to make a bet on a game. The operator platform is responsible for ensuring the player has sufficient funds to complete the transaction and for debiting the amount using an atomic operation.