Shopvento UI - v0.2.0
    Preparing search index...

    Interface VoucherCheck

    Public voucher lookup result. Pending legacy codes are validated atomically at submission.

    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;
    }
    Index
    kind?: string

    Kind in the voucher check contract. Optional; omitted unless supplied by the host or backend.

    pending?: boolean

    Legacy codes are validated atomically by the booking endpoint.

    redeemable_for_text?: string

    Redeemable for text in the voucher check contract. Optional; omitted unless supplied by the host or backend.

    redeemable_location_ids?: number[]

    Backend location identifiers where this voucher is accepted. Optional; omitted unless supplied by the host or backend.

    redeemable_tasting_ids?: number[]

    Backend event identifiers where this voucher is accepted. Optional; omitted unless supplied by the host or backend.

    redeemed?: boolean

    Whether the backend reports this voucher as redeemed. Optional; omitted unless supplied by the host or backend.

    remaining_value?: number

    Available voucher balance in integer cents when publicly returned. Optional; omitted unless supplied by the host or backend.

    value?: number

    Current controlled value. Optional; omitted unless supplied by the host or backend.

    voucher_code: string

    Voucher code assigned to this seat; backend validation is authoritative.