Const
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 }.
lineItems
useDebitCardFee
amountInCents
name
description
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 }} Copy
{ type: "PREVIEW_PAYMENT", payload: { lineItems: [{ amountInCents: 12550, name: "2025 Property Tax", description: "Shelby County property tax", onlineServiceData: { serviceOfferingId: "service-offering-id" } }], useDebitCardFee: false }}
module-payit-credit/lib/browser/reducers/pointOfSaleReducers.previewPayment
Dispatch to preview a payment before submission.