Zamok Kiosk API
    Preparing search index...
    loadPaymentPreviews: PayloadAC<
        "SHELBY_LOAD_PAYMENT_PREVIEWS",
        {
            amountInCents: number;
            credit: PaymentPreviewResponse;
            debit: PaymentPreviewResponse;
        },
    > = ...

    Store credit and debit payment previews for the requested amount.

    Each preview contains subTotalInCents, feeTotalInCents, totalInCents, and feeDetails. Each fee detail contains description and amountInCents.

    {
    type: 'SHELBY_LOAD_PAYMENT_PREVIEWS',
    payload: {
    amountInCents: 12550,
    credit: { subTotalInCents: 12550, feeTotalInCents: 350, totalInCents: 12900,
    feeDetails: [{ description: 'Card fee', amountInCents: 350 }] },
    debit: { subTotalInCents: 12550, feeTotalInCents: 250, totalInCents: 12800,
    feeDetails: [{ description: 'Debit fee', amountInCents: 250 }] }
    }
    }