Interface VoucherCheck
kind?: string;
pending?: boolean;
redeemable_for_text?: string;
redeemable_location_ids?: number[];
redeemable_tasting_ids?: number[];
redeemed?: boolean;
remaining_value?: number;
value?: number;
voucher_code: string;
}
Properties
Optionalkind
Kind in the voucher check contract. Optional; omitted unless supplied by the host or backend.
Optionalpending
Legacy codes are validated atomically by the booking endpoint.
Optionalredeemable_ for_ text
Redeemable for text in the voucher check contract. Optional; omitted unless supplied by the host or backend.
Optionalredeemable_ location_ ids
Backend location identifiers where this voucher is accepted. Optional; omitted unless supplied by the host or backend.
Optionalredeemable_ tasting_ ids
Backend event identifiers where this voucher is accepted. Optional; omitted unless supplied by the host or backend.
Optionalredeemed
Whether the backend reports this voucher as redeemed. Optional; omitted unless supplied by the host or backend.
Optionalremaining_ value
Available voucher balance in integer cents when publicly returned. Optional; omitted unless supplied by the host or backend.
Optionalvalue
Current controlled value. Optional; omitted unless supplied by the host or backend.
voucher_ code
Voucher code assigned to this seat; backend validation is authoritative.
Public voucher lookup result. Pending legacy codes are validated atomically at submission.