Const
Dispatch to submit an asynchronous payment.
The payload requires uniqueRequestId, deviceId, and lineItems using the preview line-item shape. Optional fields are customerContactInfo and useDebitCardFee.
uniqueRequestId
deviceId
lineItems
customerContactInfo
useDebitCardFee
{ type: "PAY_ASYNC", payload: { uniqueRequestId: "request-id", deviceId: "reader-id", lineItems: [{ amountInCents: 12550, name: "2025 Property Tax" }], customerContactInfo: { firstName: "Jane", lastName: "Doe", email: "payer@example.com" }, useDebitCardFee: false }} Copy
{ type: "PAY_ASYNC", payload: { uniqueRequestId: "request-id", deviceId: "reader-id", lineItems: [{ amountInCents: 12550, name: "2025 Property Tax" }], customerContactInfo: { firstName: "Jane", lastName: "Doe", email: "payer@example.com" }, useDebitCardFee: false }}
module-payit-credit/lib/browser/reducers/pointOfSaleReducers.payAsync
Dispatch to submit an asynchronous payment.