Skip to main content

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

ParameterTypeEnforceDescription
operatorIdStringYesoperatorId of the operator
userIdStringYesUser unique ID in operator system
providerNameStringYesProvider name
platformIdStringYesDESKTOP
currencyStringYesCurrency of the user: USD/HKD/INR
clientIpStringYesIp address of the client
usernameStringYesUser friendly name
lobbyBooleanYesIf it is lobby or not
gameIdStringYesGame id of the game
balanceFloat64YesCurrent User Balance
redirectUrlStringNoRedirect URL
subOperatorIdStringNoSub Operator Id
partnerIdStringYesPartner 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

ParameterTypeEnforceDescription
userIdStringYesUser unique ID
tokenStringYesToken created for session
urlStringYesRedirected URL to access game UI
providerIdStringYesProvider ID
providerNameStringYesProvider name
statusString/IntYesResponse Status
errorDescriptionStringYesError 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"`
}