Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Codegen for openapi v2099 and proto spec .
Changelog
PaymentAttemptRecord,PaymentIntentAmountDetailsLineItem, andPaymentRecordlistandretrievemethods on resourcePaymentAttemptRecordreport_payment_attempt_canceled,report_payment_attempt_failed,report_payment_attempt_guaranteed,report_payment_attempt_informational,report_payment_attempt,report_payment,report_refund, andretrievemethods on resourcePaymentRecordlistmethod on resourcePaymentIntentAmountDetailsLineItemrepresentativeDeclarationonAccount.company,AccountCreateParams.company,AccountUpdateParams.company, andTokenCreateParams.account.companybilling.CreditGrantCreateParams.categoryto be optionalpaymentMethodConfigurationonbillingportal.ConfigurationCreateParams.features.payment_method_updateandbillingportal.ConfigurationUpdateParams.features.payment_method_updatemb_wayon enumcheckout.SessionCreateParams.excludedPaymentMethodTypestwintoncheckout.Session.payment_method_optionsandcheckout.SessionCreateParams.payment_method_optionsmb_wayon enumcheckout.SessionCreateParams.paymentMethodTypespaymentRecordRefundandtypeonCreditNote.refunds[],CreditNoteCreateParams.refunds[],CreditNotePreviewLinesParams.refunds[], andCreditNotePreviewParams.refunds[]customerSheetandmobilePaymentElementonCustomerSession.componentsandCustomerSessionCreateParams.componentscustomon enumsCustomerListPaymentMethodsParams.type,PaymentMethodCreateParams.type, andPaymentMethodListParams.typeprovideronCustomer.taxplatform_terms_of_serviceon enumFileListParams.purposeplatform_terms_of_serviceon enumFileCreateParams.purposepaymentRecordonInvoiceAttachPaymentParams,InvoicePayment.payment, andInvoicePaymentListParams.paymentInvoicePaymentListParams.payment.typefromliteral('payment_intent')toenum('payment_intent'|'payment_record')customon enumsInvoiceCreateParams.payment_settings.paymentMethodTypes,InvoiceUpdateParams.payment_settings.paymentMethodTypes,SubscriptionCreateParams.payment_settings.paymentMethodTypes, andSubscriptionUpdateParams.payment_settings.paymentMethodTypesamountDetailsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams, andPaymentIntentUpdateParamspaymentDetailsonPaymentIntentCaptureParams,PaymentIntentConfirmParams,PaymentIntentCreateParams,PaymentIntentIncrementAuthorizationParams,PaymentIntentUpdateParams, andPaymentIntentdiscountAmount,lineItems,shipping, andtaxonPaymentIntent.amount_detailsnameCollectiononPaymentLinkCreateParams,PaymentLinkUpdateParams, andPaymentLinkmb_wayon enumsPaymentLinkCreateParams.paymentMethodTypesandPaymentLinkUpdateParams.paymentMethodTypescryptoonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams,PaymentMethodConfiguration, andRefund.destination_detailsmbWayonPaymentMethodConfigurationCreateParams,PaymentMethodConfigurationUpdateParams, andPaymentMethodConfigurationcustomonPaymentMethodCreateParamsandPaymentMethodexcludedPaymentMethodTypesonSetupIntentCreateParams,SetupIntentUpdateParams, andSetupIntenttwontax.Registration.country_optionsandtax.RegistrationCreateParams.country_optionsgiponterminal.Configuration.tipping,terminal.ConfigurationCreateParams.tipping, andterminal.ConfigurationUpdateParams.tippinglastSeenAtonterminal.Readerbalance_settings.updatedandinvoice.payment_attempt_requiredon enumsWebhookEndpointCreateParams.enabledEventsandWebhookEndpointUpdateParams.enabledEvents2025-10-29.cloveron enumWebhookEndpointCreateParams.apiVersiongt,gte,lt,lte, andtypesonv2.core.EventListParamsv2.core.EventListParams.objectIdto be optionalbalance_settings.updatedwith resourceBalanceSettingsinvoice.payment_attempt_requiredwith resourceInvoice