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"
Path Parameters
The unique identifier of a reward template
"64438afd-fa20-4010-a573-2bbdca77cdb6"
Body
The default amount of the reward in ISO 4217 minor currency units, e.g. cents. The internal account will be debited this amount. Can be overridden when creating a reward.
1000
currency for the reward, as a three character ISO 4217 alphabetic currency code.
"USD"
The description of the reward template.
"Referral Reward"
The ID of default internal_account to use as the source of the reward transfer. Cannot be a system internal account.
"42943c51-e4ff-4e57-9558-08cab6b963c8"
Whether the reward template is enabled. If false, rewards cannot be created from this template.
true
Optional field to store additional information about the resource. Intended to be used by the integrator to store non-sensitive data.
A short string representing the sub-type of the reward. This will be used as the subtype of the resulting transaction.
ACCOUNT_OPENING_BONUS
, CASHBACK
, INTEREST_RATE_BONUS
, LOAN_INTEREST_RATE_REDUCTION
, MANUAL_ADJUSTMENT
, MILES
, MISCELLANEOUS
, POINTS
, REFERRAL_BONUS
Response
Updated reward template
currency for the reward, as a three character ISO 4217 alphabetic currency code.
"USD"
The ID of default internal_account to use as the source of the reward transfer. Cannot be a system internal account.
"42943c51-e4ff-4e57-9558-08cab6b963c8"
Whether the reward template is enabled. If false, rewards cannot be created from this template.
true
The timestamp representing when the reward template was created
"2010-05-06T12:23:34.321Z"
The ID of the reward template.
"85943c51-e4ff-4e57-9558-08cab6b96364"
The timestamp representing when the reward template was last modified
"2010-05-06T12:23:34.321Z"
A short string representing the sub-type of the reward. This will be used as the subtype of the resulting transaction.
ACCOUNT_OPENING_BONUS
, ACCOUNT_OPENING_BONUS_REVERSAL
, CASHBACK
, CASHBACK_REVERSAL
, INTEREST_RATE_BONUS
, INTEREST_RATE_BONUS_REVERSAL
, LOAN_INTEREST_RATE_REDUCTION
, LOAN_INTEREST_RATE_REDUCTION_REVERSAL
, MANUAL_ADJUSTMENT
, MANUAL_ADJUSTMENT_REVERSAL
, MILES
, MILES_REVERSAL
, MISCELLANEOUS
, MISCELLANEOUS_REVERSAL
, POINTS
, POINTS_REVERSAL
, REFERRAL_BONUS
, REFERRAL_BONUS_REVERSAL
The id of the tenant containing the resource.
"abcdef_ghijkl"
The default amount of the reward in ISO 4217 minor currency units, e.g. cents. The internal account will be debited this amount. Can be overridden when creating a reward.
1000
The description of the reward template.
"Referral Reward"
Optional field to store additional information about the resource. Intended to be used by the integrator to store non-sensitive data.