You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
PaymentMethodInfoInput
export type PaymentMethodInfoInput = {
paymentInterface?: InputMaybe<Scalars['String']>;
method?: InputMaybe<Scalars['String']>;
name?: InputMaybe<Array<LocalizedStringItemInputType>>;
};