Create a reward config
Create a new standalone reward config. Use PATCH /reward_products/ to associate it with a reward product.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
An idempotency key is an arbitrary unique value generated by client to detect subsequent retries of the same request. It is recommended that a UUID or a similar random identifier be used as an idempotency key. A different key must be used for each request, unless it is a retry.
"7d943c51-e4ff-4e57-9558-08cab6b963c7"
Body
Reward config to create
Amount calculation parameters for a fee config. amount_type determines which config field is used.
Human-readable name for this reward rule.
"Grocery Store Cashback"
The category of event that triggers this reward. Trigger-based categories fire when a matching card transaction is posted.
cashback:card:mcc ID of the reward template that provides accounting setup for automated reward posting. Required for trigger-based rewards.
"8b943c51-e4ff-4e57-9558-08cab6b96234"
Description of this reward rule.
"1% cashback on all grocery purchases"
When true, reversals of the triggering transaction also reverse this reward.
false
How the reward is delivered to the account holder. instant_cashback = credited to the account on every qualifying transaction. Future types (not yet implemented): accrued_cashback, vendor_points.
instant_cashback Category-specific rule parameters. Provide the field that matches the reward_config's reward_category; all other fields must be omitted.
active, inactive Response
Created reward config
Amount calculation parameters for a fee config. amount_type determines which config field is used.
Human-readable name for this reward rule.
"Grocery Store Cashback"
The category of event that triggers this reward. Trigger-based categories fire when a matching card transaction is posted.
cashback:card:mcc active, inactive "2024-01-15T10:00:00Z"
Unique identifier for this reward config.
"5c943c51-e4ff-4e57-9558-08cab6b96398"
"2024-06-01T12:00:00Z"
The id of the tenant containing the resource. This is relevant for Fintechs that have multiple workspaces.
"abcdef_ghijkl"
Description of this reward rule.
"1% cashback on all grocery purchases"
When true, reversals of the triggering transaction also reverse this reward.
false
How the reward is delivered to the account holder. instant_cashback = credited to the account on every qualifying transaction. Future types (not yet implemented): accrued_cashback, vendor_points.
instant_cashback Category-specific rule parameters. Provide the field that matches the reward_config's reward_category; all other fields must be omitted.
ID of the reward template that provides accounting setup for automated reward posting. Required for trigger-based rewards.
"8b943c51-e4ff-4e57-9558-08cab6b96234"

