Skip to content

Update generated code for beta#2020

Open
stripe-openapi[bot] wants to merge 18 commits intobetafrom
latest-codegen-beta
Open

Update generated code for beta#2020
stripe-openapi[bot] wants to merge 18 commits intobetafrom
latest-codegen-beta

Conversation

@stripe-openapi
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented Feb 27, 2026

Codegen for openapi v2204 and proto spec .

Changelog

  • Add support for new resources ProductCatalog.TrialOffer, Tax.Location, and V2.Core.BatchJob
  • Add support for create method on resource ProductCatalog.TrialOffer
  • Add support for all, create, and retrieve methods on resource Tax.Location
  • Add support for cancel, create, and retrieve methods on resource V2.Core.BatchJob
  • Add support for performance_location on Tax.CalculationLineItem and Tax\Calculation.create().$params.line_item
  • Add support for new value performance on enums Tax.Calculation.shipping_cost.tax_breakdown[].sourcing, Tax.CalculationLineItem.tax_breakdown[].sourcing, and Tax.Transaction.shipping_cost.tax_breakdown[].sourcing
  • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enums Tax.Calculation.shipping_cost.tax_breakdown[].tax_rate_details.tax_type, Tax.Calculation.tax_breakdown[].tax_rate_details.tax_type, Tax.CalculationLineItem.tax_breakdown[].tax_rate_details.tax_type, and Tax.Transaction.shipping_cost.tax_breakdown[].tax_rate_details.tax_type
  • Add support for trial_offer on Invoice.create_preview().$params.schedule_detail.amendment.item_action.add, Invoice.create_preview().$params.schedule_detail.amendment.item_action.set, Invoice.create_preview().$params.schedule_detail.phase.item, Quote.create().$params.line.action.add_item, Quote.create().$params.line.action.set_item, Quote.update().$params.line.action.add_item, Quote.update().$params.line.action.set_item, QuoteLine.actions[].add_item, QuoteLine.actions[].set_items[], QuotePreviewSubscriptionSchedule.phases[].items[], SubscriptionSchedule.amend().$params.amendment.item_action.add, SubscriptionSchedule.amend().$params.amendment.item_action.set, SubscriptionSchedule.create().$params.phase.item, SubscriptionSchedule.phases[].items[], and SubscriptionSchedule.update().$params.phase.item
  • Add support for risk_reserved on Balance
  • ⚠️ Remove support for source_type on Charge.payment_method_details.stripe_balance, ConfirmationToken.create().$params.payment_method_datum.stripe_balance, ConfirmationToken.payment_method_preview.stripe_balance, PaymentAttemptRecord.payment_method_details.stripe_balance, PaymentIntent.confirm().$params.payment_method_datum.stripe_balance, PaymentIntent.create().$params.payment_method_datum.stripe_balance, PaymentIntent.update().$params.payment_method_datum.stripe_balance, PaymentMethod.create().$params.stripe_balance, PaymentMethod.stripe_balance, PaymentRecord.payment_method_details.stripe_balance, SetupIntent.confirm().$params.payment_method_datum.stripe_balance, SetupIntent.create().$params.payment_method_datum.stripe_balance, and SetupIntent.update().$params.payment_method_datum.stripe_balance
  • Add support for tax_details on Checkout\Session.create().$params.line_item.price_datum.product_datum, Checkout\Session.update().$params.line_item.price_datum.product_datum, Invoice.add_lines().$params.line.price_datum.product_datum, Invoice.update_lines().$params.line.price_datum.product_datum, InvoiceLineItem.update().$params.price_datum.product_datum, PaymentLink.create().$params.line_item.price_datum.product_datum, Plan.create().$params.product, Price.create().$params.product_datum, Product.create().$params, and Product.update().$params
  • Add support for pending_invoice_item_interval on Checkout\Session.update().$params.subscription_datum
  • Add support for hosted and ui_mode on FinancialConnections.Session and FinancialConnections\Session.create().$params
  • Add support for url on FinancialConnections.Session
  • Add support for expires_after_seconds on Invoice.create().$params.payment_setting.payment_method_option.pix, Invoice.payment_settings.payment_method_options.pix, Invoice.update().$params.payment_setting.payment_method_option.pix, QuotePreviewInvoice.payment_settings.payment_method_options.pix, Subscription.create().$params.payment_setting.payment_method_option.pix, Subscription.payment_settings.payment_method_options.pix, and Subscription.update().$params.payment_setting.payment_method_option.pix
  • Add support for current_trial on Invoice.create_preview().$params.subscription_detail.item, Subscription.create().$params.item, Subscription.update().$params.item, SubscriptionItem.create().$params, SubscriptionItem.update().$params, and SubscriptionItem
  • Add support for surcharge on PaymentIntent.amount_details, PaymentIntent.capture().$params.amount_detail, PaymentIntent.confirm().$params.amount_detail, PaymentIntent.create().$params.amount_detail, PaymentIntent.increment_authorization().$params.amount_detail, and PaymentIntent.update().$params.amount_detail
  • Add support for amount_details and payment_details on PaymentIntent.decrement_authorization().$params
  • Add support for managed_payments on PaymentLink.create().$params and PaymentLink
  • Add support for billing_cycle_anchor on Subscription.create().$params.trial_setting.end_behavior, Subscription.trial_settings.end_behavior, and Subscription.update().$params.trial_setting.end_behavior
  • Add support for admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on Tax.Registration.country_options.us
  • Add support for new values admissions_tax, attendance_tax, entertainment_tax, gross_receipts_tax, hospitality_tax, luxury_tax, resort_tax, and tourism_tax on enum Tax.Registration.country_options.us.type
  • Add support for requirements on TaxCode
  • ⚠️ Change type of V2.Billing.Cadence.settings_data.collection.payment_method_options.card.mandate_options.amount, V2.Billing.CollectionSetting.payment_method_options.card.mandate_options.amount, V2.Billing.CollectionSettingVersion.payment_method_options.card.mandate_options.amount, V2\Billing\CollectionSetting.create().$params.payment_method_option.card.mandate_option.amount, and V2\Billing\CollectionSetting.update().$params.payment_method_option.card.mandate_option.amount from longInteger to int64_string
  • Add support for new values ar_bank_account, co_bank_account, and eg_bank_account on enum V2.Core.Account.configuration.recipient.default_outbound_destination.type
  • Add support for timezone on V2.Core.Account.defaults, V2\Core\Account.create().$params.default, and V2\Core\Account.update().$params.default
  • Add support for azure_event_grid on V2.Core.EventDestination and V2\Core\EventDestination.create().$params
  • Add support for new value no_azure_partner_topic_exists on enum V2.Core.EventDestination.status_details.disabled.reason
  • Add support for new value azure_event_grid on enum V2.Core.EventDestination.type
  • Add support for supported_currencies on V2.Core.Vault.GbBankAccount, V2.Core.Vault.UsBankAccount, and V2.MoneyManagement.PayoutMethod.card
  • ⚠️ Change V2.Core.Vault.GbBankAccount.sort_code and V2\Core\Vault\GbBankAccount.create().$params.sort_code to be optional
  • Add support for restricted on V2.MoneyManagement.PayoutMethod
  • Add support for currencies on V2.MoneyManagement.PayoutMethodsBankAccountSpec.countries.value.fields[]
  • Add support for counterparty and description on V2.MoneyManagement.Transaction
  • ⚠️ Add support for currency on V2\Core\Vault\GbBankAccount.create().$params, V2\Core\Vault\UsBankAccount.create().$params, V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.bank_account, V2\MoneyManagement\OutboundSetupIntent.create().$params.payout_method_datum.card, V2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.bank_account, and V2\MoneyManagement\OutboundSetupIntent.update().$params.payout_method_datum.card
  • Add support for iban on V2\Core\Vault\GbBankAccount.create().$params
  • Change V2\Core\Vault\GbBankAccount.create().$params.account_number to be optional
  • Add support for new value currency on enum InvalidPaymentMethodException.invalid_param
  • Add support for event notifications V2CoreBatchJobBatchFailedEvent, V2CoreBatchJobCanceledEvent, V2CoreBatchJobCompletedEvent, V2CoreBatchJobCreatedEvent, V2CoreBatchJobReadyForUploadEvent, V2CoreBatchJobTimeoutEvent, V2CoreBatchJobUpdatedEvent, V2CoreBatchJobUploadTimeoutEvent, V2CoreBatchJobValidatingEvent, and V2CoreBatchJobValidationFailedEvent with related object V2.Core.BatchJob
  • Add support for error code service_period_coupon_with_metered_tiered_item_unsupported on QuotePreviewInvoice.last_finalization_error

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner February 27, 2026 21:58
@stripe-openapi stripe-openapi bot requested review from mbroshi-stripe and removed request for a team and mbroshi-stripe February 27, 2026 21:58
@stripe-openapi stripe-openapi bot enabled auto-merge February 27, 2026 21:58
@stripe-openapi stripe-openapi bot force-pushed the latest-codegen-beta branch from d793bbe to d63aff8 Compare March 6, 2026 23:36
xavdid-stripe and others added 16 commits March 10, 2026 09:15
#2032)

Add link to Stripe's Discord server to the readme for easier discovery
* Convert int64 to string

* Add Int64 type

* Add tests

* Incorporate feedback and fix tests
…#2011)

Fixes #1785

Co-authored-by: simonhammes <simonhammes@users.noreply.github.com>
Co-authored-by: David Brownman <109395161+xavdid-stripe@users.noreply.github.com>
* update supported versions

* add new version

* Update README.md

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>

---------

Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
* Update generated code for v2189 and

* Update generated code for v2202 and

* Update generated code for v2202 and

* Update generated code for v2203 and

* Update generated code for v2204 and

* Update generated code for v2204 and

* Removed extra RateLimitException.php from init.php

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: David Brownman <xavdid@stripe.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
Co-authored-by: Prathmesh Ranaut <prathmesh@stripe.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants