Game Products

To retrieve all game's products

Endpoint:/v1/game/<GameId>/products

Method:GET

Request Header

Param
Type
Required
Description

Authorization

string

yes

<AppSecret>

Timestamp

string

yes

timestamp

Signature

string

yes

Merchant private key to generate signature

Sample Get

curl https://openapi.gameleme.com/v1/game/<gameId>/products
--header "Authorization: <AppSecret>" \
--header "Content-Type: application/json" \
--header "Timestamp: <Timestamp>" \
--header "Signature: <Signature>" \
-X GET

Sample Response

{
  "status": "success",
  "code": 200,
  "data": [
    {
      "id": 1637524,
      "gameId": 1450015065,
      "name": "60 UnknownCash",
      "cover": "https://assets.gameleme.com/images/product/a4d088f76964c0577f26e0ffb483cea9.png",
      "displayPrice": "0.99",
      "displayCurrency": "USD",
      "salePrice": "0.72",
      "saleCurrency": "USD",
      "productType": "GameCoins",
      "stock": 16,
      "disabled": false,
      "giftList": [
        {
          "icon": "https://cdn.midasbuy.com/images/uc-small.bc30c95b.png",
          "name": "UC",
          "coinsNum": 1,
          "quantity": 0,
          "description": "",
          "productType": "GameCoins",
          "midasProductId": "MP_DEFAULT_MOBILE_COIN"
        }
      ],
      "bundleItems": []
    }

Last updated