> ## 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 Cashback?

> Notify your customers upon a cashback transaction using Gameball's real-time notifications.

Available for all Gameball customers except for free packages

When a customer earns points for completing a purchase, they might earn some points back as cashback. It is important to notify your customers instantaneously with a message that informs them of the amount of points they have received for that transaction.

The same applies in case points were revoked for a cancellation or a refund. Inform the customer of the canceled cashback points and let them know their current points balance.

***

## How to Create Real-Time Notifications for Cashback

<Steps>
  <Step title="Navigate to Cashback Notifications">
    In the **Gameball Admin Dashboard**, from the left bar, click **Notifications**. Choose between **In-App, Emails, & SMS**. Scroll to **Cashback** and select between **Cashback Rewards** or **Cashback Cancelled**.

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/cashback-navigation.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=cc9ad96ca3f1cb28b2e67032f7379c9b" alt="Cashback notifications navigation" width="3080" height="1672" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/cashback-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 cashback notification type:

    <AccordionGroup>
      <Accordion title="Cashback Reward Message" icon="money-bill-wave">
        Send real-time transaction notifications for every cashback transaction. Inform your customer how many points they have earned just after they have completed a purchase, along with their current points balance.
      </Accordion>

      <Accordion title="Cashback Cancelled" icon="circle-xmark">
        Send a real-time notification to your customers upon canceling a purchase. If the points earned for a specific purchase have been revoked for any reason, inform them of how many points have been taken back and what their current points balance is.
      </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.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=1ec522c1477f6f05ed9e1051c0b13b3c" alt="Script variables" width="2500" height="1180" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/script-variables.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, Level Up total progress.
    * **Transaction Variables:** Equivalent value of total points, Equivalent value of earned points, Currency, Points Name, Referral Link, Mobile Referral Link, Paid Amount, Merchant Name, Branch Name, Return Days, Available Points, Pending Points.
  </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.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=f36aaf52105b81758a10df87cfa4fc4a" alt="Preview notification" width="2010" height="844" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/preview-notification.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.png?fit=max&auto=format&n=0izDrUbnPHPlIUcS&q=85&s=b309b71e75bdd503f4ef05f4b3a939b3" alt="Upload icon dialog" width="2538" height="1494" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/upload-icon-dialog.png" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/gameball/7dwj4uKg5t78O1BR/images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=68e28aaf3e2aab6e48c0becdbef041ce" alt="Notification icon preview" width="1133" height="650" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/notification-icon-preview.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.png?fit=max&auto=format&n=7dwj4uKg5t78O1BR&q=85&s=72f973055f4f186c36e1a0a119c7c13b" alt="Active toggle" width="2458" height="1026" data-path="images/product-docs/instant-notifications/real-time-notifications-per-program/active-toggle.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 Transactional Rewards" icon="coins" href="/product-documentation/instant-notifications/real-time-notifications-per-program/transactional-rewards-notifications">
    Notify customers about points redemption, refunds, and expiry events.
  </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>
