PAR Games: How to Set Up a Game

PAR Games is available for an additional cost. To learn more about PAR Games, speak to your Punchh representative.

Overview

Games can be created on the PAR Games dashboard. There are many different configuration options and deployment methods that can be utilized to gift specific prizes or target certain demographics. These configurations and deployment methods control the gameplay and how the game is accessed.

Ways Guests Can Access Games

PAR Games is a web-based application. Games can be launched via a link through multiple channels, depending on brand goals, user context, and desired reach.

  • Email
  • SMS
  • Push Notification
  • QR Code (In-store)
  • Mobile App
  • Web Banner / Microsite

PAR Games is a web-based interface; therefore, an app update is NOT required to display new games.

Game URL Distribution

There are three (3) main methods to distribute a game to guests. The link type you choose and create in the PAR Games dashboard can be added to your Punchh campaign for distribution.

  1. Direct Game URL: Generic link that requires an email to verify a membership.
    1. Non-loyalty members can play the game
    2. Good for data collection and acquisition
  2. Dynamic JWT: Unique link with encrypted auto-validated guest_id.
    1. Enables instant play and rewards
    2. Faster, secure, and more reliable
    3. Best for member-only campaigns
  3. Requested URL: Unique link for each player is generated when called.
    1. Enables fast and secure play and reward distribution
    2. Best for distribution with third-party integrations outside of Punchh

How To Set Up a Game From Start to Finish

In this guide, we’ll walk through the steps required to set up a game between the Punchh platform and the PAR Games dashboard. We’ll go through the Dynamic JWT and Requested URL approaches for game distribution.

Prerequisites:

  • Permission to create redeemables in the Punchh platform
  • Permission to create a game in the PAR Games dashboard
  • Have a Generic Gifting Webhook enabled for your brand. The first Generic Gifting Webhook will be created by Punchh. Contact your Punchh representative with questions.

Step 1: Create a Redeemable in Punchh

Create a redeemable(s) in Punchh. This will be the reward your guests receive for playing and/or winning the game.

Take note of the redeemable ID. The ID will need to be entered later in the PAR Games dashboard. To find the redeemable ID:

  1. Click the redeemable name in the All Redeemables list.
  2. Copy the redeemable ID found in the redeemables URL. 

Step 2: Set Up the Game in the PAR Games Dashboard

  1. In the Punchh platform, navigate to Custom > Games.
  2. Click Open Games Dashboard.
  3. Once in the PAR Games dashboard, click + New Campaign in the right corner.
  4. Enter a name for your game.
  5. Select the game category and type (ex: Spin Wheel, Random Win Level (0-10)).  
  6. Click Create.

Configure Prizes

  1. Navigate to Prize Options > Prize Control and Odds Setup. You can configure up to 4 or 10 prize levels depending on the game chosen.
  2. Prize Level 0 indicates a loss.
    1. If you wish to gift in the event of a loss, enter the redeemable_id we stored in Step 1 into the Description field.
    2. Leave blank to not reward the guest in the event of a loss.
  3. Prize Level 1 and up indicate the guest has won.    
    1. In the Description field, enter the redeemable_id we stored in Step 1. The generic webhook will use this field to determine which reward to gift if the player wins.
    2. Max Odds Prizes: This is the total number of rewards you want to gift through the game.
    3. Prcnt %: This is the weight of each reward. The sum of percent weight should be 100%. (If you are only gifting one redeemable, you will enter 100% here.) Note that the total cannot exceed 100%. If the total is less than 100%, the remainder will be considered a loss.
  4. Click Save Prize Changes at the bottom of the page. 

Many games will gift a redeemable for a successful game play. However, you can also gift points and currency (depending on your current loyalty structure). Refer to PAR Games: Configuring Prizes for information on configuring different types of prizes.

Configure Play Controls

  1. Select Play Control in the left navigation.
  2. Set your campaign duration and any limitations on the number of plays or wins.
    1. Repeat Play: This controls whether a URL/playcode can be used more than once.
    2. Campaign Duration: This controls the timeframe that guests can access and play the game.
    3. Play Limits: This controls the number of times a guest can play the game.
    4. Play Tracking: This determines how plays are tracked for limits. Set this to Account ID Parameter.
    5. Win Limits: This controls the number of times a guest can win the game.
      1. Win Limit Type: The timeframe the Win Limit applies to.
      2. Max Wins per Participant: The number of wins allowed within the Win Limit Type.

