PlaySuper LogoPlaySuper
API ReferenceSwaggerPlayer

Fetch order by id for the authenticated player

GET
/player/orders/{orderId}
AuthorizationBearer <token>

In: header

Path Parameters

orderIdstring

Query Parameters

api-version?string

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/string?api-version=string" \  -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"
      }
    }
  ]
}