ReadonlystatusThe controller lifecycle status. Disable mutation and confirmation UI
unless this is ready.
ReadonlysessionThe latest snapshot of the customer's Checkout Session.
ReadonlypaymentThe Payment Element owned by this controller.
Updates the customer's email address. Pass null to clear it.
Sets or clears the customer's shipping address.
Applies a promotion code after trimming leading and trailing whitespace.
Removes the currently applied promotion code, if any.
Runs a server update, then refreshes the local Checkout Session.
Clears the customer's currently selected payment option.
Releases the controller's native resources and clears its loaded state.
Controls a Checkout Session, including its state, Payment Element, mutations, and confirmation flow.
Remarks
This API is in private preview and can change without notice.
Checkout Session Private Preview