Fees and Rewards are a mechanism for debiting and crediting customer accounts based on your service charges and rewards programs. Templates are used to specify the type of fee or reward, and to set default values, e.g. an amount or description. Designed for flexibility, you can choose which internal account is used by each template, allowing granular management of your fees and rewards programs.
card
transaction data, not a separate fee
transaction.
id
field, you will need this later when creating the fees.
A Tier 2 template can be created using a similar request, but setting the amount to $10, and a different description:
TRANSACTION.POSTED.CREATED
(such as a successful card purchase) or EXTERNAL_CARD_TRANSFER.CREATED
(money transferred from an external source).TRANSACTION.POSTED.CREATED
event occurs, your system will receive a notification with details about the transaction. Here’s an example of a payload for a card purchase webhook event:Reward amount = Transaction amount (in cents) x Reward percentage
In the example above, the transaction amount is 1868 cents and the reward percentage is 5%. Therefore, the reward amount would be: Reward amount = 1868 cents x 0.05 = 93.4 cents (rounded down to 93 cents)
fee
or reward
.