Skip to main content

Get store config

GET v1/player/store_configs
  • Authorization: Bearer <JWT_TOKEN>
  • Content-Type: application/json
  • X-Tenant-ID: <Tenant_ID>
  • X-Game-Id: <Game Id>
  • X-Player-Id: <Player ID>
Note: Pass Tenant ID, Game ID and Player Id in header for now

Sample Response

{
  "activeSkus": [
    {
      "skuId": "starter_pack",
      "name": "Starter Pack",
      "description": "Perfect for new players",
      "actualPrice": 0.99,
      "offerPrice": 0.99,
      "currency": "USD",
      "assets": [],
      "active": true
    },
    {
      "skuId": "remove_ads",
      "name": "Remove Ads",
      "description": "Removes all advertisements",
      "actualPrice": 2.99,
      "offerPrice": 2.99,
      "currency": "USD",
      "assets": [],
      "active": true
    },
    {
      "skuId": "premium_currency_small",
      "name": "Premium Currency (Small)",
      "description": "100 premium coins",
      "actualPrice": 4.99,
      "offerPrice": 4.99,
      "currency": "USD",
      "assets": [],
      "active": true
    }
  ],
  "lastUpdatedTimestamp": 0,
  "userSpecificPromoId": null,
  "fallbackConfig": null
}

Curl

curl -X GET "https://api.gameramp.com/v1/player/store_configs" \
  -H "Authorization: Bearer <JWT_TOKEN>" \
  -H "X-Tenant-Id: your-studio-id" \
  -H "X-Game-Id: your-game-id" \
  -H "X-Player-Id: your-player-id"
Response:
{"activeSkus":[{"skuId":"starter_pack","name":"Starter Pack","description":"Perfect for new players","actualPrice":0.99,"offerPrice":0.99,"currency":"USD","assets":[],"active":true},{"skuId":"remove_ads","name":"Remove Ads","description":"Removes all advertisements","actualPrice":2.99,"offerPrice":2.99,"currency":"USD","assets":[],"active":true},{"skuId":"premium_currency_small","name":"Premium Currency (Small)","description":"100 premium coins","actualPrice":4.99,"offerPrice":4.99,"currency":"USD","assets":[],"active":true}],"lastUpdatedTimestamp":0,"userSpecificPromoId":null,"fallbackConfig":null}