Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 3.04 KB

RedemptionsListResponseBodyRedemptionsItem.md

File metadata and controls

32 lines (29 loc) · 3.04 KB

# RedemptionsListResponseBodyRedemptionsItem

Properties

Name Type Description Notes
id string Unique redemption ID.
object string
date \DateTime Timestamp representing the date and time when the object was created in ISO 8601 format.
customer_id string Unique customer ID of the redeeming customer.
tracking_id string Hashed customer source ID.
metadata object
amount int A positive integer in the smallest currency unit (e.g. 100 cents for $1.00) representing the total amount of the order. This is the sum of the order items' amounts. [optional]
redemption string Unique redemption ID of the parent redemption.
result string Redemption result.
status string
related_redemptions \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemRelatedRedemptions [optional]
failure_code string If the result is `FAILURE`, this parameter will provide a generic reason as to why the redemption failed. [optional]
failure_message string If the result is `FAILURE`, this parameter will provide a more expanded reason as to why the redemption failed. [optional]
order \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemOrder
channel \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemChannel
customer \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemCustomer
related_object_type string Defines the related object.
related_object_id string Unique related object ID assigned by Voucherify, i.e. v_lfZi4rcEGe0sN9gmnj40bzwK2FH6QUno for a voucher.
voucher \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemVoucher [optional]
promotion_tier \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemPromotionTier [optional]
reward \OpenAPI\Client\Model\RedemptionRewardResult [optional]
gift \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemGift [optional]
loyalty_card \OpenAPI\Client\Model\RedemptionsListResponseBodyRedemptionsItemLoyaltyCard [optional]
reason string System generated cause for the redemption being invalid in the context of the provided parameters. [optional]

[Back to Model list] [Back to API list] [Back to README]