A Redemption defines the status of a Reward delivery (user eligibility, reward selected, authentication settings, notification channels..)

Redemption object

NameDescriptionExample
idRedemption identifierZN7RS-9RNLY
urlRedemption URLhttps://redemptipon-sandbox.ifeelgoods.com/#/ZN7RS-9RNLY
stateRedemption statebooked, pending, redeemed, denied, failed, canceled
order_idUnique ID. See the FAQ for more information about order_id.order-0000001-01-01
testingTest redemptions can be created using this parameter
activation_datetimeRedemption creation date2018-12-13T16:38:14Z
expiration_datetimeRedemption expiration date (when the redemption is in pending state, it may have a date after which it is no longer redeemable)2018-12-13T16:38:14Z
redeemed_datetimeRedemption redeem date2018-12-13T16:38:14Z
updated_datetimeRedemption last update2018-12-13T16:38:14Z
client.idAdvertiser ID (in Ifeelgoods Platform)
reward_format.usagesCodes format. See the FAQ for more information.Possible values are ["primary"], ["primary", "security"], ["url"] and ["security_url", "security_url_code"].
reward_format.barcode_typeBarcode format (when available)none, c128, qrcode
reward_codes.codesArray of codes. See the FAQ for more information.
reward_codes.expiration_datetimeCode expiration date2018-12-13T16:38:14Z
promotion.id
promotion.statusenabled, disabled, paused, completed
promotion.statepending, ready, ended
cancelabletrue, false
reward.sku
reward.name
reward.statusenabled, disabled, paused
reward.stateinvalid_reward, no_allocation, ready
value.amount
value.currency
user.id
authentication_systems
activation_notification_channels
notification_channels