Zamok Kiosk API
    Preparing search index...
    previewPayment: PayloadAC<"PREVIEW_PAYMENT", PaymentPreviewRequest> = ...

    Dispatch to preview a payment before submission.

    The payload contains lineItems and optional useDebitCardFee. Each line item requires amountInCents and name, with optional description and onlineServiceData: { serviceOfferingId }.

    {
    type: "PREVIEW_PAYMENT",
    payload: {
    lineItems: [{
    amountInCents: 12550,
    name: "2025 Property Tax",
    description: "Shelby County property tax",
    onlineServiceData: { serviceOfferingId: "service-offering-id" }
    }],
    useDebitCardFee: false
    }
    }