5G Gaming System Seamless Wallet Integration Service API
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Table of Contents Table of Contents Version History Overview 1. General Notes 2. Game Playing API Reference 1. Game Lauch 2. Authenticate (5G Host) 3. Logout (5G Host) 4. Bet (5G Host) 5. Result (5G Host) 6. Campaign Reward (5G Host) 7. Result Exceptional Case (5G Host) 8. Refund Bet (5G Host) 9. Get Balance (5G Host) 10. Game List 11. Game History 12. Daily Summary 13. Hourly Summary 14. Kick Out (Host 5G) Appendix Support Languages Page 2 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Version History Changes in this version will be highlighted in red. Last Modified Date Version Modification Details 2025/03/13 ver. 25031301 Initial Version of New Architecture 2025/04/30 ver. 25043001 1. Modify Game History Description a. Remove request parameter: host_type 2. Modify Daily Summary Description a. Remove request parameter: host_type 3. Modify Hourly Summary Description a. Remove request parameter: host_type 2025/05/06 ver. 25050601 1. Modify Game History Description a. Add s_tm field in API response 2025/05/21 ver. 25052101 1. Modify Game History Description a. Add explanation for the host_id parameter, used to query master host information. 2. Modify Daily Summary Description a. Add explanation for the host_id parameter, used to query master host information. 3. Modify Hourly Summary Description a. Add explanation for the host_id parameter, used to query master host information. 2025/06/03 ver. 25060301 1. Modify Game History Description a. Adjust the default value for the maximum of row_count parameter 2025/06/04 ver. 25060401 1. Add Version History 2025/06/12 ver. 25061201 1. Add Result (Exceptional Case) API Description 2025/06/25 ver. 25062501 1. Modify Result Description a. Correct the description of the ts parameter from “the beginning of the round” to “the end of the round”. Page 3 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 2025/07/24 ver. 25072401 1. Add Campaign Reward API Description 2. Modify Game History API Description a. Add “rd” request parameter to provide game history queried with additional information. b. Add “rd” field in API response, used to record additional information about the game round. 3. Modify Daily Summary API Description a. Add “rd” request parameter to provide game history queried with additional information. 4. Modify Hourly Summary API Description a. Add “rd” request parameter to provide game history queried with additional information. 5. Remove the description related to the JACKPOT API, as it is currently not implemented, which includes: a. JACKPOT Pool b. JACKPOT Winners c. JACKPOT Daily Contribution d. Bonus Award (JACKPOT Award) Page 4 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Overview This document describes the service integration between 5G Gaming System (5G) and a host system/platform (Host). The following chapters describe the general concept of integration as well as descriptions and examples of the API methods used for the service integration. 1. General Notes (1) ProtocolHTTPS (2) Data FormatJSONJavaScript Object Notation (3) Financial (Wallet) Option Seamless Wallet (aka Single/Share/Common Wallet) (4) Game clients are implemented using HTML5. (5) The Host manages the user account database (personal information, balance, payment operations...etc.) (6) The 5G only manages the player data necessary to perform game operations. (7) All query times will follow the time zone set by the host. (8) All money related numbers are represented in cent values. (1 dollar = 100 cents) 2. Game Playing (1) Games can be launched in GUEST or REAL mode. GUEST mode The player is playing with fun money which is set to the default value upon starting a GUEST mode game session. Games are not logged or recorded on the 5G side, and no calls are made to the Host side. REAL mode Games are played for real money. Games are logged and recorded on the 5G side. If the game client disconnects from the server midway, when a free game is awarded, the system will automatically settle and complete the game round. Page 5 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 (2) Support to launch multiple games simultaneously (must be different games). (3) The default timeout period for a game session is 20 minutes. It can be configured at will by the host's request. Page 6 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 API Reference 1. Game Lauch 2. Authenticate (5G Host) 3. Logout (5G Host) 4. Bet (5G Host) 5. Result (5G Host) 6. Campaign Reward (5G Host) 7. Refund Bet (5G Host) 8. Get Balance (5G Host) 9. Game List 10. Game History 11. Daily Summary 12. Hourly Summary 13. Kick Out (Host 5G) Page 7 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 1. Game Launch 5G provides two launch modes, including GUEST and REAL mode. NOTE: The GUEST mode can be enabled/disabled from 5G configuration at will by the host’s request. (1) GUEST mode: Launching a Game for Guest Players Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) game_id string Unique ID of 5G Games. (Max. 64 characters) lang string Language for game client to start with. If language is not specified or not supported, the default will be used. (Please refer to Appendix: Support Languages) return_url string Optional. The game will redirect the player to the URL after pressing the home button. return_target string Optional. The target window's URL will be replaced with return_url. Possible values are described below: String Description top The outermost window (Default) parent The parent of the current window self The current window Example Http Method: GET https://{5G-API-SERVER}/launch/?host_id=a62b545a3c56ec719257e82d60dbc518&game_id=KYS- H5-99997&lang=en-US&return_url=http://{HOST-FRONT-END}/lobby/index.htm Response (HTTP 302) Redirect to the download link of the game. Page 8 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 (2) REAL mode: Launching a Game for Logged-In Players NOTE: To verify access tokens, the host system must provide a corresponding API to the 5G side. For more information about the API, please refer to Authenticate (5GHost). Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) game_id string Unique ID of 5G Games. (Max. 64 characters) lang string Language for game client to start with. If language is not specified or not supported, the default will be used. (Please refer to Appendix: Support Languages) access_token string The access token is generated and verified by the host system for the player's current session. return_url string Optional. The game will redirect the player to the URL after pressing the home button. return_target string Optional. The target window's URL will be replaced with return_url. Possible values are described below: String Description top The outermost window (Default) parent The parent of the current window self The current window Example Http Method: GET https://{5G-API-SERVER}/launch/?host_id=a62b545a3c56ec719257e82d60dbc518&game_id=KYS-H 5-99997&lang=en-US&access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5MCxaGjFZ2xTLc7&r eturn_url=http://{HOST-FRONT-END}/lobby/index.htm Response (HTTP 302) Redirect to the download link of the game. Page 9 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 2. Authenticate (5G Host) Verify the access token sent from 5G. The method is called on launching the game for the logged-in player. Request Name Type Description access_token string The access token is generated by host system for the player's current session. step int Optional. The current step of authentication. Type Description 0 Checking Unfinished Game 1 Login Example Http Method: GET https://{Host-API-Server}/api/authenticate/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTed G5MCxaGjFZ2xTLc7&step=1 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token member_id string Unique ID of the player. (Max. 64 characters) member_name string Optional. Nickname of the player. (Max. 64 characters) balance uint64 Current balance of the player. (in cents) Example Http Method: GET Page 10 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 { "status_code": 0, "member_id": "test1", "member_name": "TestPlayer1", "balance": 1283200 } Page 11 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 3. Logout (5G Host) 5G sends this request to the Host to notify the player leaving the game. (Optional) Request Name Type Description access_token string The access token is verified by the host system for the player's current session. game_id string Unique ID of 5G Games. (Max. 64 characters) Example Http Method: GET https://{Host-API-Server}/api/logout/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5MCx aGjFZ2xTLc7&game_id= KYS-H5-99997 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token Example Http Method: GET { "status_code": 0 } Page 12 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 4. Bet (5G Host) Request Name Type Description access_token string The access token is verified by host system for the player's current session. txn_id string Unique ID of the transaction on the 5G side. total_bet uint64 Amount of the bet. (in cents) game_id string Unique ID of 5G Games. (Max. 64 characters) ts uint64 The UTC timestamp (in seconds) of the beginning of the round. Example Http Method: GET https://{Host-API-Server}/api/bet/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5MCxaGj FZ2xTLc7&txn_id=123&total_bet=3000&game_id=KYS-H5-99997&ts=12345 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token 2 Invalid Transaction ID 3 Insufficient Funds 4 No More Bets balance uint64 Current balance of the player. (in cents) Example Http Method: GET { "status_code": 0, "balance": 1283200 } Page 13 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 5. Result (5G Host) Request Name Type Description access_token string The access token is verified by host system for the player's current session. txn_id string Unique ID of the transaction on the 5G side. total_win uint64 Amount of win. (in cents, including bonus win) bonus_win uint64 Amount of bonus win. (in cents) game_id string Unique ID of 5G Games. (Max. 64 characters) ts uint64 The UTC timestamp (in seconds) of the end of the round. jp_contrib double The amount of jackpot contribution. (in cents, round off to 2 nd decimal place) Example Http Method: GET https://{Host-API-Server}/api/result/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5MCx aGjFZ2xTLc7&txn_id=123&total_win=10000&game_id=KYS-H5-99997&ts=12345& jp_contrib=50.12 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token 2 Invalid Transaction ID balance uint64 Current balance of the player. (in cents) Example Http Method: GET { Page 14 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 "status_code": 0, "balance": 1283200 } Page 15 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 6. Campaign Reward (5G Host) Request Name Type Description access_token string The access token is verified by host system for the player's current session. bonus_id string The unique ID of the reward. If bonus_type = free_spin_bonus, this refers to the main game round ID of the FSB. bonus_type string Type of Campaign Reward Code Description free_spin_bonus Free Spin Bonus cash_drop Cash Drop game_id string The unique ID of 5G Games. (Max. 64 characters) bonus_amount uint64 The amount of reward distributed in the campaign. (in cents) campaign_id string The unique ID of the campaign. ts uint64 The UTC timestamp (in seconds) the reward was received. If bonus_type = free_spin_bonus, this refers to the end time of the single FSB game round. Example Http Method: GET https://{Host-API-Server}/api/reward?access_token={TOKEN}&bonus_id=687f917ec5a4650da7071 a8e&bonus_type=free_spin_bonus&game_id=S5G-H5-99943&bonus_amount=254700&campaign_ id=3d4a1cda-f71f-405a-a6e3-36c702efdfe9&ts=1753191054 Page 16 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token 2 Reward Delivery Failed balance uint64 Current balance of the player. (in cents) Example Http Method: GET { "status_code": 0, "balance": 1283200 } Page 17 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 7. Result Exceptional Case (5G Host) 5G sends this request to Host to resolve the Result error. Request Name Type Description member_id string Unique ID of the player (Maximum 64 characters) txn_id string Unique ID of the transaction on the 5G side. total_win uint64 Amount of win. (in cents, including bonus win) bonus_win uint64 Amount of bonus win. (in cents) game_id string Unique ID of 5G Games. (Max. 64 characters) ts uint64 The UTC timestamp (in seconds) of the beginning of the round. Example Http Method: GET https://{Host-API-Server}/api/resultex/?member_id=test1&txn_id=314a29b1c1601d67e87h9cc30& total_win=10000&bonus_win=0&game_id=S5G-H5-99943&ts=1749698818 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token 2 Invalid Transaction ID 3 Retry Result balance uint64 Current balance of the player. (in cents) Example Http Method: GET { "status_code": 0, } Page 18 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 8. Refund Bet (5G Host) 5G sends this request to Host to cancel the latest Bet call if system error occurred. Request Name Type Description access_token string The access token is generated by the host system for the player's current session. txn_id string Unique ID of the transaction on the 5G side. Example Http Method: GET https://{Host-API-Server}/api/refund/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5MCx aGjFZ2xTLc7&txn_id=123 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Token 2 Invalid Transaction ID balance uint64 Current balance of the player. (in cents) Example Http Method: GET { "status_code": 0, "balance": 1286200 } Page 19 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 9. Get Balance (5G Host) For querying the balance of a particular player account. Request Name Type Description access_token string The access token is generated by the host system for the player's current session. Example Http Method: GET https://{Host-API-Server}/api/getbalance/?access_token=bdvaHBSEipVcv9TuZPQxZvolqEIanjaTedG5 MCxaGjFZ2xTLc7 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 1 Invalid Member ID balance uint64 Current balance of the player. (in cents) Example Http Method: GET { "status_code": 0, "balance": 1283200 } Page 20 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 10. Game List 5G provides a data feed to obtain a list of all available games for a host system. Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) type int Optional. Possible values as below: Type Descriprion 0 All Games (Default) 1 Most Favorite Games 2 List Slot Games by Category 3 List Games by Game Type category uint32 Optional When type=1, the response category includes all games with a category of 2. Be used when type=2, use 4 byte (32 Bits) to store game categories, one bit per category, up to 32. Possible values as below: Category Description 1 New 2 Hot 4 Exciting/Challenge 8 Mystery Jackpot string Be used when type=3, Possible values as below: Type Description SLOT Slot Game - General This field will be ignored if type is not 2 or 3. Page 21 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Order string Optional Type Description 0 Recommend (Default) 1 Game ID Example Http Method: GET https://{5G-API-SERVER}/feed/gamelist?host_id=a62b545a3c56ec719257e82d60dbc518 Response Name Type Description game_id string Unique ID of 5G Games. (Max. 64 characters) type string Type of 5G Games. (Max. 32 characters) Possible values as below: Type Description SLOT Slot Machine game_name object The name of 5G Games in multiple languages. Currently only support English (en-US), Chinese Simplified (zh-CN), Traditional Chinese (zh-TW), Thai (th-TH), Indonesian (id-ID), Vietnamese (vi-VN), Portugal (po-BR). category uint32 [SLOT] Game Category. volatility uint16 [SLOT] Game Volatility. (1~5) feature string [SLOT] Game Feature. (Max. 16 characters) min_bet uint64 Minimum Bet. (in cents) max_bet uint64 Maximum Bet. (in cents) Example Http Method: GET [ { "game_id": "KYS-H5-99997", "type": "SLOT", "game_name": { Page 22 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 "en-US": "SLOT-3", "zh-TW": "SLOT-3", "zh-CN": "SLOT-3" }, "category": 1, "volatility":2, "feature": "243 Ways", "min_bet": 30, "max_bet": 60000 } ] Page 23 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 11. Game History 5G provides a data feed to obtain players’ game history in a date range for a host system. Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) To view the data of all operators under a specific agent, go to the Agent Backstage >> Agent Overview page and search using the "Agent ID". member_id string Optional. Unique ID of player. (Max. 64 characters) Return all players’ data if this field is not given. start_dtm string The start date-time of date-time range to search on. The format is yyyy-MM-ddTHH:mm:ss. end_dtm string The end date-time of date-time range to search on. sn string Optional. Unique ID of the game round. When this field is present, the fields "member_id", "game_id", "start_dtm" and "end_dtm" are ignored. game_id string Optional. Unique ID of 5G Games. (Max. 64 characters) row_count uint16 Optional. The number of records to be sent back. This field is set to a default value of 5000, with a maximum limit of 5000. rd int Optional. Additional game round information. This field is set to a default value of 0. Value Description 0 Query all types of game history 1 Query Regular game history (excluding campaign data) 2 Query bonus record for Free Spin Bonus rewards 3 Query reward details of Cash Drop Page 24 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 detail_type int Optional. With or without Bonus/Bullet data. Possible values are described below: Value Description 0 With detail data (Default) 1 Without detail data game_type string Optional. Game Type Possible values are described below: Value Description SLOT Slot Games Example Http Method: GET https://{5G-API-SERVER}/feed/gamehistory/?host_id=a62b545a3c56ec719257e82d60dbc518&me mber_id=player1&start_dtm=2022-02-28T02:00:00&end_dtm=2022-02-29T02:01:00&rd=1&detail _type=0 Response Name Type Description sn string Unique ID of the game round. gid string Unique ID of 5G Games. (Max. 64 characters) s_tm string The beginning time of the game round. The format is yyyy-MM-dd HH:mm:ss. tm string The end time of the game round. The format is HH:mm:ss. bet uint64 The amount of money bet. (in cents) dm uint64 The denomination of the game round. win int64 The amount of money won. (in cents, including bonus win, gamble win) Page 25 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 rd string Additional game round information. (Max. 255 characters) Name Description Empty String Regular Game History free_spin_bonus Free Spin Bonus cash_drop Cash Drop bn uint64 The amount of bonus win. (in cents) bd object array The bonus data of the game round is only slot game and exists if the bonus is triggered. Name Type Description sn string Unique ID of the game round. win uint64 The amount of wins of the game round. (in cents) dtm DateTime The end date/time of the game round. offln uint16 Auto completed by system when player's offline. (0=No, 1=Yes) gb uint64 The amount of gamble wins. (in cents) jp uint64 The amount of jackpot wins. (in cents) gt string The game type of 5G Games. Value Description SLOT Slot Games jd object array The jackpot data of the game round. Name Type Description sn uint64 Unique ID of the jackpot win. type uint32 The type of jackpot win. gid uint32 The group ID of the jackpot win. pid uint32 The award ID of the jackpot win. win uint64 The amount of the jackpot win. dtm DateTime The date/time of the jackpot win. Page 26 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 jc double The amount of jackpot contribution. (in cents, round off to 2 nd decimal place) Example Query with member_id Http Method: GET { "2022-02-28":[ {"sn":1,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100,"win":500,"rd":"", "bn":100,"gb":0,"jp":0, "bd":[ {"sn":1,"win":10,"dtm":"2022-02-08T01:10:14"}, {"sn":2,"win":10,"dtm":"2022-02-08T01:10:17"}, {"sn":3,"win":10,"dtm":"2022-02-08T01:10:20"}, {"sn":4,"win":10,"dtm":"2022-02-08T01:10:23"}, {"sn":5,"win":10,"dtm":"2022-02-08T01:10:26"}, {"sn":6,"win":10,"dtm":"2022-02-08T01:10:29"}, {"sn":7,"win":10,"dtm":"2022-02-08T01:10:32"}, {"sn":8,"win":10,"dtm":"2022-02-08T01:10:35"}, {"sn":9,"win":10,"dtm":"2022-02-08T01:10:38"}, {"sn":10,"win":10,"dtm":"2022-02-08T01:10:41"} ],"gt":"SLOT","jc":0 }, {"sn":2,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100,"win":400,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":3,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100,"win":300,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":4,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100,"win":500,"rd":"free_spin_bonus ","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "2022-02-29":[ {"sn":5,"gid":"KYS-H5-99997","tm":"05:50:15","bet":500,"dm":100,"win":500,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":6,"gid":"KYS-H5-99997","tm":"06:10:16","bet":400,"dm":100,"win":400,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":7,"gid":"KYS-H5-99997","tm":"07:20:17","bet":300,"dm":100,"win":300,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":8,"gid":"KYS-H5-99997","tm":"08:30:18","bet":500,"dm":100,"win":500,"rd":"", "bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] } Query data for a single operator without member_id Http Method: GET { "2022-02-28":{ "player1": [ {"sn":1,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100, "win":500,"rd":"","bn":100,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":2,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100, Page 27 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 "win":400,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":3,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100, "win":300,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":4,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2": [ {"sn":5,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100, "win":500,"rd":"","bn":100,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":6,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100, "win":400,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":7,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100, "win":300,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":8,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "2022-02-29":{ "player1": [ {"sn":9,"gid":"KYS-H5-99997","tm":"05:50:15","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":10,"gid":"KYS-H5-99997","tm":"06:10:16","bet":400,"dm":100, "win":400,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":11,"gid":"KYS-H5-99997","tm":"07:20:17","bet":300,"dm":100, "win":300,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":12,"gid":"KYS-H5-99997","tm":"08:30:18","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2": [ {"sn":13,"gid":"KYS-H5-99997","tm":"05:50:15","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":14,"gid":"KYS-H5-99997","tm":"06:10:16","bet":400,"dm":100, "win":400,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":15,"gid":"KYS-H5-99997","tm":"07:20:17","bet":300,"dm":100, "win":300,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":16,"gid":"KYS-H5-99997","tm":"08:30:18","bet":500,"dm":100, "win":500,"rd":"","bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] } } Query data for all sub-operators without member_id Http Method: GET { "2022-02-28":{ "HOST-NAME-A": { "player1": [ {"sn":1,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100,"win":500,"rd":"","bn":100, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":2,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":3,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":4,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} Page 28 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 ], "player2": [ {"sn":5,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100,"win":500,"rd":"","bn":100, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":6,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":7,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":8,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "HOST-NAME-B": { "player1": [ {"sn":1,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100,"win":500,"rd":"","bn":100, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":2,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":3,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":4,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2": [ {"sn":5,"gid":"KYS-H5-99997","tm":"01:10:11","bet":500,"dm":100,"win":500,"rd":"","bn":100, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":6,"gid":"KYS-H5-99997","tm":"02:20:12","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":7,"gid":"KYS-H5-99997","tm":"03:30:13","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":8,"gid":"KYS-H5-99997","tm":"04:40:14","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ] } }, "2022-02-29":{ "HOST-NAME-A": { "player1": [ {"sn":9,"gid":"KYS-H5-99997","tm":"05:50:15","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":10,"gid":"KYS-H5-99997","tm":"06:10:16","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":11,"gid":"KYS-H5-99997","tm":"07:20:17","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":12,"gid":"KYS-H5-99997","tm":"08:30:18","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2": [ {"sn":13,"gid":"KYS-H5-99997","tm":"05:50:15","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":14,"gid":"KYS-H5-99997","tm":"06:10:16","bet":400,"dm":100,"win":400,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":15,"gid":"KYS-H5-99997","tm":"07:20:17","bet":300,"dm":100,"win":300,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"sn":16,"gid":"KYS-H5-99997","tm":"08:30:18","bet":500,"dm":100,"win":500,"rd":"","bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ] Page 29 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 } } } Page 30 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 12. Daily Summary 5G provides a data feed to obtain a summary of daily players' activities. Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) To view the data of all operators under a specific agent, go to the Agent Backstage >> Agent Overview page and search using the "Agent ID". start_dt string The start date of date range to search on. Format of the date entered must be yyyy-MM-dd. end_dt string The end date of date range to search on. member_id string Optional. Unique ID of the player. (Max. 64 characters) Return all players’ data if this field is not given. rd int Optional. Additional game round information. This field is set to a default value of 0. Value Description 0 Query all types of game history 1 Query Regular game history (excluding campaign data) 2 Query bonus record for Free Spin Bonus rewards 3 Query reward details of Cash Drop group_by uint16 Optional. Grouped by the following fields. Value Description 0 Unique ID of player and game (Default) 1 Unique ID of player 2 Unique ID of game 3 Unique ID of Host Page 31 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 4 Game type 5 Unique ID of Player and game type game_id string Optional. Unique ID of 5G Games. game_type string Optional. Game Type Possible values are described below: Value Description SLOT Slot Games Example Http Method: GET https://{5G-API-SERVER}/feed/dailysummary/?host_id=a62b545a3c56ec719257e82d60dbc518&sta rt_dt=2022-02-28&end_dt=2022-02-29&member_id=player1 Response Name Type Description gid string Unique ID of 5G Games. (Max. 64 characters) sid uint16 Sub-Game ID of 5G Games. rnd uint32 The daily amount of game rounds . bet uint64 The daily amount of money bet. (in cents) win uint64 The daily amount of money win. (in cents, including bonus win, gamble win) bn uint64 The daily amount of bonus win. (in cents) gb uint64 The daily amount of gamble win. (in cents) jp uint64 The daily amount of jackpot win. (in cents) gt string The game type of 5G Games. Value Description SLOT Slot Games jc double The daily amount of jackpot contribution. (in cents, round off to 2 nd decimal place) Page 32 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Example Query without member_id Http Method: GET { "2022-02-28":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2":[ {"gid":"KYS-H5-99997","rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "2022-02-29":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2":[ {"gid":"KYS-H5-99997","rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] } } Query with member_id=player1 Http Method: GET { "2022-02-28":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "2022-02-29":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0, "gb":0,"jp":0,"gt":"SLOT","jc":0} ] } } Query with group_by = 1 Http Method: GET { Page 33 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 "2022-02-28":{ "player1": {"rnd":20,"bet":900,"win":900,"bn":0,"gb":0,"jp":0,"jc":0}, "player2": {"rnd":20,"bet":800,"win":800,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29":{ "player1": {"rnd":20,"bet":900,"win":900,"bn":0,"gb":0,"jp":0,"jc":0}, "player2": {"rnd":20,"bet":800,"win":800,"bn":0,"gb":0,"jp":0,"jc":0} } } Query with group_by = 2 Http Method: GET { "2022-02-28":{ "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} }, "2022-02-29":{ "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} } } Query with group_by = 3 Http Method: GET { "2022-02-28":{ "HOST-NAME-A":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29":{ "HOST-NAME-A":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} } } Query with group_by = 4 Http Method: GET { "2022-02-28":{ "SLOT":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29":{ "SLOT":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} } } Page 34 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Query with group_by = 5 Http Method: GET { "2022-02-28":{ "player1":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ], "player2":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ] }, "2022-02-29":{ "player1":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ], "player2":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ] } } Page 35 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 13. Hourly Summary 5G provides a data feed to obtain a summary of hourly players' activities. Request Name Type Description host_id string Unique ID of Host System. (provided by 5G) To view the data of all operators under a specific agent, go to the Agent Backstage >> Agent Overview page and search using the "Agent ID". start_dt string The start date of the date range to search on. The format of the date entered must be yyyy-MM-ddTHH:00:00, the value of minute and second will be ignored. end_dt string The end date of the date range to search on. The format of the date entered must be yyyy-MM-ddTHH:00:00, the value of minute and second will be ignored. member_id string Optional. Unique ID of the player (Max. 64 characters) Return all players’ data if this field is not given. rd int Optional. Additional game round information. This field is set to a default value of 0. Value Description 0 Query all types of game history 1 Query Regular game history (excluding campaign data) 2 Query bonus record for Free Spin Bonus rewards 3 Query reward details of Cash Drop group_by uint16 Optional. Grouped by the following fields. Value Description Page 36 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 0 Unique ID of player and game (Default) 1 Unique ID of player 2 Unique ID of game 3 Unique ID of Host 4 Game type 5 Unique ID of Player and game type game_id string Optional. Unique ID of 5G Games. game_type string Optional. Game Type Possible values are described below: Value Description SLOT Slot Games Example Http Method: GET https://{5G-API-SERVER}/feed/hourlysummary/?host_id=a62b545a3c56ec719257e82d60dbc518&st art_dt=2022-02-28T12:00:00&end_dt=2022-02-29T11:00:00&member_id=player1 Response Name Type Description gid string Unique ID of 5G Games. (Max. 64 characters) rnd uint32 The daily amount of game rounds bet uint64 The daily amount of money bet. (in cents) win uint64 The daily amount of money win. (in cents, including bonus win, gamble win) bn uint64 The daily amount of bonus win. (in cents) gb uint64 The daily amount of gamble win. (in cents) jp uint64 The daily amount of jackpot win. (in cents) gt string The game type of 5G Games. Value Description SLOT Slot Games Page 37 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 jc double The daily amount of jackpot contribution (in cents, round off to 2 nd decimal place) Example Query without member_id Http Method: GET { "2022-02-28T17:00:00":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2":[ {"gid":"KYS-H5-99997","rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "2022-02-29T10:00:00":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ], "player2":[ {"gid":"KYS-H5-99997","rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] } } Query with member_id=player1 Http Method: GET { "2022-02-28T17:00:00":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] }, "2022-02-29T10:00:00":{ "player1":[ {"gid":"KYS-H5-99997","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, {"gid":"KYS-H5-99997","rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} ] } } Page 38 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Query with group_by = 1 Http Method: GET { "2022-02-28T17:00:00":{ "player1": {"rnd":20,"bet":900,"win":900,"bn":0,"gb":0,"jp":0,"jc":0}, "player2": {"rnd":20,"bet":800,"win":800,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29T10:00:00":{ "player1": {"rnd":20,"bet":900,"win":900,"bn":0,"gb":0,"jp":0,"jc":0}, "player2": {"rnd":20,"bet":800,"win":800,"bn":0,"gb":0,"jp":0,"jc":0} } } Query with group_by = 2 Http Method: GET { "2022-02-28T17:00:00":{ "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} }, "2022-02-29T10:00:00":{ "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":400,"win":400,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":300,"win":300,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0}, "KYS-H5-99997":{"rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"gt":"SLOT","jc":0} } } Query with group_by = 3 Http Method: GET { "2022-02-28T17:00:00":{ "HOST-NAME-A":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29T10:00:00":{ "HOST-NAME-A":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} } } Query with group_by = 4 Http Method: GET { Page 39 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 "2022-02-28T17:00:00":{ "SLOT":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} }, "2022-02-29T10:00:00":{ "SLOT":{"rnd":40,"bet":1700,"win":1700,"bn":0,"gb":0,"jp":0,"jc":0} } } Query with group_by = 5 Http Method: GET { "2022-02-28T17:00:00":{ "player1":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ], "player2":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ] }, "2022-02-29T10:00:00":{ "player1":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ], "player2":[ {"gt":"SLOT","rnd":10,"bet":500,"win":500,"bn":0,"gb":0,"jp":0,"jc":0} ] } } Page 40 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 14. Kick Out (Host5G) In order to operate the APIs, please inform the customer support ahead to help you with the additional set up of the whitelist. 5G provides this function to kick players out of the games. Request Name Type Description host_id string Unique ID of Host System (provided by 5G) member_id string Optional. Unique ID of the player (Max. 64 characters) game_id string Optional. Unique ID of 5G Games (Max. 64 characters) Example Http Method: GET https://{5G-API-SERVER}/admin/kickout/?host_id=a62b545a3c56ec719257e82d60dbc518 Response Name Type Description status_code int Possible values are described below: Code Description 0 Success 40 Invalid Host ID 605 No player online Response Example Http Method: GET { "status_code": 0 } Page 41 of 42
5G Gaming System - Seamless Wallet Integration Service API ver. 25072401 Appendix Support Languages Language Description en-US English zh-CN Chinese Simplified th-TH Thai Thailand id-ID Indonesian Indonesia vi-VN Vietnamese Vietnam po-BR Portugal hi-IN Hindi India es-ES Spanish ja-JP Japanese Japan ko-KR Korean Korea tr-TR Turkish bn-BD Bengali Bangladesh Page 42 of 42