Zamok Kiosk API
    Preparing search index...
    • Stores card-fee previews as { loading, amountInCents?, credit?, debit?, error? }.

      Parameters

      • previousState: ShelbyPaymentPreviews = PAYMENT_PREVIEWS_DEFAULT
      • action: ReducerActions

      Returns ShelbyPaymentPreviews

      A request stores its amount and starts loading; success stores credit/debit previews; failure stores the amount and error. Clearing previews, changing property or lookup context, and sessionReset restore { loading: false }.