Overview
In this guide, you will walk through the steps to set up a simple membership fee and reward program. The scenario will be offering two tiers of membership to customers. The first tier charges a 10 monthly fee but gives the customer cash back on certain types of purchases.Comparison with Transaction Fees
As this feature is for Fintech defined fees and rewards, it is distinct from fees that are charged as part of a transaction. For example, credit card interchange and currency conversion fees are part of thecard
transaction data, not a separate fee
transaction.
Prerequisites
- You have created customers, either personal or business
- You have created accounts for these customers.
- Internal accounts have been created based on how you want to group your fee and reward transactions. During the beta phase, please ask Synctera Operations to create these.
Important Note!
All fees charged must be clearly disclosed in the initial customer account agreement in a manner consistent with federal law. Prior to changing any fee structure, please consult with Synctera’s compliance team as well as your Sponsor Bank.Creating Fee and Reward Templates
Create a Fee Template
First, create a fee template for the $5 monthly fee. To do this, use the Create Fee Template endpoint.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:
Create a Reward Template
Next, create a reward template for cash back on purchases. To do this, use the Create Reward Template endpoint.- Setting Up Webhooks
- You will need to register a webhook to listen for specific transaction events. These events can notify your system when a transaction occurs, such as
TRANSACTION.POSTED.CREATED
(such as a successful card purchase) orEXTERNAL_CARD_TRANSFER.CREATED
(money transferred from an external source). - For details on how to register webhooks, refer to the webhooks documentation.
- Understanding the Webhook Payload
- When a
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:
- Calculating Rewards/Fees
- Based on your program’s rules, calculate the amount of reward or fee to be applied. For example, if your program offers a 5% reward on transactions, you would calculate the reward amount as follows:
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)
- Applying Rewards/Fees
- Once you have the account ID (from the payload) and the calculated reward/fee amount, follow the instructions listed below to apply the reward to a designated reward template.
Apply Fees and Rewards to Accounts
Now that you have created fee and reward templates, you can apply them to customer accounts. To do this, use the Create Fee and Create Reward endpoints. To create the fees, use requests like this:Viewing Applied Fees and Rewards
To query what fees and rewards have been applied, use the List Fees and List Rewards endpoints. Fees and rewards also can also be seen in the transactions list: use the List Posted Transactions endpoint with a transaction type offee
or reward
.