You are reading the documentation for SDK v2, which is no longer the latest version. Switch to current
MyPaymentDraft
export type MyPaymentDraft = {
amountPlanned: MoneyInput;
paymentMethodInfo?: InputMaybe<PaymentMethodInfoInput>;
custom?: InputMaybe<CustomFieldsDraft>;
transaction?: InputMaybe<MyTransactionDraft>;
};