Skip to content

Update generated code for beta #1607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 45 commits into
base: beta
Choose a base branch
from
Open

Conversation

stripe-openapi[bot]
Copy link
Contributor

@stripe-openapi stripe-openapi bot commented May 30, 2025

Codegen for openapi v1819 and proto spec 2025-06-30.preview.

Changelog

  • Change type of Checkout::Session::CreateParams::SubscriptionDatum.billing_mode, Invoice::CreatePreviewParams::ScheduleDetail.billing_mode, Invoice::CreatePreviewParams::SubscriptionDetail.billing_mode, Quote::CreateParams::SubscriptionDatum.billing_mode, Quote::SubscriptionDatum.billing_mode, Subscription::CreateParams.billing_mode, and SubscriptionSchedule::CreateParams.billing_mode from enum('classic'|'flexible') to billing_mode
  • Add support for submission_method on Dispute::EvidenceDetail
  • Add support for on_demand and subscriptions on Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna and Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna
  • Change type of Order::CreateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage, Order::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage, and Order::UpdateParams::Payment::Setting::PaymentMethodOption::Klarna.setup_future_usage from literal('none') to enum('none'|'off_session'|'on_session')
  • Add support for crypto on PaymentAttemptRecord::PaymentMethodDetail and PaymentRecord::PaymentMethodDetail
  • Change type of PaymentIntent::ConfirmParams::PaymentMethodOption::Gopay.setup_future_usage, PaymentIntent::CreateParams::PaymentMethodOption::Gopay.setup_future_usage, PaymentIntent::PaymentMethodOption::Gopay.setup_future_usage, and PaymentIntent::UpdateParams::PaymentMethodOption::Gopay.setup_future_usage from literal('none') to enum('none'|'off_session')
  • Change Quote::SubscriptionDatum.billing_mode, QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode to be required
  • Change type of QuotePreviewSubscriptionSchedule.billing_mode, Subscription.billing_mode, and SubscriptionSchedule.billing_mode from enum('classic'|'flexible') to SubscriptionsResourceBillingMode
  • Change type of Subscription::MigrateParams.billing_mode from literal('flexible') to billing_mode_migrate
  • Remove support for billing_mode_details on Subscription
  • Add support for proof_of_address on V2::Core::Account::CreateParams::Identity::BusinessDetail::Document, V2::Core::Account::Identity::BusinessDetail::Document, and V2::Core::Account::UpdateParams::Identity::BusinessDetail::Document
  • Add support for metadata on V2::MoneyManagement::FinancialAccount
  • Remove support for description on V2::MoneyManagement::FinancialAccount
  • Remove support for attempts on V2::Payments::OffSessionPayment
  • Change type of V2::Payments::OffSessionPayment::TransferDatum.amount from integer to nullable(integer)
  • Add support for from_account, outbound_payment, and outbound_transfer on V2::MoneyManagement::ReceivedCredit::BalanceTransfer
  • Change type of V2::MoneyManagement::ReceivedCredit::BalanceTransfer.type from literal('payout_v1') to enum('outbound_payment'|'outbound_transfer'|'payout_v1')
  • Change type of V2::MoneyManagement::ReceivedCredit::BalanceTransfer.payout_v1 from string to nullable(string)
  • Change V2::Payments::OffSessionPayment::CreateParams::TransferDatum.amount to be optional

@stripe-openapi stripe-openapi bot requested a review from a team as a code owner May 30, 2025 20:55
@stripe-openapi stripe-openapi bot requested review from xavdid-stripe and removed request for a team May 30, 2025 20:55
@stripe-openapi stripe-openapi bot enabled auto-merge May 30, 2025 20:55
stripe-openapi bot and others added 25 commits June 2, 2025 23:57
* Disable flaky test for now

* ticket
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