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\RedemptionsGetResponseBodyRelatedRedemptions | [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\RedemptionsGetResponseBodyOrder | ||
channel | \OpenAPI\Client\Model\RedemptionsGetResponseBodyChannel | ||
customer | \OpenAPI\Client\Model\RedemptionsGetResponseBodyCustomer | ||
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\RedemptionsGetResponseBodyVoucher | [optional] | |
promotion_tier | \OpenAPI\Client\Model\RedemptionsGetResponseBodyPromotionTier | [optional] | |
reward | \OpenAPI\Client\Model\RedemptionRewardResult | [optional] | |
gift | \OpenAPI\Client\Model\RedemptionsGetResponseBodyGift | [optional] | |
loyalty_card | \OpenAPI\Client\Model\RedemptionsGetResponseBodyLoyaltyCard | [optional] | |
reason | string | System generated cause for the redemption being invalid in the context of the provided parameters. | [optional] |
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.