GAP Transfer Wallet — Game API
These APIs are called by the Operator to GAP's server for the Transfer Wallet model.
POST v1/auth/login
Auth Login: POST /api/v1/auth/login
To get authenticated with Games system and get the active session for the Transfer Wallet model. Parameter should be in JSON format.
- Request URL:
https://dev-api.dreamdelhi.com/api/v1/auth/login[POST] - Content-Type:
application/json - Signature:
byMYoU1abC/86EVvEbwNtumfgZnlbGaAwbeJ3qu668RCZRnkFv8B3fCRAzM9rDnDdjommrhK0B3BVmbpdCv6UzyY1avfxE2lbihvrF/LMkY4oKOyL8IJuGBbSLgzpI+hKYzcb+qD/En9ZAH0V4gNXh6RqI/XIgfWhB55zF9pBs4=
Request
| Parameter | Type | Enforce | Description |
|---|---|---|---|
| operatorId | String | Yes | operatorId of the operator |
| userId | String | Yes | User unique ID in operator system |
| providerName | String | Yes | Provider name |
| platformId | String | Yes | DESKTOP |
| currency | String | Yes | Currency of the user: USD/HKD/INR |
| clientIp | String | Yes | Ip address of the client |
| username | String | Yes | User friendly name |
| lobby | Boolean | Yes | If it is lobby or not |
| gameId | String | Yes | Game id of the game |
| balance | Float64 | Yes | Current User Balance |
| redirectUrl | String | No | Redirect URL |
| subOperatorId | String | No | Sub Operator Id |
| partnerId | String | Yes | Partner ID |
Example: Sample Object of the data
{
OperatorId string `json:"operatorId"`
UserId string `json:"userId"`
ProviderName string `json:"providerName"`
PlatformId string `json:"platformId"`
Currency string `json:"currency"`
ClientIp string `json:"clientIp"`
Username string `json:"username"`
Lobby bool `json:"lobby"`
GameId string `json:"gameId"`
Balance float64 `json:"balance"`
RedirectUrl string `json:"redirectUrl"`
SubOperatorId string `json:"subOperatorId"`
PartnerId string `json:"partnerId"`
}
Response
| Parameter | Type | Enforce | Description |
|---|---|---|---|
| userId | String | Yes | User unique ID |
| token | String | Yes | Token created for session |
| url | String | Yes | Redirected URL to access game UI |
| providerId | String | Yes | Provider ID |
| providerName | String | Yes | Provider name |
| status | String/Int | Yes | Response Status |
| errorDescription | String | Yes | Error message |
Example: Sample Object of the data
{
UserId string `json:"userId"`
OperatorToken string `json:"token"`
Url string `json:"url"`
ProviderId string `json:"providerId"`
ProviderName string `json:"providerName"`
Status string `json:"status"`
ErrorDescription string `json:"errorDescription"`
}