package yandex // CreatePaymentRequest description https://yookassa.ru/developers/api#create_payment type CreatePaymentRequest[T any] struct { Amount Amount `json:"amount"` Description string `json:"description,omitempty"` PaymentMethodID *string `json:"payment_method_id,omitempty"` PaymentMethodData *T `json:"payment_method_data,omitempty"` Confirmation *CreateConfirmationRedirect `json:"confirmation,omitempty"` SavePaymentMethod bool `json:"save_payment_method,omitempty"` Capture bool `json:"capture,omitempty"` ClientIP string `json:"client_ip,omitempty"` Metadata any `json:"metadata,omitempty"` Airline any `json:"airline,omitempty"` Transfers []any `json:"transfers,omitempty"` Deal any `json:"deal,omitempty"` FraudData any `json:"fraud_data,omitempty"` MerchantCustomerID any `json:"merchant_customer_id,omitempty"` }