Properties
Optional active
active: boolean
Optional additional_info
additional_info: string
Optional category
category: string
Optional code_config
code_config: { charset?: string; length?: number; pattern?: string; prefix?: string; suffix?: string }
Type declaration
-
Optional charset?: string
-
Optional length?: number
-
Optional pattern?: string
-
Optional prefix?: string
-
Optional suffix?: string
Optional expiration_date
expiration_date: string
Optional metadata
metadata: Record<string, any>
Optional redemption
redemption: { quantity: number }
Optional start_date
start_date: string
Optional type
type: "GIFT_VOUCHER" | "DISCOUNT_VOUCHER"