Skip to main content
Version: 3.x

TRReward

The reward object the SDK returns when a user earns a reward. It is the same across all platforms (iOS, Android, React Native, and Unity).

Properties

  • transactionIdentifier (String)

    • Unique identifier for the transaction
    • Use this for deduplicating reward callbacks in your app or server-to-server implementation
  • placementTag (String)

    • The placement tag where the reward was earned
  • placementIdentifier (String)

    • The placement identifier where the reward was earned
  • currencyName (String)

    • Name of the rewarded currency
    • Note: This is the "Currency Name" from the dashboard, not the "Display Name"
  • payoutEventType (String)

    • Type of payout event. Possible values:
      • profile_reward — User completed the profiling flow
      • partial_payout — User started a survey but was disqualified
      • full_payout — User successfully completed a survey
  • rewardAmount (Int)

    • Amount of currency rewarded (in your app's currency)