Gameball Developers Guide
v3.0
v3.0
  • Introduction
  • What's New in V3.0
  • Installing Gameball
    • Web
      • Show Gameball Customer Widget
      • Track Customer Events
      • Track Orders & Cashback Reward
      • Integrate Redemption
      • Track Referrals
      • Go-Live Checklist
    • iOS
      • Getting Started
      • Initialize Gameball Customer Profile
      • Track Customer Events
      • Track Orders & Cashback Reward
      • Integrate Redemption
      • Track Referrals
      • Push Notifications
      • Go-Live Checklist
    • Android
      • Getting Started
      • Initialize Gameball SDK
      • Initialize Gameball Customer Profile
      • Track Customer Events
      • Track Referrals
      • Push Notifications
      • Go-Live Checklist
    • React Native
      • Getting Started
      • Initialize Gameball Customer Profile
      • Track Customer Events
      • Track Orders & Cashback Reward
      • Integrate Redemption
      • Track Referrals
      • Push Notifications
      • Go-Live Checklist
      • Migration from v1 to v2
    • Flutter
      • Getting Started
      • Initialize Gameball SDK
      • Initialize Gameball Customer Profile
      • Track Customer Events
      • Track Referrals
      • Go-Live Checklist
    • Generic Mobile App
      • Initialize Gameball Customer Profile
      • Track Customer Events
      • Track Orders & Cashback Reward
      • Integrate Redemption
      • Track Referrals
      • Push Notifications
    • Retail & Modern POS
      • Initialize Gameball Customer Profile
      • Track Orders & Cashback Reward
      • Track Refunds
      • Enable Redemption
        • Prepare POS for Redemption
        • Using Virtual ID
          • Using Virtual Card
  • REST API
    • Overview
      • Server-Side SDKs
    • Authentication
    • API Reference
      • Customer
      • Event
      • Transactions
      • Order
      • Coupons
      • Leaderboard 👑
      • Notifications 👑
      • Configurations 👑
      • Batches 👑
        • Batch Operations Data
      • OTP
      • Partner 🤝
        • Client 🤝
        • Redemption Rule 🤝
        • Cashback Rule 🤝
    • Webhooks
      • Notifications Webhook
      • Customer Profile Webhook
    • Errors
    • Object Reference
  • Tutorials
    • Build Custom UI Elements 👑
      • Display Reward Campaign Progress
      • Show VIP Tiers
      • Show Customer Points Balance
      • Build Leaderboards
      • Show Notifications Inbox
      • Adapt UI to Configurations
      • Advanced UI Techniques
        • Increase Sales with Cashback UI Elements
        • Derive Engagement with Rewards Campaigns UI Elements
    • Tracking Customer Events
    • Build your Own Notification System
    • Checkout Integration Example
    • Redemption Integration Options
      • Redeem with coupon system
        • Integrate your coupon system
          • Example using e-commerce platform(WooCommerce)
          • Example using a custom coupon system
        • Build couponing experience
          • Using Gameball widget
          • Build custom experience
            • Showing customers available points
            • Allowing customers to create coupons
            • Apply the discount code to your cart
        • Coupon integration reference
      • Redeem with direct debt
        • Get customers points balance
        • Redeem customer points
  • Third Party Integrations
    • Segment Integration
Powered by GitBook
On this page
  1. Installing Gameball
  2. Retail & Modern POS

Track Refunds

PreviousTrack Orders & Cashback RewardNextEnable Redemption

Last updated 1 year ago

After successfully sending orders to Gameball using the Order API. You need to get refund tracking in place. Refund tracking is a crucial aspect of the whole integration roadmap, as it allows businesses to ensure that their rewards and incentives are fair and accurate. By monitoring refunds, businesses can improve customer experience, prevent fraud, and ensure that they are not losing money due to excessive refunds. Gameball's Refund API provides businesses with a powerful tool to manage refunds and track customer activity, helping them to build strong and loyal customer relationships.

The supports both full and partial refunds, allowing businesses to refund the entire amount or only a portion of the order. This can be useful if a customer wants to return only one item from their order, or if they want a partial refund for another reason.

should be executed whenever a refund occurs at the POS side. The accepts the original order\transaction id and the current refund transaction id from the POS system.

The below sample payload issues a full amount refund for the example order we made.

{
  "playerUniqueId":"id123",
  "transactionId":"6253e03b",
  "reverseTransactionId":"6253e03b_1",
  "transactionTime":"2019-09-19T11:14:09.895Z",
  "amount": null
}

If we want to do a partial refund, the below payload return a partial amount of the order (one item)

{
  "playerUniqueId":"id123",
  "transactionId":"6253e03b",
  "reverseTransactionId":"6253e03b_1",
  "transactionTime":"2019-09-19T11:14:09.895Z",
  "amount": 45
}

The Refund API also supports account merge and merchant features.

Refund API
Refund API
Refund API