Typescript SDK Type Docs
    Preparing search index...

    Interface PaymentMethodSetDefaultAction

    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)

    Index

    Properties

    Properties

    action: "setDefault"
    default: boolean

    Value to set.