PlaySuper LogoPlaySuper
API ReferenceSwaggerRewards

Get a reward

GET
/rewards/fetch/{rewardId}
AuthorizationBearer <token>

In: header

Path Parameters

rewardIdstring

Query Parameters

coinIdstring
version?string

Header Parameters

x-api-keystring

Game API Key

x-game-uuid?string

Game UUID

Response Body

curl -X GET "https://api.playsuper.club/rewards/fetch/string?coinId=string&version=string" \  -H "x-api-key: string" \  -H "x-game-uuid: string"
{
  "id": "string",
  "name": "string",
  "description": "string",
  "startDate": "2019-08-24T14:15:22Z",
  "endDate": "2019-08-24T14:15:22Z",
  "price": 0,
  "availableQuantity": 0,
  "brandId": "string",
  "brandName": "string",
  "organizationId": "string",
  "metadata": {
    "brandName": "string",
    "brandCategory": [
      "string"
    ],
    "campaignTitle": "string",
    "campaignSubTitle": "string",
    "campaignCoverImage": "string",
    "campaignAssets": {},
    "campaignDetails": "string",
    "brandLogoImage": "string",
    "termsAndConditions": "string",
    "howToRedeem": "string",
    "brandRedirectionLink": "string",
    "couponExpiryDateExists": true,
    "couponExpiryDate": "2019-08-24T14:15:22Z",
    "denomination": "string",
    "discountOffPercentage": "string"
  },
  "isActive": true
}