Skip to content

Update generated code for private-preview - #1920

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

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

Conversation

@stripe-openapi

@stripe-openapi stripe-openapi Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Codegen for openapi v2369 and v2 openapi 85839f80afcaccd622aa30bf53a414cdffbd57bc.

Changelog

  • Add support for new resource Billing::FeedbackOptions
  • Add support for sequra_payments on Account::Capability
  • Add support for feedback_options on BillingPortal::Configuration::Feature::SubscriptionCancel::CancellationReason
  • Add support for sequra on Charge::PaymentMethodDetail, Checkout::Session::PaymentMethodOption, ConfirmationToken::PaymentMethodPreview, PaymentAttemptRecord::PaymentMethodDetail, PaymentIntent::PaymentMethodOption, and PaymentRecord::PaymentMethodDetail
  • Add support for retrieval_reference_number on Charge::PaymentMethodDetail::CardPresent, ConfirmationToken::PaymentMethodPreview::Card::GeneratedFrom::PaymentMethodDetail::CardPresent, PaymentAttemptRecord::PaymentMethodDetail::CardPresent, PaymentMethod::Card::GeneratedFrom::PaymentMethodDetail::CardPresent, and PaymentRecord::PaymentMethodDetail::CardPresent
  • Add support for pricing_group on Charge::PaymentMethodDetail::Link
  • Add support for tax_rates on Checkout::Session::ShippingOption, Checkout::SessionCreateParams::ShippingOption, and Checkout::SessionUpdateParams::ShippingOption
  • Add support for funding_types_blocked on Checkout::Session::PaymentMethodOption::Card::Restriction
  • Add support for healthcare on Issuing::AuthorizationCaptureParams::PurchaseDetail, Issuing::AuthorizationCreateParams, Issuing::TransactionCreateForceCaptureParams::PurchaseDetail, and Issuing::TransactionCreateUnlinkedRefundParams::PurchaseDetail
  • Change type of Issuing::Authorization::Healthcare.verification_status from nullable(enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')) to enum('iias_merchant_exempt'|'iias_merchant_not_certified'|'iias_verified'|'not_verified')
  • Add support for is_anomalous on PaymentAttemptRecordReportGuaranteedParams
  • Add support for aade_data on PaymentIntent::PaymentMethodOption::CardPresent
  • Change Radar::PaymentEvaluation::PaymentDetail::PaymentMethodDetail::Card.first6 to be required
  • Change Radar::PaymentEvaluation::PaymentDetail::PaymentMethodDetail::Card.last4 to be required
  • Add support for feedback_option on Subscription::CancellationDetail
  • Add support for application on V2::Payments::OffSessionPayment
  • Add support for status on V2::MoneyManagement::FinancialAccountStatementListParams
  • Change V2::Billing::ContractCreateParams.pricing_lines to be optional

@stripe-openapi
stripe-openapi Bot requested a review from a team as a code owner July 30, 2026 08:15
@stripe-openapi
stripe-openapi Bot requested review from justiny-stripe and removed request for a team and justiny-stripe July 30, 2026 08:15
@stripe-openapi
stripe-openapi Bot enabled auto-merge July 30, 2026 08:15
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 25 times, most recently from 8eae9b2 to dab982b Compare August 4, 2026 18:19
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch 4 times, most recently from aada167 to ce821d9 Compare August 5, 2026 19:28
zacchua-stripe and others added 2 commits August 5, 2026 12:51
Net::HTTP closes its own socket when a request fails with a StandardError,
but an exception outside that hierarchy unwinds past those rescue clauses --
an asynchronous Thread#raise from a request-timeout mechanism, for example.
The socket is then left open with the response still unread, and because
end_transport never ran, @last_communicated is unset, which makes
begin_transport skip both its keep-alive-timeout and EOF checks. The next
request to reuse that connection reads the abandoned response rather than
its own, so a PaymentIntent create can come back as, say, a Customer.

Close and untrack the connection when execute_request unwinds for any
reason. The connection is captured in a local so cleanup is skipped when a
request failed before one was obtained, such as on argument validation.

Co-authored-by: alextrueman <alexandr1golubenko@gmail.com>
@stripe-openapi
stripe-openapi Bot force-pushed the latest-codegen-private-preview branch from ce821d9 to c9290ee Compare August 5, 2026 21:48
@stripe-openapi
stripe-openapi Bot merged commit ea90b4c into private-preview Aug 5, 2026
15 checks passed
@stripe-openapi
stripe-openapi Bot deleted the latest-codegen-private-preview branch August 5, 2026 21:56
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