PaymentDetailsChangedEvent

Use an object based on PaymentDetailsChangedEvent to represent the new payment details and the change types after the customer makes changes in the payment sheet.

Use the change type to update the transaction. For example, if the customer changes the shipping option, recalculate the shipping cost. The new payment details are stored in an PaymentDetailsUpdate.

If the customer makes changes that result in an error, report the error in the error fields of the PaymentDetailsUpdate.

Properties

PropertyTypeDescriptionRequired

changeTypes

Array<PaymentDetailChangeType>

The type of change. There can be more than one change type in a single event if the customer made more than one type of change since the last event was published.

Yes

paymentDetails

PaymentDetails

The new payment details after the customer makes changes.

Yes