Name | Type | Description | Notes |
---|---|---|---|
id | string | Unique redemption ID. | |
object | string | The type of object represented by the JSON | [default to 'redemption_rollback'] |
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 | The metadata object stores all custom attributes assigned to the redemption. | |
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. | |
reason | string | System generated cause for the redemption being invalid in the context of the provided parameters. | [optional] |
result | string | Redemption result. | |
status | string | Redemption status. | |
related_redemptions | \OpenAPI\Client\Model\RedemptionRollbackRelatedRedemptions | [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\OrderCalculatedNoCustomerData | ||
channel | \OpenAPI\Client\Model\RedemptionChannel | ||
customer | \OpenAPI\Client\Model\SimpleCustomer | ||
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\Voucher | [optional] | |
promotion_tier | \OpenAPI\Client\Model\PromotionTier | [optional] | |
reward | \OpenAPI\Client\Model\RedemptionRewardResult | [optional] | |
gift | \OpenAPI\Client\Model\RedemptionGift | [optional] | |
loyalty_card | \OpenAPI\Client\Model\RedemptionLoyaltyCard | [optional] |
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.