For the most security, our secure transactions use SHA256HMAC
symmetric encryption method,
and Operator will obtain the encryption key from 1G client service
Documentation contains SEAMLESS WALLET
and TRANSFER WALLET
modes .
Andriod :
http://interdownload.info/download/OneGaming.apk
Google Play Store :
https://play.google.com/store/apps/details?id=com.HippoTechnology.IGPoker
IOS App Store :
first install the Testflight app from the App Store
when it's finished installing.
please CLICK this LINK: https://testflight.apple.com/join/s2cJpqor
if an update occurs in the future ...,
please update directly via the testflight application that has been downloaded, -
open the testflight application and please update the ONEGAMING application.
Before the integration, 1G Client Service will provided a secret_key
are use to encrypt by
SHA256 HMAC with concatenate request body as string.
Example :
Key Provided | secret_key
varchar(50)
String to be Encrypt | var content
varchar(50)
agent_code = "IGBO
" , player_id = "CLi3000001
" , username =
"Mikha
"
String to be Encrypt :
After Encrypted | bcode
varchar(50)
Sample 1 : (PHP)show
Sample 2 : (C#)show
Sample 3 : (JAVA)show
To prevend 3rd side lobby request , 1G Server will do a callback verification request to Operator.
The validation request is calling operator's url
+ /igPokerValidation with
GET
method which is
Sample
Operator have to return verify of parameter l_token
is exists.
At the bottom of this page is located glossary of terms and entities which we use in our system and documentation. If you have run into an unknown parameter or need more information about a parameter, please, refer to the glossary for the description, examples, and a list of possible values.
Returns the Landing HTML of lobby.
Parameters
Parameters | Value |
---|---|
agent_code *
required
string |
|
player_id *
required
string |
|
l_token*
required
string |
Session token of player generated by operator ( available in UUID , GUID ) |
bcode*
required
string |
concatenate( |
game_code
string |
Game code |
Responses
Status code | Description |
---|---|
200
|
Example Value
|
200
|
Example Value | Model
|
Returns the url link of lobby. Operator has to forward User to returned URL. There are several ways to forward the User:
1. Embed URL into iframe on your site;
2. Redirect User to URL;
3. Open URL in new window/tab of browser.
Parameters
Parameters | Value |
---|---|
agent_code *
required
string |
|
player_id *
required
string |
|
l_token*
required
string |
Session token of player generated by operator ( available in UUID , GUID ) |
bcode*
required
string |
concatenate( |
game_code
string |
Game code |
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
200
|
Example Value | Model
|
Returns the Landing Mobile version HTML of lobby.
Parameters
Parameters | Value |
---|---|
agent_code *
required
string |
|
player_id *
required
string |
|
l_token*
required
string |
Session token of player generated by operator ( available in UUID , GUID ) |
bcode*
required
string |
concatenate( |
Responses
Status code | Description |
---|---|
200
|
Example Value
|
200
|
Example Value | Model
|
Returns the url link of mobile version lobby. Operator has to forward User to returned URL. There are several ways to forward the User:
1. Embed URL into iframe on your site;
2. Redirect User to URL;
3. Open URL in new window/tab of browser.
Parameters
Parameters | Value |
---|---|
agent_code *
required
string |
|
player_id *
required
string |
|
l_token*
required
string |
Session token of player generated by operator ( available in UUID , GUID ) |
bcode*
required
string |
concatenate( |
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
200
|
Example Value | Model
|
Shows the list of games that are available for the Operator
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Create wallet.
Specifically for traditional wallet mode.
This feature will not be available if Operator chooses to use the seamless wallet mode.
To keeps player's info and credit balance on vendors side.
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Check user's credit balance .
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Deposit credit to user's wallet.
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Withdraw credit from user's wallet.
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Check user's wallet transfer credit records .
Parameters
Name | Description |
---|---|
UG-Data-Signature *
required
string ( header ) |
Encrypted signature |
UG-Agent *
required
string ( header ) |
The agent name are provided from Operator. |
UG-Sub-Agent
string ( header ) |
The sub agent are registered under Operator . |
Request Content *
required
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
400
|
Example Value | Model
|
Request user's credit balance from Operator side .
Parameters
Name | Description |
---|---|
UG-Data-Signature
string ( header ) |
Encrypted signature |
Request Content
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
Request billing bet amount from Operator side .
Parameters
Name | Description |
---|---|
UG-Data-Signature
string ( header ) |
Encrypted signature |
Request Content
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
Send a multiple transactions to Operator side .
Parameters
Name | Description |
---|---|
UG-Data-Signature
string ( header ) |
Encrypted signature |
Request Content
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
Send bet result to Operator side .
if the amount is 0
, its consider LOSE .
Parameters
Name | Description |
---|---|
UG-Data-Signature
string ( header ) |
Encrypted signature |
Request Content
JSON ( body ) |
Example Value | Model
|
Responses
Status code | Description |
---|---|
200
|
Example Value | Model
|
Case happening some game are responded wrong result and requested to rollback.
the network deley issue cause REQUEST_TIMEOUT will triggers rollback too.
Operator need to bill/refund credit from members if the transaction are already charged/payout by this
txn_ticket
.
Parameters
Name | Description |
---|---|
UG-Data-Signature
string ( header ) |
Encrypted signature |
Request Content
JSON ( body ) |
Example 1 Value | Model
Example 2 Value
|
Responses
Status code | Description |
---|---|
200
|
Example 1 Value | Model
Example 2 Value
|
Code | Currency |
---|---|
IDR |
Indonesia Rupiah |
MYR |
Malaysia Ringgit |
VND |
Vietnamese Dong |
CNY |
Chinese Yuan |
THB |
Thai Baht |
USD |
United State Dollar |
PHP |
Philippine Peso |
HKD |
Hong Kong Dollar |
SGD |
Singapore Dollar |
MMK |
Myanmar Kyat |
INR |
Indian Rupee |
BND |
Brunei Dollar |
VND2 ( 1: 1000 ) |
Vietnamese Dong |
category | game id | provider brand | type |
---|---|---|---|
SPORT | 201 |
UG-SportBook | lobby |
SPORT | 202 |
SBO-SportBook | lobby |
SPORT | 203 |
BTI-SportBook | lobby |
SLOT | 301 |
GamePlay | list |
SLOT | 302 |
ISoftBet | list |
SLOT | 303 |
Habanero | list |
SLOT | 304 |
TopTrendGaming | list |
SLOT | 305 |
Joker | list |
SLOT | 306 |
MicroGaming | list |
SLOT | 307 |
SimplePlay | lobby |
LIVECASINO | 401 |
AsiaGaming | lobby |
LIVECASINO | 402 |
SAGaming | lobby |
LIVECASINO | 403 |
GamePlay | lobby |
LIVECASINO | 404 |
MicroGaming | lobby |
LIVECASINO | 405 |
EBET | lobby |
RNG | 501 |
UltimateGaming | list |
RNG | 502 |
Joker | list |
P2P | 601 |
1GPoker | lobby |
FISHING | 701 |
Joker | list |
COCKFIGHT | 801 |
S128 | lobby |
Status Code | Description |
---|---|
OK | Successfully. |
UNKNOWN_ERROR | General error status, for cases without a special error code. |
INVALID_PARTNER | Operator or their sub_partner is disabled or incorrect sub_partner_id is sent. |
INVALID_TOKEN | Token unknown to Operator's system. Please, note that there is a different status for expired tokens. |
INVALID_GAME_ID | Unknown game_id. NOTE: in case of game providers with game lobby (Live Dealers), user can switch games within one game session. We track such changes and send game_id of the game which the user is actually playing at the moment. Note that game_id may change within one game session. |
INVALID_CURRENCY | Transaction currency differs from User's wallet currency. |
INSUFFICIENT_CREDIT | Not enough credit on User's balance to place a bet. Please send the actual balance together with this status. |
USER_DISABLED | User is disabled/locked and can't place bets. |
INVALID_SIGNATURE | Operator couldn't verify signature on request from UG396. |
TOKEN_EXPIRED | Session with specified token has already expired. NOTE: token validity MUST NOT be validated in case of wins and rollbacks, since they might come long after the bets. |
INVALID_SYNTAX | Received request doesn't match expected request form and syntax. |
INVALID_METHOD | The method of submition must be POST . |
INVALID_TYPES | Type of parameters in request doesn't match expected types. |
DUPLICATE_REF_TXN_ID | A transaction with same transaction_uuid was sent, but there was a different amount, currency, round, user or game. |
TXN_DOES_NOT_EXIST | Returned when the bet referenced in win request can't be found on Operator's side (wasn't processed or was rolled back). If you received rollback request and can't find the transaction to roll back. |
TXN_ROLLED_BACK | Operator received rollback request for a transaction which was already rolled back. This status is for cases when the transaction_uuid of the second rollback is different from the initial. If it's same transaction_uuid, then ensure idempotency and respond as you responded initially. |
USER_EXIST | The username are used . |
USER_NOT_EXIST | Username are not exists in wallets system . |
REQUEST_TIMEOUT | The system only proceed request within 10 sec of datetime
from
requested content. Operator must be prevent and beware of request time management before
proceed
request . If Seamless wallets , Operator have to making a good data
trafic struture to
ensure server able to handle callback request within 10 sec . While
REQUEST_TIMEOUT from callback , The System will proceed
TXN_ROLLED_BACK for refunding track. |
variables | descriptions |
---|---|
SPORT | 201 |
SPORT | 202 |
SPORT | 203 |
SLOT | 301 |
SLOT | 302 |
SLOT | 303 |
SLOT | 304 |
SLOT | 305 |
SLOT | 306 |
SLOT | 307 |
LIVECASINO | 401 |
LIVECASINO | 402 |
LIVECASINO | 403 |
LIVECASINO | 404 |
LIVECASINO | 405 |
RNG | 501 |
RNG | 502 |
P2P | 601 |
FISHING | 701 |
COCKFIGHT | 801 |