Skip to main content

GAP — Integrating Yuvi Games (Mini Games)

Launching Yuvi Games Mini Lobby

This section contains API requests required to enable the Yuvi Games Mini Lobby on an operator's mobile user portal. The requests will help retrieve and integrate the mini game lobby URL from GAP.

Key Features

  • Retrieves the mini game lobby URL from GAP
  • Uses predefined parameters for seamless integration
  • Ensures smooth embedding of the Yuvi Games mini lobby

Included Files for Implementation

Endpoints Included

  • Retrieve Mini Lobby URL – Fetches the mini lobby URL for embedding
  • Validate Integration – Ensures the retrieved URL is valid and accessible
  • Styling & UI Updates – Supports custom styling for seamless integration

Prerequisites

  • API access credentials from GAP
  • Implementation of iframe embedding in the mobile user portal
  • Handling of authentication and session management

Sample Request

Use the standard operator/login endpoint with providerName: "RG" and the Yuvi game ID.

curl --location 'https://dev-api.dreamdelhi.com/api/operator/login' \
--header 'Signature: byMYoU1abC/86EVvEbwNtumfgZnlbGaAwbeJ3qu668RCZRnkFv8B3fCRAzM9rDnDdjommrhK0B3BVmbpdCv6UzyY1avfxE2lbihvrF/LMkY4oKOyL8IJuGBbSLgzpI+hKYzcb+qD/En9ZAH0V4gNXh6RqI/XIgfWhB55zF9pBs4=' \
--header 'Content-Type: application/json' \
--data '{
"operatorId": "xyz",
"providerName": "RG",
"gameId": "902000",
"userId": "30148",
"username": "xyz",
"platformId": "desktop",
"lobby": false,
"clientIp": "13.41.207.164",
"currency": "INR",
"balance": 949.38,
"redirectUrl": "https://xyz.com"
}'

Example Response (200 OK)

{
"userId": "30148",
"token": "f6699475-d720-496e-8afb-45b561bd32b8",
"url": "https://stage-minigame.royaladmin.live?token=85ba54ba-cd21-4ff7-a288-5f9ff0832e47&operatorId=xyz&userName=xyz&partnerId=GAPINR&providerId=RGONLINE&mlobby=true&theme=DARK&view=CLASSIC&lobbyType=LIVE:VIRTUAL",
"providerId": "xyz",
"providerName": "",
"status": 0,
"errorDescripion": "Completed successfully"
}