> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Send Real-Time Notifications for Transactional Rewards?

> Notify your customers upon Points redemption, refund, expiry, or coupon expiry using Gameball's real-time notifications.

Available for all Gameball customers except for free packages

When a customer redeems points or has some points refunded, or when points or coupons are soon to expire, you will need to inform your customer how many points were redeemed, refunded, or about to expire, and what their current points balance is.

***

## How to Create Real-Time Notifications for Transactional Rewards

<Steps>
  <Step title="Navigate to Transactional Rewards Notifications">
    In the **Gameball Admin Dashboard**, from the left bar, click **Notifications**. Choose between **In-App, Emails, & SMS**. Scroll to **Rewards** and select between **Points Redemption**, **Points Refund**, **Points Expiry Reminder**, and **Coupon Expiry Reminder**. In case it is an email notification, you can also choose to create a notification for **Coupon Earned**.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/transactional-rewards-navigation.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=8e3b1a34d7dc0fedce19d1159e32cf4a" alt="Transactional rewards navigation" width="3080" height="1668" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/transactional-rewards-navigation.png" />
    </Frame>
  </Step>

  <Step title="Write the Notification Message">
    Construct a heading and a body for the notification. In case you are creating an email notification, write a clear subject line and body. [Learn how to write an email notification](/product-documentation/instant-notifications/email-notifications/sending-achievement-emails).
  </Step>

  <Step title="Configure the Notification Script">
    Add your message script for each transactional rewards notification type:

    <AccordionGroup>
      <Accordion title="Points Redemption Message" icon="coins">
        Send real-time transaction notifications for any points redeemed by a customer. Inform your customer how many points they have redeemed, and their current points balance.
      </Accordion>

      <Accordion title="Points Refund Message" icon="rotate-left">
        Send a real-time notification to your customers upon a points refund. If the points are deducted for a specific reason, make sure to inform them of how many points have been taken back and what their current points balance is.
      </Accordion>

      <Accordion title="Coupon Expiry Reminder" icon="clock">
        Send a real-time notification to your customers if a group of points is soon to expire. Inform them of the number of points that might expire as well as the date they will no longer be available.
      </Accordion>

      <Accordion title="Coupon Earned (Email Only)" icon="ticket">
        Available only under **email notifications**. Send a real-time notification to your customers if a coupon is soon to expire. Inform them of the exact available coupon that might expire as well as the date it will no longer be available.
      </Accordion>
    </AccordionGroup>
  </Step>

  <Step title="Add Script Variables">
    To send more personalized, relevant, and clear notifications, add variables in between your messages by clicking the **+ icon**.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/script-variables-transactional.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=efc6849d76bd354c4e944588e9881e38" alt="Script variables" width="2500" height="1180" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/script-variables-transactional.png" />
    </Frame>

    You can use variables in the scripts like the ones below:

    * **Customer Variables:** First Name, Display Name, Customer's Email, Referral Link, Mobile Referral Link, Points Earned, Tier-up Progress, Points, Points Before, Tier Up total progress.
    * **Transaction Variables:** Equivalent value of total points, Equivalent value of earned points, Redeemed Points, Expiry Date, Currency, Points Name, Referral Link, Mobile Referral Link.
  </Step>

  <Step title="Preview and Update Notification Icon">
    Before activating the notification, click **Preview** on the top right of the edit page to see what the notification will look like for customers.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/preview-notification-transactional.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=2a84ae4edc70e4e684842fc14db6980b" alt="Preview notification" width="2010" height="844" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/preview-notification-transactional.png" />
    </Frame>

    You can edit the notification icon by choosing **Upload Icon**, then click **Upload Icon**.

    <Frame>
      <img src="https://mintcdn.com/gameball/0izDrUbnPHPlIUcS/images/product-docs/instant-notifications/real-time-notifications-per-program/upload-icon-dialog-transactional.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=b66d7bc3c29e80274e34d358558c12ed" alt="Upload icon dialog" width="2538" height="1494" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/upload-icon-dialog-transactional.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview-transactional.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=1a7b4ec6f2100a3f9471a617b398d236" alt="Notification icon preview" width="1133" height="650" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview-transactional.png" />
    </Frame>

    Click **Update** from the bottom right.
  </Step>

  <Step title="Activate the Notification">
    Enable or disable the notification through the **Active Toggle**.

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/active-toggle-transactional.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=ea4bf891c0cba6e7a8b1b307ea3abb27" alt="Active toggle" width="2458" height="1026" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/active-toggle-transactional.png" />
    </Frame>

    <Note>
      Do not forget to click on "**Save**" before you exit.
    </Note>
  </Step>
</Steps>

***

## Related Articles

<CardGroup cols={2}>
  <Card title="Send Real-Time Notifications for Tiers" icon="layer-group" href="/product-documentation/instant-notifications/real-time-notifications-per-program/tier-notifications">
    Notify customers when they level up to a new tier in your loyalty program.
  </Card>

  <Card title="Send Real-Time Notifications for Reward Campaigns" icon="trophy" href="/product-documentation/instant-notifications/real-time-notifications-per-program/reward-campaign-notifications">
    Keep customers informed of reward campaign unlocks, progress, and achievements.
  </Card>

  <Card title="Send Real-Time Notifications for Referrals" icon="people-arrows" href="/product-documentation/instant-notifications/real-time-notifications-per-program/referral-notifications">
    Alert customers when a referral is successful or when a referral reward is earned.
  </Card>

  <Card title="Send Real-Time Notifications for Cashback" icon="money-bill-wave" href="/product-documentation/instant-notifications/real-time-notifications-per-program/cashback-notifications">
    Notify customers of cashback rewards earned or canceled for their transactions.
  </Card>

  <Card title="Sending Customers Emails Celebrating Achievements" icon="envelope" href="/product-documentation/instant-notifications/email-notifications/sending-achievement-emails">
    Send achievement emails to drive customers back to your platform.
  </Card>
</CardGroup>
