Discounts Applied (Object)
Contains details of the discounts applied to a transaction
- discountType: integer
_id Unique ID that identifies the discount (e.g., reward_id, redeemable_id, redemption_code, coupon_code)
- discountType: string
_type The discount type can be any one of these values: reward || redeemable || banked_reward || redemption_code || subscription.
- discountType: string
_value The value of the discount in currency applied to the transaction. This value is set for users on the “Points Convert to Currency” loyalty program. The default value is 0 if the user has not selected any amount to redeem or has no currency in the loyalty account. The parameter returns a “null” value for a business that does not support banking of points into currency.
- discountsType:
_details Properties: 1List of a discount's defining attributes
- redemptionType: integer
_id Unique ID associated with the redemption. Save this in your system for future reference. Note: In case of coupons or promos, the redemption_id returned would be same as the redemption_code.
