The Giftcard Object
id Unique ID for the giftcard. |
shortId Short unique ID for the giftcard. |
accessToken Token that you will need to act on this giftcard. |
balance The current balance (money amount) of the giftcard. Think of it as an account balance for the giftcard; it indicates the remaining money amount left on the giftcard. A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). |
availableBalance The available balance (money amount) of the giftcard. This is like the A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). |
initialAmount The initial (starting amount) of the giftcard. This is a static value that never changes. A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). |
activation |
currency ISO 4217 - Alphabetic code, 3 characters. For example 'EUR' for Euro, 'USD' for U.S. Dollar., etc.. |
expectedAction The (next) action that is allowed and expected on this giftcard. This is any one value of |
authorizedActions A list of actions that you as the API consumer are allowed to perform on this giftcard. Possible elements in this list are If |
issuedByZmyle |
transactions A list of transactions that have occurred on this giftcard. |
campaignBoost |
Giftcard Activation Context
Giftcard Activation Context |
---|
isDynamicAmount |
amount A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). Set to 0 for giftcards that allow dynamic activation amounts. |
minAmount A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). |
maxAmount A positive integer representing a money amount in the smallest currency unit (say 100 cents instead of 1 EUR). |
Giftcard Campaign Boost Info
Giftcard Campaign Boost Info |
---|
campaignId |
boostFlavorId |
currency |
hasFunds |
rate |
fixed |
minBoostAmount |
maxBoostAmount |
minCreditAmount |
maxCreditAmount |
startDate |
endDate |
giftcardFundsExpireAt |
teaser |
legalInfo |
Last updated