Merged
Conversation
* Update generated code for v1463 * Update generated code for v1494 * Update generated code for v1495 * Update generated code for v1501 * Update generated code for v1505 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
…roperty (#2277) swap Stripe.webhooks from a factory function to a static property
* Remove types that were marked as deprecated in Feb 2024 * remove the test for deprecated type
Update generated code for v1641 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
* Update generated code for v1642 * Update generated code for v1642 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
ramya-stripe
approved these changes
Apr 1, 2025
ramya-stripe
approved these changes
Apr 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 v1646.
Changelog
BalanceSettingsandTlExternalAccountretrieveandupdatemethods on resourceBalanceSettingscreate,del,list,retrieve, andupdatemethods on resourceTlExternalAccountstripe_balance_paymentsonAccount.capabilities,AccountCreateParams.capabilities, andAccountUpdateParams.capabilitiescustomer_accountonBilling.CreditBalanceSummaryRetrieveParams,Billing.CreditBalanceSummary,Billing.CreditBalanceTransactionListParams,Billing.CreditGrantCreateParams,Billing.CreditGrantListParams,Billing.CreditGrant,BillingPortal.SessionCreateParams,BillingPortal.Session,Checkout.SessionCreateParams,Checkout.SessionListParams,Checkout.Session,ConfirmationToken.payment_method_preview,CreditNoteListParams,CreditNote,CustomerBalanceTransaction,CustomerCashBalanceTransaction,CustomerCashBalance,CustomerPaymentMethod,CustomerSessionCreateParams,CustomerSession,CustomerTaxId.owner,CustomerTaxId,Customer,Discount,FinancialConnections.Account.account_holder,FinancialConnections.AccountListParams.account_holder,FinancialConnections.Session.account_holder,FinancialConnections.SessionCreateParams.account_holder,InvoiceCreateParams,InvoiceCreatePreviewParams,InvoiceItemCreateParams,InvoiceItemListParams,InvoiceItem,InvoiceListParams,Invoice,PaymentIntentCreateParams,PaymentIntentListParams,PaymentIntentUpdateParams,PaymentIntent,PaymentMethodAttachParams,PaymentMethod,PromotionCodeCreateParams,PromotionCodeListParams,PromotionCode,QuoteCreateParams,QuoteListParams,QuotePreviewInvoice,QuotePreviewSubscriptionSchedule,QuoteUpdateParams,Quote,SetupAttempt,SetupIntentCreateParams,SetupIntentListParams,SetupIntentUpdateParams,SetupIntent,SubscriptionCreateParams,SubscriptionListParams,SubscriptionScheduleCreateParams,SubscriptionScheduleListParams,SubscriptionSchedule,Subscription,TaxId.owner,TaxIdCreateParams.owner,TaxIdListParams.owner, andTaxIdBilling.CreditBalanceSummaryRetrieveParams.customer,Billing.CreditBalanceTransactionListParams.customer,Billing.CreditGrantCreateParams.customer,BillingPortal.SessionCreateParams.customer,CustomerSessionCreateParams.customer,InvoiceItemCreateParams.customer,PaymentMethodAttachParams.customer, andSubscriptionCreateParams.customerto be optionalstripe_balanceonCharge.payment_method_details,ConfirmationToken.payment_method_preview,ConfirmationTokenCreateParams.testHelpers.payment_method_data,CustomerPaymentMethod,PaymentAttemptRecord.payment_method_details,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_data,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_data,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_data,PaymentIntentUpdateParams.payment_method_options,PaymentMethodCreateParams,PaymentMethod,PaymentRecord.payment_method_details,SetupAttempt.payment_method_details,SetupIntentConfirmParams.payment_method_data,SetupIntentCreateParams.payment_method_data, andSetupIntentUpdateParams.payment_method_dataupdate_line_itemsandupdate_shipping_detailsonCheckout.Session.permissionsandCheckout.SessionCreateParams.permissionsprovideronCheckout.Session.automatic_tax,Invoice.automatic_tax,Quote.automatic_tax, andQuotePreviewInvoice.automatic_taxCheckout.Session.permissions.updateto be optionaltax_calculation_referenceonCreditNoteLineItem,CreditNotePreviewLines,InvoiceLineItem,LineItem,PaymentLinkLineItem,QuoteComputedUpfrontLineItems,QuoteLineItem, andSessionLineItempayment_method_optionsonConfirmationTokenCreateParams.testHelpersinstallmentsonConfirmationToken.payment_method_options.cardvariablefrom enumsCoupon.durationandCouponCreateParams.durationCreditNote.refundsto be requiredcontextonEventrelated_customer_accountonIdentity.VerificationSessionCreateParams,Identity.VerificationSessionListParams, andIdentity.VerificationSessionInvoice.amount_overpaidandQuotePreviewInvoice.amount_overpaidto be requiredamount_overpaidonInvoicePaymentInvoicePayment.is_defaultfromboolean | nulltobooleanout_of_band_paymentandpayment_recordfrom enumInvoicePayment.payment.typenetwork_dataonIssuing.DisputeSettlementDetailinterchange_fees_amount,net_total_amount,network_fees_amount,other_fees_amount,other_fees_count, andtransaction_amountonIssuing.Settlementinterchange_fees,net_total,network_fees, andtransaction_volumeonIssuing.SettlementOrderCreateParams.payment.settings.payment_method_options.wechat_pay.clientandOrderUpdateParams.payment.settings.payment_method_options.wechat_pay.clientto be optionalreported_byonPaymentAttemptRecordach_credit_transfer,ach_debit,acss_debit,affirm,afterpay_clearpay,alipay,alma,amazon_pay,au_becs_debit,bacs_debit,bancontact,blik,boleto,card_present,card,cashapp,customer_balance,eps,fpx,giropay,gopay,grabpay,id_bank_transfer,ideal,interac_present,kakao_pay,klarna,konbini,kr_card,link,mb_way,mobilepay,multibanco,naver_pay,nz_bank_account,oxxo,p24,pay_by_bank,payco,paynow,paypal,payto,pix,promptpay,qris,rechnung,revolut_pay,samsung_pay,satispay,sepa_credit_transfer,sepa_debit,shopeepay,sofort,stripe_account,swish,twint,us_bank_account,wechat_pay,wechat, andziponPaymentAttemptRecord.payment_method_detailsandPaymentRecord.payment_method_detailsbillieonPaymentAttemptRecord.payment_method_details,PaymentIntent.payment_method_options,PaymentIntentConfirmParams.payment_method_options,PaymentIntentCreateParams.payment_method_options,PaymentIntentUpdateParams.payment_method_options, andPaymentRecord.payment_method_detailsPaymentAttemptRecord.payment_method_details.customandPaymentRecord.payment_method_details.customfromPaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetails | nulltoPaymentsPrimitivesPaymentRecordsResourcePaymentMethodCustomDetailsPaymentAttemptRecord.payment_method_details.typeandPaymentRecord.payment_method_details.typefromliteral('custom')tostringPaymentAttemptRecord.payment_recordfromstringtostring | nullPaymentAttemptRecord.payment_method_details.customandPaymentRecord.payment_method_details.customto be optionalPaymentRecordReportPaymentParams.payment_referenceto be optionalPaymentRecord.latest_payment_attempt_recordfromstringtostring | nullpayout_methodonPayoutCreateParamsandPayoutconfirmation_secret,parent, andtotal_taxesonQuotePreviewInvoiceapplication_fee_amount,discount,paid_out_of_band,paid,payment_intent,quote,subscription_details,subscription_proration_date,tax,total_tax_amounts, andtransfer_dataonQuotePreviewInvoiceforwarding_api_retryable_upstream_error,setup_intent_mobile_wallet_unsupported,v2_account_disconnection_unsupported, andv2_account_missing_configurationon enumQuotePreviewInvoice.last_finalization_error.codeklarna,nz_bank_account, andstripe_balanceon enumQuotePreviewInvoice.payment_settings.payment_method_typesbilling_thresholdsonQuotePreviewSubscriptionSchedule.default_settings,QuotePreviewSubscriptionSchedule.phases[].items[], andQuotePreviewSubscriptionSchedule.phases[]coupononQuotePreviewSubscriptionSchedule.phases[]idandtextonTerminal.Reader.action.collect_inputs.inputs[].selection.choices[],Terminal.Reader.action.collect_inputs.inputs[].selection, andTerminal.ReaderCollectInputsParams.inputs[].selection.choices[]valueonTerminal.Reader.action.collect_inputs.inputs[].selection.choices[],Terminal.Reader.action.collect_inputs.inputs[].selection, andTerminal.ReaderCollectInputsParams.inputs[].selection.choices[]