Skip to content

Update generated code for private-preview - #1925

Merged
stripe-openapi[bot] merged 4 commits into
private-previewfrom
latest-codegen-private-preview
Aug 13, 2026
Merged

Update generated code for private-preview#1925
stripe-openapi[bot] merged 4 commits into
private-previewfrom
latest-codegen-private-preview

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Codegen for openapi v2396 and v2 openapi 1e95a9c21695d1f28bf9bf64ed7c83a05749b1e8.

Changelog

  • Add support for new resource V2::Tax::OperationsResolveAddressResult
  • Add support for resolve_address method on resource V2::Tax::OperationsResolveAddressResult
  • Add support for confirm and fx_quote methods on resource V2::MoneyManagement::PayoutIntent
  • Add support for customer_update on BillingPortal::Session::Flow
  • Add support for funding_source_group on Charge::PaymentMethodDetail::Link
  • ⚠️ Remove support for pricing_group on Charge::PaymentMethodDetail::Link
  • Add support for celo on Crypto::OnrampSession::TransactionDetail::WalletAddress
  • Add support for customer_portal on CustomerSession::Component
  • Add support for applied_to_invoice and type on CustomerCustomerBalanceTransactionCreateParams
  • Add support for classification_state and enrichment_state on FinancialConnections::Account
  • Add support for country on FinancialConnections::Session::Filter
  • Add support for classifications and enrichments on FinancialConnections::Transaction
  • Add support for customer_balance on Invoice and QuotePreviewInvoice
  • Add support for billie on Invoice::PaymentSetting::PaymentMethodOption, QuotePreviewInvoice::PaymentSetting::PaymentMethodOption, and Subscription::PaymentSetting::PaymentMethodOption
  • Add support for hold_amount_details and hold_amount on Issuing::Authorization::PendingRequest and Issuing::Authorization::RequestHistory
  • Add support for network_decline_code on PaymentAttemptRecordReportFailedParams::PaymentMethodDetail::Card and PaymentRecordReportPaymentAttemptFailedParams::PaymentMethodDetail::Card
  • Add support for setup_future_usage on PaymentIntent::PaymentMethodOption::Sequra
  • Add support for status on QuotePreviewSubscriptionSchedule::PauseSchedule::Pause, QuotePreviewSubscriptionSchedule::PauseSchedule::Resume, SubscriptionSchedule::PauseSchedule::Pause, and SubscriptionSchedule::PauseSchedule::Resume
  • Change SubscriptionScheduleCreateParams::PauseSchedule.pause to be optional
  • Change type of SubscriptionScheduleUpdateParams::PauseSchedule.resume from pause_schedule_update_resume_params to emptyable(pause_schedule_update_resume_params)
  • Add support for acquirer on EventsV2CoreHealthAuthorizationRateDropFiringEvent, EventsV2CoreHealthAuthorizationRateDropResolvedEvent, V2::Core::Health::Alert::AuthorizationRateDrop::Dimension, and V2::Core::Health::AlertHistoryEntry::AuthorizationRateDrop::Dimension
  • ⚠️ Change type of EventsV2CoreHealthAuthorizationRateDropFiringEvent.type, EventsV2CoreHealthAuthorizationRateDropResolvedEvent.type, V2::Core::Health::Alert::AuthorizationRateDrop::Dimension.type, and V2::Core::Health::AlertHistoryEntry::AuthorizationRateDrop::Dimension.type from literal('issuer') to enum('acquirer'|'issuer')
  • Add support for confirmation_method on V2::MoneyManagement::PayoutIntentCreateParams and V2::MoneyManagement::PayoutIntent
  • Add support for estimated_fees and fx_quote on V2::MoneyManagement::PayoutIntent
  • Add support for debited on V2::MoneyManagement::PayoutIntent::From
  • Add support for confirm on V2::MoneyManagement::PayoutIntent::NextAction
  • ⚠️ Change type of V2::MoneyManagement::PayoutIntent::NextAction.type from literal('handle_failure') to enum('confirm'|'handle_failure')
  • Add support for credited on V2::MoneyManagement::PayoutIntent::To
  • Add support for event notification V1BalanceSettingsUpdatedEvent with related object BalanceSettings
  • Add support for event notification V1BillingCreditBalanceTransactionCreatedEvent with related object Billing::CreditBalanceTransaction
  • Add support for event notifications V1BillingCreditGrantCreatedEvent and V1BillingCreditGrantUpdatedEvent with related object Billing::CreditGrant
  • Add support for event notifications V1BillingMeterCreatedEvent, V1BillingMeterDeactivatedEvent, V1BillingMeterReactivatedEvent, and V1BillingMeterUpdatedEvent with related object Billing::Meter
  • Add support for event notifications V1FinancialConnectionsAccountAccountNumbersUpdatedEvent, V1FinancialConnectionsAccountExpectedDeactivationDateUpdatedEvent, V1FinancialConnectionsAccountSupportedPaymentMethodTypesUpdatedEvent, V1FinancialConnectionsAccountUpcomingAccountNumberExpiryEvent, and V1FinancialConnectionsAccountUpcomingDeactivationEvent with related object FinancialConnections::Account
  • Add support for event notification V1InvoicePaymentAttemptRequiredEvent with related object Invoice
  • Add support for error type FxQuoteNeedsRefreshError

@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner August 6, 2026 03:44
@stripe-openapi
stripe-openapi Bot requested review from kidus-stripe and removed request for a team and kidus-stripe August 6, 2026 03:44
@stripe-openapi
stripe-openapi Bot enabled auto-merge August 6, 2026 03:44
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 7 times, most recently from 6bf0bae to 861f56d Compare August 10, 2026 19:05
* Handle break in auto-paging blocks

Committed-By-Agent: goose

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* fixed linter errors and restored missing end keywords

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 2 times, most recently from 9db80e4 to ee50e9b Compare August 10, 2026 21:29
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 5 times, most recently from 55300ee to db5c479 Compare August 11, 2026 19:04
* Extract V2TypeCoercion module for bidirectional field encoding

Consolidates request-side (encode: native → wire) and response-side
(decode: wire → native) type coercion into a shared module that handles
all V2 encoding kinds: int64_string, decimal_string, object, array,
nullable, and discriminated_union.

Previously, request_params.rb had its own coercion implementation and
stripe_object.rb only handled decimal_string with a flat equality check.
This left int64_string fields uncoerced on the response side (returning
String instead of Integer) and didn't support nested schemas like
{kind: :nullable, inner: :decimal_string}.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

* Scope module to existing encoding kinds only

Remove nullable and discriminated_union cases — those belong in the
DU coercion branch, not this base extraction. The module should only
contain what already exists on master: int64_string, decimal_string,
object, array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Committed-By-Agent: claude

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 4 times, most recently from a8a21d5 to 0b191be Compare August 12, 2026 22:49
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from 0b191be to 0629bf7 Compare August 12, 2026 23:50
@stripe-openapi
stripe-openapi Bot merged commit 2b88020 into private-preview Aug 13, 2026
15 checks passed
@stripe-openapi
stripe-openapi Bot deleted the latest-codegen-private-preview branch August 13, 2026 00:06
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.

2 participants