Skip to main content
Add rewardUnit field

rewardUnit field added

Added the rewardUnit field to the transactionReward.created webhook payload. This field clarifies that rewardAmount is denominated in whole reward points, and is always points. You receive this field only if your tenant is opted in to webhook version 1.1.0 or later; earlier versions never include it.

New Field

Example Payload

initial release

transactionReward.created webhook

Added the transactionReward.created webhook. Rain sends this webhook after a card transaction settles and records the final reward. It carries the awarded points so you can mint the corresponding points to your end user on-chain. Rain sends it only for partner-managed on-chain tenants (PARTNER_ONCHAIN), once per card transaction. Rain does not send it for RAIN_MANAGED or PARTNER_OFFCHAIN tenants, or when a transaction earns zero points.Because the reward is final when the card transaction settles, it is terminal the moment Rain sends this webhook. Rain does not run a later step or emit any follow-up event for the reward, so mint the corresponding points to your end user as soon as you receive it.

Payload Fields

Example Payload