This action generates the PaymentMethodDefaultSet Message.

An inactive Payment Method cannot be set as the default, and the action will return an [InvalidOperation](ctp:api:type:InvalidOperationError) error.
interface PaymentMethodSetDefaultAction {
    action: "setDefault";
    default: boolean;
}

Hierarchy (View Summary)

Properties

Properties

action: "setDefault"
default: boolean

Value to set.