PlaySuper LogoPlaySuper
API ReferenceSwaggerPlayer

Fetch orders for the authenticated player

GET
/player/orders
AuthorizationBearer <token>

In: header

Query Parameters

rewardId?string

Reward ID

api-version?string
limit?number

Items per page (default: 10)

page?number

Page number (default: 1)

Header Parameters

x-api-version?string

API Version

x-languagestring

Language code

x-game-uuid?string

Game UUID

x-api-keystring

Game API Key

Response Body

curl -X GET "https://api.playsuper.club/player/orders?rewardId=string&api-version=string&limit=0&page=0" \  -H "x-api-version: string" \  -H "x-language: string" \  -H "x-game-uuid: string" \  -H "x-api-key: string"
{
  "orders": [
    {
      "id": "string",
      "orderType": "string",
      "status": "string",
      "totalAmount": 0,
      "createdAt": "2019-08-24T14:15:22Z",
      "couponCode": "string",
      "pin": "1234",
      "campaignName": "string",
      "transactionId": "string",
      "rewardId": "string",
      "metadata": {
        "brandName": "string",
        "howToRedeem": "string",
        "brandCategory": [
          "string"
        ],
        "campaignTitle": "string",
        "campaignDetails": "string",
        "campaignSubTitle": "string",
        "couponExpiryDateExists": true,
        "couponExpiryDate": "2019-08-24T14:15:22Z",
        "campaignCoverImage": "string",
        "termsAndConditions": "string",
        "brandRedirectionLink": "string",
        "brandLogoImage": "string",
        "discountOffPercentage": "string",
        "denomination": "string"
      }
    }
  ]
}