Add Creative

  1. To customize your game with your branding and images, select Creative in the left navigation. 
  2. Each graphic within the game has a designated file name. Download the Zipped Source file with the generic images.
  3. Create a folder with your designed images, using the file names from the Zipped Source file. This allows the images to be placed in the appropriate sections of the game.
  4. Click Upload Content to upload your images.
     
  5. Your branded game will appear in the preview window. You may have to refresh the page.

Expand Your Creative With Promo Icons

You'll notice in the image above that the branded images are expanded below what's shown in the preview window. If your creative is larger than the basic game window, you can add promo icons to show the full images.

  1. Navigate to Summary > Game Template.
  2. In the Promotion Icons drop-down menu, select the number of icons you want to display. (4+ select Show All Promo Icons.) 
  3. Navigate back to Creative in the left side menu.
  4. Upload your promo icon images using the following naming convention: promoicon01, promoicon02, promoicon03, etc. 
  1. The expanded images will now appear in your game.

Step 3: Attach the Generic Webhook

  1. Navigate to Webhook Triggers in the left side panel.
  2. Click + Add Trigger.
  3. Enter a name for the trigger in the Webhook Trigger Name field. 
  4. Enable Webhook Trigger by Winlevel: Click the checkbox and enable this.
  5. Selected Exit Levels will be highlighted: All levels are selected by default; deselect any levels that do not result in the player winning a redeemable.
  6. Trigger: Set this to Player Completes Game.
  7. Webhooks: Select the generic webhook that was previously created. Contact your Punchh representative for the webhook name if you do not already have it.
    1. Make sure the generic webhook selected works for the deployment method you will be using. Contact your Punchh representative with any questions.
  8. Click Save API Changes.

This webhook will call the support gifting API to automatically credit the reward to the guest’s loyalty account whenever they win. For more information on creating and adding different types of webhooks, refer to the PAR Games: Webhooks Overview and PAR Games: Adding Webhooks articles.

Step 4: Game Deployment and Testing

Which deployment method you use depends on how you plan to distribute your game to guests. For games being deployed via Punchh campaigns, it is recommended to use a Dynamic JWT URL (also called Dynamic Tokens URL). For games with registration forms or deployed through SMS or third-party messaging platforms, such as Braze, it is recommended to use a Requested URL. Contact your Punchh representative to discuss which deployment method is right for your game.

Refer to the pages below for information on configuring your deployment method:

Managing Game URLs

Game URLs can be stored and managed directly in the Punchh platform on the Games page. This allows you to easily find your game URL to add to your Punchh campaign and allows games to be displayed in the mobile app. Currently, only Direct URLs and Dynamic Token URLs can be added here.

The information configured when adding a game URL is used by the Fetch Games API to display the game in the mobile and web application. If the description or cover image is not provided, then it will not appear in the mobile app. For more information, refer to the Fetch Games API documentation in the PAR Developer Portal.

Add a Game URL

  1. Navigate to Custom > Games.

  2. Click Add Game URL in the top right corner. 

  3. Fill in the following fields:

    1. Name: Name of the game or campaign associated with the URL.
    2. Description (optional): Short description of the game or any notes necessary.
    3. URL: The game link. This can be found at the top of the Summary page in the PAR Games dashboard. For Dynamic Token URLs, refer to Getting the Game URL for information on link formatting.
    4. Status: Select Active or Inactive. Only games set to Active will be visible to users.
    5. Channel: Select the channel the game is distributed through: Mobile / Web / Mobile and Web.
      1. If Mobile and Web is selected but only one channel is configured, the game will only be visible for the configured channel. Only use Mobile and Web if both channels are properly configured.
    6. Game Cover Image (optional): Only used if Channel is set to Mobile or Mobile and Web. Sets the cover image displayed with the game in the mobile app.
      1. Must be in PNG or JPG format and up to 5MB.
  4. Click Save.

  5. The Game URL list displays all added game links.